:root {
  color-scheme: dark;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #fff0d8;
  background: #101019;
  --display: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --gold: #eac27a;
  --line: #9b6b35;
  --muted: #e0cbae;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.75; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid #fff1ac; outline-offset: 5px; }
img { display: block; max-width: 100%; }
p { margin-block: 0 1em; }
.wrap { width: min(1160px, 100% - 3rem); margin-inline: auto; }

.masthead {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  background: linear-gradient(#080813e8, #08081312);
}

.masthead-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e9b75d54;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font: 700 1.22rem/1 var(--display);
  text-decoration: none;
  white-space: nowrap;
}

.brand-seal {
  display: grid;
  place-items: center;
  width: 37px;
  aspect-ratio: 1;
  border: 1px solid #deb16a;
  box-shadow: inset 0 0 0 3px #5a211e;
  color: #ffdb99;
  background: #742c24;
}

.brand small { margin-left: .3rem; color: var(--gold); font: .61rem Georgia, serif; letter-spacing: .13em; }
nav { display: flex; gap: clamp(.35rem, 2vw, 1.8rem); }
nav a { padding: .5rem .35rem; text-decoration: none; color: #ffebcd; font-size: .89rem; font-weight: 700; }
nav a:hover { color: #fff9eb; text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(690px, 57vw, 875px);
  display: grid;
  align-items: center;
  padding-block: 109px 55px;
  overflow: hidden;
  background: #161725;
  text-align: center;
}

.hero-art, .hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.hero-art { object-fit: cover; object-position: 50% 50%; }
.hero::after {
  content: "";
  background:
    radial-gradient(ellipse 61% 49% at 50% 48%, #090a15d0, #090a1558 62%, transparent),
    linear-gradient(180deg, #070a1550, transparent 26%, transparent 66%, #0f0a16e8);
}
.hero-content { padding-block: 1.5rem; }
.hero-kicker, .eyebrow { color: #f4cf89; font-weight: 700; }
.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 0;
  font-size: clamp(.75rem, 1.4vw, 1rem);
  letter-spacing: .24em;
  text-shadow: 0 2px 6px #000;
}
.hero-kicker span {
  width: clamp(1.15rem, 5vw, 4.5rem);
  height: 1px;
  background: #eac27a;
  box-shadow: 0 0 13px #f4b975;
}

h1, h2, .lead { font-family: var(--display); }
h1 {
  display: inline-flex;
  align-items: baseline;
  gap: .05em;
  margin: .02em 0 0;
  font-size: clamp(3.55rem, 11.6vw, 11rem);
  line-height: 1.17;
  letter-spacing: -.085em;
  white-space: nowrap;
  color: #ffe4a6;
  text-shadow: 0 2px #6a3a24, 0 5px 24px #070912, 0 0 50px #08080d;
}
h1 > span {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.075em;
  font-size: 1.04em;
  font-variant-numeric: lining-nums;
}
.title-digit { margin-inline-start: .055em; }
.lead {
  margin: .32rem 0 1.55rem;
  color: #fff2d9;
  font-size: clamp(1.05rem, 2.35vw, 2rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-shadow: 0 2px 13px #05040b;
}

.dates {
  display: inline-flex;
  gap: 0;
  justify-content: center;
  padding: .4rem 0;
  border-block: 1px solid #f2c677a0;
  background: #110e19d1;
}
.dates time {
  padding: .1rem clamp(.62rem, 2vw, 1.75rem);
  color: #ffe0a0;
  font: 700 clamp(1.35rem, 3.1vw, 2.35rem)/1.22 Georgia, var(--display);
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.dates time + time { border-left: 1px solid #e3a75f70; }
.dates time span { margin-left: .25em; font: 700 .48em var(--display); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.schedule-note { width: fit-content; margin: .65rem auto 0; padding: .15rem .55rem; background: #110e19d1; color: #fff0d8; font-size: .85rem; }
.hero-actions { justify-content: center; margin-top: 1.25rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 48px;
  padding: .65rem 1.25rem;
  border: 1px solid #d09c54;
  background: #1d1421ed;
  color: #fff2d9;
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
}
.button.primary { background: #ecc178; color: #211322; border-color: #ffd89a; box-shadow: inset 0 0 0 3px #70502444; }
.button:hover { border-color: #ffecb6; background: #3b2129; }
.button.primary:hover { background: #ffdda0; }

.festival-ribbon { background: #581f23; border-block: 3px double #e7b36d; }
.ribbon-inner { display: flex; justify-content: center; align-items: center; min-height: 59px; text-align: center; }
.ribbon-inner span {
  padding: .35rem clamp(.65rem, 4vw, 3.9rem);
  color: #ffdb9d;
  font: 700 clamp(.72rem, 1.7vw, 1.1rem)/1.35 var(--display);
  letter-spacing: .09em;
}
.ribbon-inner span + span { border-left: 1px solid #e9ad678f; }

.stage {
  background: #100f19 url("./20261110_festival-stage.webp") center top / max(100%, 1150px) auto no-repeat;
  position: relative;
  isolation: isolate;
}
.stage::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, #100f1930 0, transparent 26rem, #100f1970 58rem, #100f19 95rem);
}
.showcase { padding-block: clamp(3.5rem, 7.5vw, 7rem) clamp(2.65rem, 6vw, 5.5rem); }
.section-heading { text-align: center; }
.eyebrow { margin: 0 0 .55rem; font: 700 .79rem/1.5 Georgia, "Yu Gothic", sans-serif; letter-spacing: .22em; }
h2 { margin: 0 0 .6rem; color: #ffe3ac; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.24; }
.section-heading h2 span { color: #ffd285; font-family: Georgia, serif; font-size: 1.16em; }
.section-heading > p:last-child { margin-bottom: 1.6rem; color: var(--muted); font-size: .98rem; }

.poster-frame {
  width: min(100%, 660px);
  margin: 0 auto;
  padding: clamp(.4rem, 1.5vw, .85rem);
  border: 3px double #e7b76d;
  box-shadow: 0 1rem 3rem #0008, 0 0 4rem #d1a15f22;
  background: #26151a;
}
.poster-link { display: block; }
.poster { width: 100%; height: auto; }
figcaption { text-align: center; color: #ffe2aa; font-size: .88rem; }
figcaption a { display: inline-block; min-height: 44px; padding: .55rem .75rem .1rem; }

.cast { padding-block: clamp(2.6rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 7rem); border-top: 1px solid #ab794d; }
.roster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  padding: 0;
  margin: 2.1rem 0 0;
  list-style: none;
}
.roster li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 6rem;
  padding: .8rem 1rem .4rem;
  border: 1px solid #795238;
  border-top-color: #dba55e;
  background: linear-gradient(135deg, #39202b, #201823 65%);
}
.roster strong { font-family: var(--display); color: #fff0d4; font-size: 1.15rem; line-height: 1.3; overflow-wrap: anywhere; }
.roster a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: #f3cc83; font-size: .87rem; }
.roster a:hover, .text-link:hover { color: #fff0bd; }

.game-section { border-block: 3px double #9b6b35; background: #20151b; }
.game {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.65rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.8rem, 7vw, 6rem);
}
.game-art { width: 100%; height: auto; padding: .45rem; border: 1px solid #b17a47; background: #100e15; }
.game h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
.game-copy > p:not(.eyebrow) { color: var(--muted); }
.text-link { color: var(--gold); font-size: .91rem; padding: .65rem .2rem; }
footer { background: #100f19; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.55rem; font-size: .9rem; color: #f1d4a5; }

@media (max-width: 770px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead-inner { min-height: 65px; }
  .hero { min-height: 650px; padding-block: 88px 46px; }
  .hero-art { object-position: 85% center; }
  .hero::after {
    background: radial-gradient(ellipse 100% 44% at 50% 43%, #0a0a15d9, transparent),
      linear-gradient(180deg, #070a1550, transparent 27%, transparent 60%, #100b16d9);
  }
  .ribbon-inner { width: calc(100% - .8rem); min-height: 53px; }
  .stage { background-size: 100% auto; }
  .stage::after { background: linear-gradient(180deg, #100f1920, transparent 5rem, #100f19 65vw); }
  .game { grid-template-columns: 1fr; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
}
@media (max-width: 420px) {
  .brand small { display: none; }
  nav a { font-size: .78rem; }
  .hero { min-height: 590px; }
  .hero-actions { gap: .55rem; }
  .button { padding-inline: .78rem; font-size: .82rem; }
  .ribbon-inner span { padding-inline: .42rem; letter-spacing: .04em; }
  .roster li { padding-inline: .65rem; }
}
