:root {
  --ink: #172026;
  --muted: #62707a;
  --paper: #fffdf7;
  --cream: #f7efe2;
  --gold: #d7a947;
  --red: #b83f37;
  --teal: #0f6868;
  --night: #10182a;
  --line: rgba(23, 32, 38, 0.13);
  --shadow: 0 22px 70px rgba(11, 19, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Scroll-to-top button */
.scroll-top {
  position: fixed;
  z-index: 17;
  right: 18px;
  bottom: 84px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 16, 28, 0.85);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(11, 19, 31, 0.28);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(8px);
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold);
  color: var(--night);
}

@media (min-width: 921px) {
  .scroll-top {
    right: 24px;
    bottom: 24px;
  }
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  z-index: 18;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe8a6, var(--gold));
  color: var(--night);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(11, 19, 31, 0.32);
}

.mobile-sticky-cta svg {
  display: block;
}

@media (max-width: 920px) {
  .mobile-sticky-cta {
    display: inline-flex;
  }
  body {
    padding-bottom: 76px;
  }
  .scroll-top {
    bottom: 88px;
  }
}

/* Scroll fade-in (only applied via JS when prefers-reduced-motion is not set) */
.fade-target {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-target {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Print styles - clean output for paper / PDF export */
@media print {
  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
    padding-bottom: 0;
  }
  .site-header,
  .mobile-sticky-cta,
  .scroll-top,
  .hero-scroll-hint,
  .nav-toggle,
  .nav,
  .skip-link,
  .header-cta,
  .program-card-thumb,
  .stats-thumb,
  .past-tile img,
  .footer-social,
  .button,
  .button-text,
  .ticket-more,
  .program-more,
  .past-more,
  .sponsor-more,
  .access-more,
  .faq-more,
  .contact-actions,
  iframe {
    display: none !important;
  }
  .hero {
    min-height: auto;
    padding: 20pt 0;
    background: #fff;
    color: #000;
  }
  .hero h1,
  .hero-lead,
  .event-panel,
  .event-panel-meta {
    color: #000;
  }
  .event-panel {
    position: static;
    border: 1px solid #999;
    background: #fff;
    width: auto;
    margin-top: 12pt;
  }
  .section,
  .notice {
    padding: 12pt 0;
    page-break-inside: avoid;
  }
  .footer {
    background: #fff;
    color: #000;
    padding: 12pt 0;
    border-top: 1px solid #999;
  }
  .footer-grid,
  .footer-base {
    color: #000;
  }
  .footer-grid a,
  .footer-base a {
    color: #000;
    text-decoration: underline;
  }
  a {
    color: #000;
  }
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
  .timeline::before,
  .timeline > li::before {
    background: #999 !important;
    border-color: #999 !important;
  }
}

/* Skip-to-content link for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* Keyboard focus styles (visible only for keyboard users) */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a.button:focus-visible,
.header-cta:focus-visible {
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(180deg, rgba(9, 15, 26, 0.78), rgba(9, 15, 26, 0.18));
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 16, 28, 0.92);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
  z-index: 25;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  z-index: 30;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.brand,
.nav,
.hero-actions,
.support-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 2px, transparent 3px),
    conic-gradient(from 18deg, var(--gold), var(--red), #fff, var(--teal), var(--gold));
  box-shadow: 0 0 24px rgba(215, 169, 71, 0.6);
}

.nav {
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.91rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.88;
  position: relative;
}

.nav a.is-active {
  opacity: 1;
  color: var(--gold);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-nav a.is-active {
  color: var(--gold);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  color: var(--night);
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding: 136px clamp(22px, 6vw, 84px) 7vh;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 13, 25, 0.85) 0%, rgba(8, 13, 25, 0.55) 45%, rgba(8, 13, 25, 0.05) 100%),
    linear-gradient(180deg, rgba(8, 13, 25, 0.02) 58%, rgba(8, 13, 25, 0.88) 100%),
    url("assets/hero-fireworks-real.webp") center / cover;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--paper));
  z-index: -1;
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  animation: scroll-hint 2s ease-in-out infinite;
  z-index: 5;
  transition: opacity 0.4s ease;
  pointer-events: auto;
}

.hero-scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll-hint:hover {
  color: var(--gold);
}

@keyframes scroll-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint {
    animation: none;
  }
}

@media (max-width: 920px) {
  .hero-scroll-hint {
    display: none;
  }
}

.hero-content {
  max-width: 760px;
  animation: hero-fade 0.9s ease-out 0.05s both;
}

.event-panel {
  animation: hero-fade 0.9s ease-out 0.25s both;
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .event-panel {
    animation: none;
  }
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.tag::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Zen Old Mincho", serif;
  line-height: 1.18;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 900;
}

h1 {
  line-break: strict;
  word-break: keep-all;
}

h1 span,
h2 span,
.hero-lead span {
  display: inline-block;
  line-break: strict;
  word-break: keep-all;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button.primary {
  color: #141414;
  background: linear-gradient(135deg, #ffe8a6, var(--gold));
  box-shadow: 0 12px 35px rgba(215, 169, 71, 0.32);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.11);
}

.event-panel {
  position: absolute;
  right: clamp(22px, 5vw, 70px);
  bottom: 7vh;
  width: min(330px, calc(100vw - 44px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(10, 18, 31, 0.58);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.event-panel p,
.event-panel span {
  color: rgba(255, 255, 255, 0.74);
}

.event-panel strong {
  display: block;
  margin: 4px 0 8px;
  color: #fff;
  font-size: 1.55rem;
}

.event-panel-time {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.96rem;
}

.event-panel-meta {
  display: block;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.notice,
.section {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.notice {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
  margin-top: 38px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notice h2 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.notice p {
  margin-bottom: 0;
  color: var(--muted);
}

.notice-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.notice-actions .button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  min-height: 40px;
}

.notice-actions .button.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.button-text {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(15, 104, 104, 0.35);
}

.button-text:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}

.section {
  padding: clamp(58px, 9vw, 104px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.support-band h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4.8vw, 4.3rem);
}

.section-heading p,
.support-band p {
  color: var(--muted);
  font-size: 1.03rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 70px);
}

.intro-grid p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.stats article,
.ticket-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(28, 35, 42, 0.07);
}

.stats article {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.stats-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.stats-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stats-body {
  padding: 22px 24px 26px;
  flex: 1;
}

.stats span {
  color: var(--red);
  font-weight: 900;
}

.stats h3,
.ticket-card h3,
.info-card h3 {
  margin: 12px 0 10px;
  font-size: 1.28rem;
}

.stats p,
.ticket-card p,
.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.ticket-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ticket-card {
  min-height: 190px;
  padding: 24px;
}

.ticket-card::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 3px, transparent 4px),
    conic-gradient(var(--red), var(--gold), var(--teal), var(--red));
}

.ticket-card.accent {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), #173a51);
}

.ticket-card.accent p {
  color: rgba(255, 255, 255, 0.82);
}

.ticket-status-note {
  margin: 14px 0 0;
  padding: 12px 16px;
  background: rgba(184, 63, 55, 0.08);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.6;
}

.ticket-status-note strong {
  color: var(--red);
}

.ticket-price {
  margin: 6px 0 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.ticket-price strong {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--red);
  margin: 0 2px;
}

.ticket-price span {
  color: var(--muted);
  font-size: 0.84rem;
}

.ticket-card.accent .ticket-price {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
}

.ticket-card.accent .ticket-price strong {
  color: #ffe8a6;
}

.ticket-card.accent .ticket-price span {
  color: rgba(255, 255, 255, 0.7);
}

.support-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: clamp(58px, 8vw, 88px) max(22px, calc((100vw - 1120px) / 2));
  color: #fff;
  background: linear-gradient(135deg, rgba(16, 24, 42, 0.96), rgba(18, 104, 104, 0.9));
  overflow: hidden;
}

.support-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 16px 16px;
  pointer-events: none;
  opacity: 0.5;
}

.support-band > * {
  position: relative;
}

.support-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
}

.support-actions {
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.info-grid > .info-card {
  flex: 1 1 280px;
  max-width: 360px;
}

.info-grid > .cms-status {
  flex: 1 1 100%;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  min-height: 214px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(28, 35, 42, 0.12);
}

.info-card.has-thumb {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.info-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.info-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.info-card:hover .info-card-thumb img {
  transform: scale(1.04);
}

.info-card-body {
  padding: 22px 24px 24px;
}

.info-card time {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 900;
}

.info-card a {
  text-decoration: underline;
  text-decoration-color: rgba(15, 104, 104, 0.35);
  text-underline-offset: 4px;
}

.cms-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.cms-status-error {
  color: #8c2f28;
  border-color: rgba(184, 63, 55, 0.24);
  background: #fff8f4;
}

/* Status banner shown at top of sub-page bodies (e.g. 販売終了 / 応募締切) */
.page-status-banner {
  margin: 0 0 28px;
  padding: 18px 22px;
  border-left: 4px solid var(--red);
  border-radius: 6px;
  background: linear-gradient(135deg, #fff7f4 0%, #fff8ed 100%);
  box-shadow: 0 2px 12px rgba(184, 63, 55, 0.06);
}

.page-status-banner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 800;
}

.page-status-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-status-banner a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-status-banner a:hover {
  color: var(--gold);
}

/* Skeleton loaders for microCMS news list */
.info-card.is-skeleton {
  pointer-events: none;
}

.info-card.is-skeleton .info-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.skeleton {
  display: block;
  background: linear-gradient(
    90deg,
    rgba(28, 35, 42, 0.06) 0%,
    rgba(28, 35, 42, 0.12) 50%,
    rgba(28, 35, 42, 0.06) 100%
  );
  background-size: 200% 100%;
  border-radius: 4px;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-line {
  height: 12px;
  width: 100%;
}

.skeleton-line-short {
  width: 32%;
  height: 10px;
}

.skeleton-line-title {
  height: 18px;
  width: 78%;
  margin-bottom: 4px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
}

.access-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: stretch;
}

.map-panel {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 12px 38px rgba(28, 35, 42, 0.08);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.access-list {
  margin: 0;
  padding: 0;
}

.access-list div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.access-list dt {
  color: var(--red);
  font-weight: 900;
}

.access-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.access-more {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  text-align: right;
}

.faq-more,
.ticket-more,
.program-more,
.sponsor-more,
.past-more {
  margin: 22px 0 0;
  text-align: right;
}

/* ===== Schedule timeline ===== */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(215, 169, 71, 0.2));
}

.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 14px 0;
  align-items: flex-start;
}

.timeline > li::before {
  content: "";
  position: absolute;
  left: 64px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px var(--paper);
}

.timeline > li.is-highlight::before {
  background: var(--gold);
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px rgba(184, 63, 55, 0.18);
}

.timeline time {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 900;
  color: var(--ink);
  text-align: right;
  padding-top: 6px;
}

.timeline > li.is-highlight time {
  color: var(--red);
}

.timeline h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 800;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 620px) {
  .timeline::before {
    left: 50px;
  }
  .timeline > li {
    grid-template-columns: 80px 1fr;
    gap: 14px;
  }
  .timeline > li::before {
    left: 44px;
    width: 12px;
    height: 12px;
  }
  .timeline time {
    font-size: 1.2rem;
  }
}

/* ===== Sub-pages ===== */
.page-main {
  padding-top: 72px;
}

.page-hero {
  position: relative;
  padding: clamp(80px, 11vw, 140px) clamp(22px, 5vw, 70px) clamp(40px, 6vw, 80px);
  background:
    radial-gradient(circle at 12% 18%, rgba(215, 169, 71, 0.18), transparent 55%),
    radial-gradient(circle at 88% 22%, rgba(184, 63, 55, 0.12), transparent 50%),
    linear-gradient(180deg, #0f1828, #0f3939 70%, var(--cream));
  color: #fff;
  animation: hero-fade 0.7s ease-out both;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 12px 12px;
  pointer-events: none;
  opacity: 0.6;
}

.page-hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.page-hero .page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero .page-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: #fff;
}

.page-hero .tag {
  margin-bottom: 12px;
}

.page-body {
  padding: clamp(48px, 7vw, 96px) 0;
}

.prose {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
  font-size: 1.02rem;
  line-height: 1.85;
}

.prose > * + * {
  margin-top: 1.2em;
}

.prose h2 {
  margin-top: 1.6em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid var(--gold);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: clamp(1.2rem, 2.4vw, 1.4rem);
}

.prose h4 {
  margin-top: 1.6em;
  font-size: 1.1rem;
}

.prose p {
  margin: 0;
}

.prose a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose a:hover {
  color: var(--red);
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose ul li,
.prose ol li {
  margin-bottom: 0.4em;
}

/* When a list item starts with <strong>title</strong><br>desc, surface the title */
.prose ol > li > strong:first-child,
.prose ul > li > strong:first-child {
  display: inline-block;
  color: var(--ink);
  font-size: 1.02em;
}

.prose ol > li,
.prose ul > li {
  line-height: 1.75;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.prose figure {
  margin: 2em 0;
  text-align: center;
}

.prose figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--ink);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3em 0;
}

/* Tables - wrap in scroll container on narrow screens */
.prose .wp-block-table {
  overflow-x: auto;
  margin: 1.6em 0;
  -webkit-overflow-scrolling: touch;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.95rem;
}

.prose .wp-block-table table {
  margin: 0;
  min-width: 100%;
}

.prose table th,
.prose table td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.prose table th {
  background: var(--cream);
  font-weight: 700;
}

.prose table tbody tr:nth-child(odd) {
  background: rgba(247, 239, 226, 0.4);
}

.prose .has-text-align-center {
  text-align: center;
}

.prose .has-text-align-right {
  text-align: right;
}

.prose .wp-block-button,
.prose .swell-block-button {
  margin: 1.4em 0;
  text-align: center;
}

.prose .wp-block-button__link,
.prose .swell-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe8a6, var(--gold));
  color: var(--night) !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(215, 169, 71, 0.32);
}

.prose .swell-block-button.green_ .swell-block-button__link {
  background: linear-gradient(135deg, var(--teal), #0f3939);
  color: #fff !important;
}

.prose .wp-block-file {
  margin: 1.4em 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.prose .wp-block-file__button {
  display: inline-block;
  margin-left: 12px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
}

.prose .swell-block-fullWide {
  margin: 2.6em 0;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 40px);
  border-radius: 12px;
  background: var(--cream);
  box-shadow: 0 6px 28px rgba(28, 35, 42, 0.06);
}

.prose .swell-block-fullWide__inner {
  width: 100%;
  margin: 0;
}

.prose .alignfull,
.prose .aligncenter {
  margin-inline: auto;
}

.prose iframe {
  max-width: 100%;
}

/* Section title block */
.prose .is-style-section_ttl {
  position: relative;
  margin-top: 0;
  margin-bottom: 1.2em;
  padding-bottom: 0.6em;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  border-bottom: none;
}

.prose .is-style-section_ttl::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 999px;
}

/* Columns layout */
.prose .wp-block-columns,
.prose .swell-block-columns,
.prose .swell-block-columns__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 28px);
  margin: 1.6em 0;
  align-items: flex-start;
}

.prose .wp-block-column,
.prose .swell-block-column {
  flex: 1 1 240px;
  min-width: 0;
}

/* Gallery */
.prose .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 1.6em 0;
}

.prose .wp-block-gallery figure,
.prose .wp-block-gallery .wp-block-image {
  margin: 0;
}

.prose .wp-block-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

/* Spacer */
.prose .wp-block-spacer {
  height: 32px;
}

/* Margin utilities */
.prose .u-mb-0  { margin-bottom: 0 !important; }
.prose .u-mb-5  { margin-bottom: 0.4em !important; }
.prose .u-mb-10 { margin-bottom: 0.8em !important; }
.prose .u-mb-30 { margin-bottom: 1.6em !important; }

/* Font size utilities */
.prose .u-fz-xs { font-size: 0.78rem; }
.prose .u-fz-s  { font-size: 0.9rem; }
.prose .u-fz-l  { font-size: 1.15rem; }
.prose .u-fz-xl { font-size: 1.35rem; }
.prose .u-thin  { font-weight: 400; }

/* SWELL color helpers */
.prose .has-swl-pale-02-background-color {
  background-color: #fff7e9;
  padding: 14px 18px;
  border-radius: 8px;
}

.prose .has-swl-pale-04-background-color {
  background-color: #ecf6f4;
  padding: 14px 18px;
  border-radius: 8px;
}

.prose .has-swl-deep-01-color {
  color: var(--red);
}

/* YouTube / embeds */
.prose .wp-block-embed-youtube,
.prose .wp-block-embed.is-provider-youtube,
.prose .wp-has-aspect-ratio {
  margin: 1.8em 0;
}

.prose .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.prose .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
}

/* FAQ */
.prose .swell-block-faq {
  display: grid;
  gap: 14px;
  margin: 1em 0;
  padding: 0;
}

.prose .swell-block-faq__item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(28, 35, 42, 0.04);
}

.prose .faq_q {
  position: relative;
  margin: 0;
  padding: 18px 22px 18px 64px;
  background: var(--cream);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
}

.prose .faq_q::before {
  content: "Q";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-size: 0.95rem;
}

.prose .faq_q strong {
  font-weight: inherit;
}

.prose .faq_a {
  position: relative;
  margin: 0;
  padding: 18px 22px 18px 64px;
  color: var(--ink);
}

.prose .faq_a::before {
  content: "A";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-size: 0.95rem;
}

.prose .faq_a > p:first-child {
  margin-top: 0;
}

.prose .faq_a > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 620px) {
  .prose .faq_q,
  .prose .faq_a {
    padding-left: 56px;
  }
  .prose .faq_q::before,
  .prose .faq_a::before {
    left: 14px;
    width: 28px;
    height: 28px;
    font-size: 0.88rem;
  }
}

/* Banner link */
.prose .swell-block-bannerLink {
  display: block;
  margin: 1.6em 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(28, 35, 42, 0.1);
}

.prose .swell-block-bannerLink img {
  display: block;
  width: 100%;
}

/* Image variants */
.prose .is-style-image__border img {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px;
  background: #fff;
}

.prose .has-nested-images img {
  width: 100%;
}

/* Emanon premium blocks - keep readable */
.prose .wp-block-emanon-premium-blocks-background {
  margin: 1.6em 0;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 10px;
  background: var(--cream);
}

.prose .wp-block-emanon-premium-blocks-advanced-headling {
  margin: 1.6em 0;
  text-align: center;
}

.prose .epb-advanced-headling__inner {
  display: inline-block;
  position: relative;
  padding: 0 12px;
}

.prose .epb-advanced-headling__inner.is-style-epb-headling-lines-on::before,
.prose .epb-advanced-headling__inner.is-style-epb-headling-lines-on::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(40px, 8vw, 100px);
  height: 2px;
  background: var(--gold);
}

.prose .epb-advanced-headling__inner.is-style-epb-headling-lines-on::before {
  right: 100%;
  margin-right: 14px;
}

.prose .epb-advanced-headling__inner.is-style-epb-headling-lines-on::after {
  left: 100%;
  margin-left: 14px;
}

.prose .epb-advanced-headling__text {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 900;
  border-bottom: none;
  padding: 0;
  font-family: "Zen Old Mincho", serif;
}

.prose .wp-block-emanon-premium-blocks-buttons,
.prose .wp-block-emanon-premium-blocks-button-template {
  margin: 1.4em 0;
  text-align: center;
}

.prose .epb-microcopy-top {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.prose .epb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #ffe8a6, var(--gold));
  color: var(--night) !important;
  box-shadow: 0 8px 24px rgba(215, 169, 71, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prose .epb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(215, 169, 71, 0.4);
}

.prose .epb-btn__outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--ink) !important;
  box-shadow: none;
}

.prose .epb-btn__outline:hover {
  background: rgba(215, 169, 71, 0.1);
  box-shadow: none;
}

.prose .epb-btn-size__lg {
  display: inline-block;
}

.prose .epb-btn-text {
  display: inline-block;
}

/* Button variants */
.prose .swell-block-button.is-style-btn_line .swell-block-button__link {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--ink) !important;
  box-shadow: none;
}

.prose .swell-block-button.is-style-btn_shiny .swell-block-button__link {
  background: linear-gradient(135deg, var(--red), #e07059);
  color: #fff !important;
}

.prose .swell-block-button.-size-l .swell-block-button__link {
  min-height: 56px;
  padding: 14px 36px;
  font-size: 1.04rem;
}

.prose .swell-block-button.blue_ .swell-block-button__link {
  background: linear-gradient(135deg, #2196f3, #1565c0);
  color: #fff !important;
}

.prose .swell-block-button.red_ .swell-block-button__link {
  background: linear-gradient(135deg, var(--red), #d96452);
  color: #fff !important;
}

.prose .swell-block-button.blue_.is-style-btn_line .swell-block-button__link {
  background: transparent;
  border: 2px solid #1565c0;
  color: #1565c0 !important;
}

.prose .swell-block-button.red_.is-style-btn_line .swell-block-button__link {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red) !important;
}

/* Tables: side-style — first column is a label, second is the value */
.prose .wp-block-table.is-style-table__side table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.prose .wp-block-table.is-style-table__side td {
  white-space: normal;
  vertical-align: top;
}

.prose .wp-block-table.is-style-table__side td:first-child {
  width: 28%;
  background: var(--cream);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.prose .wp-block-table.is-style-table__side tbody tr:nth-child(odd) {
  background: transparent;
}

@media (max-width: 620px) {
  .prose .wp-block-table.is-style-table__side td:first-child {
    width: 35%;
  }
}

/* SWELL-theme inline marker (yellow highlight) */
.prose .swl-marker {
  background: linear-gradient(transparent 60%, rgba(215, 169, 71, 0.45) 60%);
  padding: 0 0.1em;
}

.prose .swl-marker.mark_yellow {
  background: linear-gradient(transparent 60%, rgba(255, 232, 166, 0.85) 60%);
}

.prose .swl-marker.mark_red {
  background: linear-gradient(transparent 60%, rgba(184, 63, 55, 0.32) 60%);
}

/* SWELL bordered paragraph */
.prose .has-border.-border01 {
  border: 1px solid var(--line);
  padding: 18px 22px;
  border-radius: 8px;
  background: #fff;
}

/* Make sponsor logos in sub-page columns sized consistently */
.prose .wp-block-columns .wp-block-image img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

/* SWELL post list (used on media coverage page) */
.prose .p-postList {
  list-style: none;
  margin: 1.6em 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 920px) {
  .prose .p-postList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .prose .p-postList {
    grid-template-columns: 1fr;
  }
}

.prose .p-postList__item {
  margin: 0;
  padding: 0;
}

.prose .p-postList__link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(28, 35, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prose .p-postList__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(28, 35, 42, 0.12);
}

.prose .p-postList__thumb,
.prose .c-postThumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.prose .c-postThumb__figure {
  margin: 0;
  width: 100%;
  height: 100%;
}

.prose .c-postThumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.prose .p-postList__link:hover .c-postThumb__img {
  transform: scale(1.04);
}

.prose .c-postThumb__cat {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 16, 28, 0.85);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.prose .p-postList__body {
  padding: 16px 18px 18px;
}

.prose .p-postList__title {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
  border-bottom: none;
  padding-bottom: 0;
}

.prose .p-postList__meta,
.prose .c-postTimes {
  font-size: 0.85rem;
  color: var(--muted);
}

.prose .c-postTimes__posted {
  font-weight: 700;
}

/* TBA placeholder (was 'Coming Soon' from stale WP authoring) */
.prose .placeholder-tba {
  color: var(--muted);
  font-style: italic;
  font-size: 0.92rem;
}

/* Borders */
.prose .has-border {
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 8px;
}

/* Contact (Google Forms embed) */
.prose .contact-embed {
  margin: 2em -10px;
}

.prose .contact-embed iframe {
  display: block;
  width: 100%;
  height: 1500px;
  border: 0;
  background: transparent;
}

@media (max-width: 620px) {
  .prose .contact-embed {
    margin-inline: 0;
  }
  .prose .contact-embed iframe {
    height: 1700px;
  }
}

.prose .contact-alt {
  margin-top: 3em;
  padding: 22px 26px;
  background: var(--cream);
  border-radius: 8px;
}

.prose .contact-alt h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  border-bottom: none;
  padding-bottom: 0;
}

.prose .contact-alt ul {
  margin: 0;
  padding-left: 1.4em;
}

.prose .contact-alt li {
  margin-bottom: 6px;
}

/* ===== Program ===== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(28, 35, 42, 0.07);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(28, 35, 42, 0.12);
}

.program-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.program-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.program-card:hover .program-card-thumb img {
  transform: scale(1.05);
}

.program-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-card.feature {
  grid-column: span 2;
}

.program-card.feature .program-card-thumb {
  aspect-ratio: 16 / 7;
}

.program-card.feature .program-card-body {
  background:
    radial-gradient(circle at 85% 0%, rgba(215, 169, 71, 0.4), transparent 55%),
    linear-gradient(135deg, #14233a, #0f3939);
  color: #fff;
}

.program-card.feature p {
  color: rgba(255, 255, 255, 0.84);
}

.program-card.feature .program-num {
  background: rgba(255, 255, 255, 0.14);
  color: #ffe8a6;
}

.program-num {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(215, 169, 71, 0.15);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-card.feature .program-num {
  background: rgba(255, 255, 255, 0.14);
  color: #ffe8a6;
}

.program-card h3 {
  margin: 14px 0 10px;
  font-size: 1.28rem;
}

.program-card p {
  margin: 0;
  color: var(--muted);
}

/* ===== Past events ===== */
.past-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.past-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #1c2638;
  box-shadow: 0 12px 38px rgba(28, 35, 42, 0.12);
  cursor: zoom-in;
}

/* Lightbox dialog (used by ui.js for past-gallery enlarged view) */
dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  color: #fff;
  outline: none;
}

dialog.lightbox::backdrop {
  background: rgba(8, 13, 25, 0.86);
  backdrop-filter: blur(6px);
}

dialog.lightbox figure {
  margin: 0;
  position: relative;
  text-align: center;
}

dialog.lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

dialog.lightbox figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

dialog.lightbox .lightbox-close {
  position: absolute;
  top: -52px;
  right: -8px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

dialog.lightbox .lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 620px) {
  dialog.lightbox .lightbox-close {
    top: -48px;
    right: 0;
  }
}

.past-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.past-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 25, 0) 45%, rgba(8, 13, 25, 0.78) 100%);
  pointer-events: none;
}

.past-tile:hover img {
  transform: scale(1.05);
}

.past-tile figcaption {
  position: absolute;
  inset: auto 16px 16px;
  z-index: 1;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(28, 35, 42, 0.05);
}

.faq-item summary {
  position: relative;
  padding-right: 36px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--red);
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* ===== Sponsors ===== */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sponsor-tile {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(28, 35, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.sponsor-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(28, 35, 42, 0.1);
}

.sponsor-tile img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-tile:hover img {
  transform: scale(1.04);
}

.sponsor-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ===== Contact ===== */
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(215, 169, 71, 0.45), transparent 55%),
    linear-gradient(135deg, #10182a, #173a51 70%, #0f6868);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 16px 16px;
  pointer-events: none;
  opacity: 0.5;
}

.contact-card > * {
  position: relative;
}

.contact-card h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-actions .button {
  width: 100%;
  padding: 16px 22px;
  min-height: 56px;
}

/* ===== Footer ===== */
.footer {
  padding: 50px clamp(22px, 5vw, 70px) 28px;
  color: #fff;
  background: var(--night);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer p,
.footer small {
  margin: 0;
}

.footer-title {
  font-family: "Zen Old Mincho", serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.footer-lead {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.footer-social a {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
}

.footer-label {
  color: var(--gold);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-label.spacer {
  margin-top: 18px;
}

.footer-org p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-sub {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.85rem !important;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px clamp(14px, 2vw, 32px);
}

.footer-nav-group {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-nav-group .footer-label {
  margin-bottom: 4px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
}

.footer small {
  color: rgba(255, 255, 255, 0.62);
}

.footer-policy {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 920px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 66px 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px clamp(20px, 5vw, 32px) 32px;
    background: rgba(10, 16, 28, 0.97);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 25;
  }

  .nav a {
    padding: 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    opacity: 1;
  }

  .site-header:has(.nav-toggle[aria-expanded="true"]) .nav {
    transform: translateX(0);
  }

  .hero {
    min-height: 94vh;
    padding-top: 112px;
  }

  .event-panel {
    position: static;
    margin-top: 38px;
  }

  .notice,
  .intro-grid,
  .stats,
  .split,
  .support-band,
  .info-grid,
  .access-grid,
  .program-grid,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .program-card.feature {
    grid-column: auto;
  }

  .past-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sponsor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .support-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span:last-child {
    max-width: 9em;
    white-space: normal;
    line-height: 1.15;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 96vh;
    padding-inline: 20px;
    background-position: 58% center;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .ticket-list {
    grid-template-columns: 1fr;
  }

  .notice,
  .section {
    width: min(100% - 32px, 1120px);
  }

  .stats article,
  .ticket-card,
  .info-card {
    min-height: auto;
  }

  .map-panel {
    min-height: 300px;
  }

  .past-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
