:root {
  --ink: #050915;
  --navy: #080e2a;
  --navy-soft: #0d1637;
  --pine: #123b34;
  --wine: #3a1723;
  --gold: #c7a04b;
  --gold-bright: #edd08b;
  --paper: #eee6d3;
  --paper-soft: rgba(238, 230, 211, 0.86);
  --muted: rgba(238, 230, 211, 0.73);
  --quiet: rgba(238, 230, 211, 0.55);
  --line: rgba(199, 160, 75, 0.34);
  --line-soft: rgba(238, 230, 211, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --f-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-latin: Georgia, serif;
  --f-display: "Times New Roman", serif;
  --bg-lag: 0px;
  --star-lag: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  padding-bottom: 3.1rem;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 12%, rgba(199, 160, 75, 0.12), transparent 24rem),
    radial-gradient(circle at 14% 72%, rgba(18, 59, 52, 0.35), transparent 22rem),
    linear-gradient(145deg, var(--ink), var(--navy) 48%, #07131d);
  font-family: var(--f-serif);
  line-height: 1.85;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.64;
  background-image:
    radial-gradient(circle at 54px 44px, rgba(255, 255, 255, 0.92) 0 0.7px, transparent 1.15px),
    radial-gradient(circle at 146px 120px, rgba(237, 208, 139, 0.55) 0 0.85px, transparent 1.25px),
    radial-gradient(circle at 22px 18px, rgba(237, 208, 139, 0.85) 0 1px, transparent 1.45px),
    radial-gradient(circle at 126px 88px, rgba(238, 230, 211, 0.74) 0 1px, transparent 1.4px),
    radial-gradient(circle at 78px 142px, rgba(151, 178, 220, 0.46) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 70% 14%, rgba(237, 208, 139, 0.16), transparent 24rem),
    radial-gradient(circle at 18% 78%, rgba(90, 131, 180, 0.13), transparent 22rem);
  background-position:
    calc(var(--star-lag) * -0.7) calc(var(--star-lag) * 0.4),
    calc(var(--star-lag) * 1.1) calc(var(--star-lag) * -0.6),
    calc(var(--star-lag) * 0.6) calc(var(--star-lag) * 0.8),
    calc(var(--star-lag) * -1) calc(var(--star-lag) * 0.5),
    calc(var(--star-lag) * 0.35) calc(var(--star-lag) * -0.9),
    center,
    center;
  background-size: 120px 120px, 210px 210px, 180px 180px, 260px 260px, 360px 360px, 100% 100%, 100% 100%;
  mix-blend-mode: screen;
  animation: stars-drift 140s linear infinite;
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 2;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-bg::before,
.ambient-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.28;
}

.ambient-bg::before {
  top: 8%;
  left: 10%;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(237, 208, 139, 0.14), transparent 68%);
  transform: translateY(calc(var(--bg-lag) * 0.55));
}

.ambient-bg::after {
  right: 4%;
  bottom: 5%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(73, 115, 172, 0.18), transparent 70%);
  transform: translateY(calc(var(--bg-lag) * -0.35));
}

.ambient-theme {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(920px, 118vw);
  opacity: 0.07;
  filter: drop-shadow(0 0 42px rgba(237, 208, 139, 0.14));
  transform: translate(-50%, calc(-50% + var(--bg-lag)));
}

.intro-lock {
  overflow: hidden;
}

body.intro-active > .ambient-bg,
body.intro-active > header,
body.intro-active > main,
body.intro-active > footer,
body.intro-active > .bottom-board {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.8s ease, transform 1.8s ease;
}

body.intro-active.intro-reveal > .ambient-bg,
body.intro-active.intro-reveal > header,
body.intro-active.intro-reveal > main,
body.intro-active.intro-reveal > footer,
body.intro-active.intro-reveal > .bottom-board {
  opacity: 1;
  transform: none;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  --intro-ring-y: calc(50% - min(3.4rem, 10vw));
  background: #050915;
  color: var(--paper);
  pointer-events: auto;
  animation: intro-shell 12.4s ease forwards;
}

.intro-overlay::before,
.intro-overlay::after {
  content: "";
  position: absolute;
  top: var(--intro-ring-y);
  left: 50%;
  width: min(620px, 94vw);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86) rotate(-18deg);
}

.intro-overlay::before {
  background:
    radial-gradient(circle, transparent 0 30%, rgba(237, 208, 139, 0.24) 30.2% 30.7%, transparent 31% 44%, rgba(237, 208, 139, 0.2) 44.2% 44.7%, transparent 45% 57%, rgba(237, 208, 139, 0.16) 57.2% 57.7%, transparent 58%),
    repeating-conic-gradient(from 0deg, rgba(237, 208, 139, 0.4) 0deg 1deg, transparent 1deg 15deg);
  filter: drop-shadow(0 0 34px rgba(237, 208, 139, 0.12));
  mask-image: radial-gradient(circle, transparent 0 22%, #000 22.5% 59%, transparent 59.5%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 22%, #000 22.5% 59%, transparent 59.5%);
  animation: intro-compass 4.8s 7s ease both;
}

.intro-overlay::after {
  width: min(920px, 130vw);
  background:
    radial-gradient(ellipse at center, rgba(237, 208, 139, 0.16), transparent 42%),
    linear-gradient(90deg, transparent, rgba(237, 208, 139, 0.16), transparent);
  filter: blur(16px);
  animation: intro-horizon 4.9s 6.9s ease both;
}

.intro-content {
  position: relative;
  display: grid;
  width: min(44rem, calc(100% - 2rem));
  min-height: 12rem;
  place-items: center;
  text-align: center;
}

.intro-line,
.intro-theme-logo {
  position: absolute;
  z-index: 1;
  opacity: 0;
  transform: translateY(16px);
}

.intro-line {
  font-size: clamp(1.2rem, 5.4vw, 2.7rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-shadow: 0 0 26px rgba(237, 208, 139, 0.18);
  white-space: nowrap;
}

.intro-line-1 {
  animation: intro-line-left 4.15s 0.35s ease both;
}

.intro-line-2 {
  animation: intro-line-right 4.15s 3.75s ease both;
}

.intro-line .char {
  display: inline-block;
  opacity: 0;
  transform: translateX(calc(var(--intro-dir, 1) * 1.1rem)) translateY(0.3rem);
  filter: blur(10px);
  animation: intro-char 1.15s var(--char-delay, 0s) cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.intro-theme-logo {
  width: min(500px, 86vw);
  max-height: min(74vh, 560px);
  object-fit: contain;
  animation: intro-theme-logo 3.65s 7.6s ease both;
  filter: drop-shadow(0 0 42px rgba(237, 208, 139, 0.22));
}

.intro-finished {
  display: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99995;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1.1rem, 4vw, 3.4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 21, 0.78);
  backdrop-filter: blur(18px);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  text-decoration: none;
}

.nav-logo .nav-icon {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(237, 208, 139, 0.42);
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  background: #07102d;
  filter: drop-shadow(0 0 12px rgba(237, 208, 139, 0.28));
  transform: scale(1.14) translateY(-0.1rem);
}

.nav-logo span {
  color: var(--gold-bright);
  font-size: clamp(1.32rem, 1.9vw, 1.66rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.35vw, 1.12rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links li {
  display: flex;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  padding: 0.35rem 0;
  color: var(--muted);
  font-family: var(--f-display);
  font-size: clamp(0.84rem, 1vw, 0.98rem);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-bright);
  outline: none;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(238, 230, 211, 0.04);
  color: var(--gold-bright);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.22rem auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(-5px) rotate(-45deg);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 68svh;
  padding: 8.6rem clamp(1.25rem, 5vw, 3.4rem) 4rem;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12% 24%, rgba(237, 208, 139, 0.88) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 18%, rgba(238, 230, 211, 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 42% 72%, rgba(164, 190, 232, 0.5) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 66% 58%, rgba(237, 208, 139, 0.46) 0 1px, transparent 1.5px),
    linear-gradient(180deg, rgba(5, 9, 21, 0.1), rgba(5, 9, 21, 0.82)),
    repeating-linear-gradient(90deg, rgba(238, 230, 211, 0.025) 0 1px, transparent 1px 96px);
  background-size: 190px 190px, 280px 280px, 360px 360px, 430px 430px, auto, auto;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to right, transparent, rgba(199, 160, 75, 0.1), transparent) 50% 50% / 100% 1px no-repeat,
    linear-gradient(to bottom, transparent, rgba(199, 160, 75, 0.1), transparent) 50% 50% / 1px 100% no-repeat;
}

.hero-mark {
  position: absolute;
  top: 51%;
  right: clamp(-6rem, -7vw, -1.5rem);
  z-index: -1;
  width: min(640px, 88vw);
  opacity: 0.16;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 42px rgba(237, 208, 139, 0.16));
}

.page-hero-inner,
.container {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.page-hero-inner {
  display: grid;
  align-content: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-bright);
  font-family: var(--f-display);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1 {
  max-width: 42rem;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: 0.05em;
}

.hero-lead {
  max-width: 43rem;
  margin: 1.2rem 0 0;
  color: var(--paper-soft);
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 1.2rem;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  background: rgba(238, 230, 211, 0.035);
  font-family: var(--f-display);
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.button.primary {
  border-color: transparent;
  background: var(--gold);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  border-color: rgba(237, 208, 139, 0.72);
  background: rgba(237, 208, 139, 0.1);
  transform: translateY(-2px);
  outline: none;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--gold-bright);
  color: var(--ink);
}

.info-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 14, 42, 0.72);
}

.strip-inner {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.strip-item {
  min-width: 0;
  padding: 1.45rem 1rem;
  border-right: 1px solid var(--line);
  text-align: center;
}

.strip-item:first-child {
  border-left: 1px solid var(--line);
}

.strip-label {
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.strip-value {
  margin-top: 0.28rem;
  color: var(--paper-soft);
  font-size: 0.94rem;
}

section {
  padding: clamp(4.8rem, 9vw, 7rem) clamp(1.25rem, 5vw, 3.4rem);
}

.section-green {
  background:
    linear-gradient(90deg, rgba(18, 59, 52, 0.42), rgba(8, 14, 42, 0.78)),
    rgba(8, 14, 42, 0.62);
}

.section-wine {
  background:
    radial-gradient(circle at 84% 14%, rgba(58, 23, 35, 0.62), transparent 25rem),
    rgba(7, 12, 30, 0.84);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.section-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-tag::before,
.section-tag::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.44;
}

.section-title {
  margin: 0.85rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  line-height: 1.28;
  letter-spacing: 0.04em;
}

.section-lead {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-card {
  position: relative;
  min-height: 17.5rem;
  padding: 1.8rem;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(238, 230, 211, 0.058), rgba(238, 230, 211, 0.015)),
    var(--navy);
}

.feature-card::before {
  content: attr(data-no);
  position: absolute;
  right: 1.2rem;
  bottom: 0.5rem;
  color: rgba(238, 230, 211, 0.055);
  font-family: var(--f-display);
  font-size: 5rem;
  line-height: 1;
}

.feature-label {
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-card h2 {
  margin: 0.95rem 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.45;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--paper-soft);
  font-size: 0.86rem;
}

.meta-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.meta-list span {
  padding: 0.12rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  font-family: var(--f-latin);
  font-size: 0.76rem;
  font-style: italic;
}

.food-hero-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(19rem, 0.78fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: stretch;
}

.food-hero-copy {
  display: grid;
  align-content: center;
}


.booth-icon {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(237, 208, 139, 0.5);
  border-radius: 50%;
  color: var(--gold-bright);
  background:
    radial-gradient(circle, rgba(237, 208, 139, 0.16), transparent 62%),
    rgba(5, 9, 21, 0.34);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(238, 230, 211, 0.05);
}



.store-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.store-form-card {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    linear-gradient(160deg, rgba(238, 230, 211, 0.055), rgba(238, 230, 211, 0.015)),
    var(--navy);
}

.store-form-card h3,
.store-form-card p {
  margin: 0;
}

.store-form-card p {
  color: var(--paper-soft);
  font-size: 0.88rem;
}

.store-form-placeholder {
  display: grid;
  place-items: center;
  min-height: 12rem;
  border: 1px dashed rgba(237, 208, 139, 0.48);
  color: var(--gold-bright);
  background: rgba(5, 9, 21, 0.38);
  font-family: var(--f-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-align: center;
}

.store-form-card iframe {
  width: 100%;
  min-height: 22rem;
  border: 0;
  background: var(--paper);
}

.banner-list {
  display: flex;
  gap: 1.35rem;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: 0 clamp(1.25rem, 5vw, 3.4rem) 0.8rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: clamp(1.25rem, 5vw, 3.4rem);
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-color: rgba(237, 208, 139, 0.62) rgba(238, 230, 211, 0.09);
  scrollbar-width: thin;
  contain: layout paint;
  will-change: scroll-position;
}

.banner-list::-webkit-scrollbar {
  height: 0.55rem;
}

.banner-list::-webkit-scrollbar-track {
  background: rgba(238, 230, 211, 0.09);
}

.banner-list::-webkit-scrollbar-thumb {
  background: rgba(237, 208, 139, 0.62);
  border-radius: 999px;
}

.promo-banner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.76fr) minmax(0, 1fr);
  flex: 0 0 min(920px, 86vw);
  min-height: 16rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(238, 230, 211, 0.08), rgba(238, 230, 211, 0.02)),
    rgba(8, 14, 42, 0.86);
  box-shadow: var(--shadow);
  contain: layout paint;
  content-visibility: auto;
  contain-intrinsic-size: 920px 16rem;
  transform: translateZ(0);
}

.promo-banner[aria-hidden="true"] {
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.promo-visual {
  position: relative;
  min-height: 13rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 24%, rgba(238, 230, 211, 0.7), transparent 20%),
    linear-gradient(135deg, #123b34, #c7a04b 58%, #3a1723);
}

.promo-banner:nth-child(2n) .promo-visual {
  background:
    radial-gradient(circle at 26% 28%, rgba(238, 230, 211, 0.72), transparent 22%),
    linear-gradient(135deg, #3a1723, #4973ac 52%, #c7a04b);
}

.promo-banner:nth-child(3n) .promo-visual {
  background:
    radial-gradient(circle at 72% 32%, rgba(237, 208, 139, 0.75), transparent 22%),
    linear-gradient(135deg, #07102d, #123b34 48%, #eee6d3);
}



.promo-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 26px 26px;
}

.promo-ribbon {
  position: absolute;
  top: 1rem;
  left: 0;
  z-index: 1;
  padding: 0.34rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.promo-body {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.promo-body h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
}

.promo-body p {
  margin: 0;
  color: var(--paper-soft);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stage-card {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.2rem;
  min-height: 13rem;
  padding: 1.7rem;
  background:
    linear-gradient(160deg, rgba(238, 230, 211, 0.055), rgba(238, 230, 211, 0.015)),
    var(--navy);
}

.icon-slot {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border: 1px dashed rgba(237, 208, 139, 0.55);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: var(--f-display);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-align: center;
}

.stage-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.stage-card p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 0.88rem;
}

.stage-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.venue-schedule {
  min-height: 18rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    linear-gradient(160deg, rgba(238, 230, 211, 0.055), rgba(238, 230, 211, 0.015)),
    var(--navy);
}

.venue-schedule h3 {
  margin: 0 0 1.1rem;
  color: var(--gold-bright);
  font-size: 1.16rem;
}

.stage-slot {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-soft);
}

.stage-slot time {
  color: var(--gold);
  font-family: var(--f-latin);
  font-style: italic;
}

.stage-slot strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--paper);
}

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

.embed-shell {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(238, 230, 211, 0.06), rgba(238, 230, 211, 0.015)),
    rgba(8, 14, 42, 0.78);
  box-shadow: var(--shadow);
}

.pamphlet-viewer {
  display: block;
  width: 100%;
  min-height: min(82vh, 74rem);
  border: 0;
  background: var(--paper);
}

.pdf-open-link {
  margin: 1.15rem 0 0;
  text-align: center;
}

.embed-shell iframe {
  display: block;
  width: 100%;
  min-height: clamp(34rem, 80vw, 56rem);
  border: 0;
  background: var(--paper);
}

.form-placeholder,
.pamphlet-placeholder {
  display: grid;
  place-items: center;
  min-height: clamp(24rem, 58vw, 42rem);
  padding: 2rem;
  text-align: center;
  color: var(--paper-soft);
}

.form-placeholder strong,
.pamphlet-placeholder strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold-bright);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.embed-note {
  width: min(820px, 100%);
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  background: rgba(238, 230, 211, 0.045);
  font-family: var(--f-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  background: rgba(199, 160, 75, 0.13);
  outline: none;
}

.map-embed {
  position: relative;
  min-height: clamp(22rem, 58vw, 34rem);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(8, 14, 42, 0.78);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.86;
  filter: saturate(0.8) contrast(0.94);
}

.route-list {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.route-row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.route-time {
  color: var(--gold-bright);
  font-family: var(--f-latin);
  font-style: italic;
}

.route-row h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.route-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.notice-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 21, 0.42);
}

.notice-inner {
  width: min(900px, 100%);
  margin: 0 auto;
  color: var(--paper-soft);
  text-align: center;
}

.notice-inner strong {
  color: var(--gold-bright);
}

.site-footer {
  padding: 4.2rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  background: #040713;
  text-align: center;
}

.footer-logo {
  width: min(170px, 58vw);
  margin: 0 auto 0.4rem;
  opacity: 0.7;
  filter: drop-shadow(0 0 30px rgba(237, 208, 139, 0.16));
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 0;
  margin: 1.5rem 0 1.2rem;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-family: var(--f-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-bright);
  outline: none;
}

.footer-social {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-social a {
  color: var(--gold-bright);
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer-copy {
  margin: 0;
  color: var(--quiet);
  font-family: var(--f-latin);
  font-size: 0.78rem;
  font-style: italic;
}

.bottom-board {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 760;
  height: 3.1rem;
  border-top: 1px solid rgba(199, 160, 75, 0.46);
  background: rgba(5, 9, 21, 0.88);
  box-shadow: 0 -16px 42px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.bottom-board-window {
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.bottom-board-window::-webkit-scrollbar {
  display: none;
}

.bottom-board-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.bottom-board-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: 0.8rem;
  white-space: nowrap;
}

.bottom-board a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 1rem;
  border: 1px solid rgba(199, 160, 75, 0.34);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(238, 230, 211, 0.05);
  font-size: 0.78rem;
  text-decoration: none;
}

.bottom-board a::before {
  content: "";
  width: 0.34rem;
  height: 0.34rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 14px rgba(237, 208, 139, 0.42);
}

.tutorial-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(5, 9, 21, 0.62);
  backdrop-filter: blur(14px);
}

.tutorial-overlay[hidden] {
  display: none;
}

.tutorial-panel {
  width: min(520px, 100%);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid rgba(237, 208, 139, 0.5);
  background:
    linear-gradient(135deg, rgba(238, 230, 211, 0.08), rgba(238, 230, 211, 0.02)),
    rgba(8, 14, 42, 0.94);
  box-shadow: var(--shadow);
}

.tutorial-kicker {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tutorial-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.35;
}

.tutorial-panel p[data-tutorial-body] {
  margin: 0.85rem 0 0;
  color: var(--paper-soft);
  font-size: 0.95rem;
}

.tutorial-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.tutorial-actions button {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  background: rgba(238, 230, 211, 0.045);
  font-family: var(--f-display);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.tutorial-next {
  border-color: transparent;
  color: var(--ink);
  background: var(--gold);
}

.nishama-tutorial {
  display: contents;
}

.nishama-tutorial[hidden] {
  display: none !important;
}

.nishama-scrim {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(5, 9, 21, 0.45);
  pointer-events: none;
}

/* When tutorial is active, ensure site content remains fully visible (override intro hiding) */
body.nishama-tutorial-active > .ambient-bg,
body.nishama-tutorial-active > header,
body.nishama-tutorial-active > main,
body.nishama-tutorial-active > footer,
body.nishama-tutorial-active > .bottom-board {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

/* Hide the initial intro overlay when tutorial is active to avoid double darkening */
body.nishama-tutorial-active .intro-overlay {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Remove any page-level noise pseudo-element (body::before) while tutorial active */
body.nishama-tutorial-active::before {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Also hide ambient-bg decorative glows while showing normal site during tutorial */
body.nishama-tutorial-active .ambient-bg::before,
body.nishama-tutorial-active .ambient-bg::after {
  opacity: 0 !important;
}

.nishama-character {
  position: fixed;
  left: clamp(0.8rem, 3vw, 2.2rem);
  bottom: 0.4rem;
  z-index: 99998;
  width: min(250px, 38vw);
  animation: nishama-enter-left 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) both, nishama-bob 1.1s 0.85s ease-in-out infinite;
}

.nishama-tutorial.from-right .nishama-character {
  right: clamp(2rem, 8vw, 6rem);
  left: auto;
  animation-name: nishama-enter-right, nishama-bob;
}

.nishama-tutorial.walk-out-left .nishama-character {
  animation: nishama-walk-left 0.65s ease both;
}

.nishama-bubble {
  position: fixed;
  left: min(280px, 42vw);
  bottom: clamp(9rem, 22vw, 14rem);
  z-index: 99999;
  width: min(520px, calc(100vw - 2rem));
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 2px solid rgba(41, 228, 221, 0.72);
  border-radius: 20px;
  color: #06111f;
  background: rgba(246, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  pointer-events: auto;
}

.nishama-tutorial.from-right .nishama-bubble {
  right: min(280px, 42vw);
  left: auto;
}

.nishama-name {
  margin: 0 0 0.35rem;
  color: #087a91;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nishama-message {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 700;
  line-height: 1.85;
}

.nishama-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1rem;
}

.nishama-actions button {
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid #0aa9ba;
  border-radius: 999px;
  color: #087a91;
  background: white;
  font-weight: 700;
  cursor: pointer;
}

.nishama-next {
  color: white;
  background: #0aa9ba;
}

.nishama-skip {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 99999;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 2px solid #0aa9ba;
  color: #0aa9ba;
  font-size: 1.35rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

@media (max-width: 720px) {
  .nishama-skip {
    top: 8px;
    right: 8px;
  }
}

.nishama-skip:hover {
  transform: scale(1.1);
}

.tutorial-highlight {
  position: relative;
  z-index: 99991 !important;
  color: var(--gold-bright) !important;
  background: rgba(237, 208, 139, 0.16) !important;
  box-shadow: 0 0 0 4px rgba(237, 208, 139, 0.28), 0 0 34px rgba(237, 208, 139, 0.62) !important;
  pointer-events: auto;
}

@keyframes tutorial-pulse-gold {
  0% {
    box-shadow: 0 0 0 4px rgba(237, 208, 139, 0.35), 0 0 24px rgba(237, 208, 139, 0.65), inset 0 0 8px rgba(237, 208, 139, 0.25);
    background: rgba(237, 208, 139, 0.16) !important;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(237, 208, 139, 0.6), 0 0 54px rgba(237, 208, 139, 0.98), inset 0 0 16px rgba(237, 208, 139, 0.5);
    background: rgba(237, 208, 139, 0.28) !important;
  }
  100% {
    box-shadow: 0 0 0 4px rgba(237, 208, 139, 0.35), 0 0 24px rgba(237, 208, 139, 0.65), inset 0 0 8px rgba(237, 208, 139, 0.25);
    background: rgba(237, 208, 139, 0.16) !important;
  }
}

.nav-links a.tutorial-highlight {
  border: 1px solid rgba(237, 208, 139, 0.72) !important;
  animation: tutorial-pulse-gold 2s infinite ease-in-out !important;
}

@media (min-width: 992px) {
  .nav-links a.tutorial-highlight {
    padding: 0.35rem 0.85rem !important;
    margin: 0 -0.85rem !important;
    border-radius: 6px !important;
  }
}

.tutorial-highlight::after {
  content: "↓";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: bold;
  color: #29e4dd;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  animation: tutorial-arrow-bounce 1s infinite;
  pointer-events: none;
}

@keyframes tutorial-arrow-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

.site-nav:has(.tutorial-highlight) {
  position: fixed !important;
  z-index: 99997;
}

main:has(.tutorial-highlight) {
  z-index: auto !important;
}

.page-hero:has(.tutorial-highlight) {
  isolation: auto !important;
}

@keyframes nishama-enter-left {
  from {
    opacity: 0;
    transform: translateX(-46vw) translateY(12px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0);
  }
}

@keyframes nishama-enter-right {
  from {
    opacity: 0;
    transform: translateX(46vw) translateY(12px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0);
  }
}

@keyframes nishama-bob {
  0%,
  100% {
    bottom: 0.4rem;
  }
  50% {
    bottom: 0.9rem;
  }
}

@keyframes nishama-walk-left {
  from {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-54vw) translateY(10px) rotate(-3deg);
  }
}

@keyframes stars-drift {
  to {
    background-position:
      calc(120px + var(--star-lag) * -0.7) calc(120px + var(--star-lag) * 0.4),
      calc(-210px + var(--star-lag) * 1.1) calc(210px + var(--star-lag) * -0.6),
      calc(180px + var(--star-lag) * 0.6) calc(180px + var(--star-lag) * 0.8),
      calc(-260px + var(--star-lag) * -1) calc(260px + var(--star-lag) * 0.5),
      calc(360px + var(--star-lag) * 0.35) calc(-360px + var(--star-lag) * -0.9),
      center,
      center;
  }
}

@keyframes bottom-board-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes intro-line-left {
  0% {
    opacity: 0;
    transform: translateX(-64px) scale(0.98);
    filter: blur(12px);
  }
  30%,
  74% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateX(38px) scale(1.02);
    filter: blur(12px);
  }
}

@keyframes intro-line-right {
  0% {
    opacity: 0;
    transform: translateX(64px) scale(0.98);
    filter: blur(12px);
  }
  30%,
  74% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-38px) scale(1.02);
    filter: blur(12px);
  }
}

@keyframes intro-char {
  0% {
    opacity: 0;
    transform: translateX(calc(var(--intro-dir, 1) * 1.1rem)) translateY(0.3rem);
    filter: blur(10px);
  }
  62%,
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
  }
}

@keyframes intro-theme-logo {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.9);
    filter: blur(16px) drop-shadow(0 0 0 rgba(237, 208, 139, 0));
  }
  34%,
  74% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) drop-shadow(0 0 42px rgba(237, 208, 139, 0.22));
  }
  100% {
    opacity: 0;
    transform: translateY(-12px) scale(1.05);
    filter: blur(12px) drop-shadow(0 0 22px rgba(237, 208, 139, 0.18));
  }
}

@keyframes intro-compass {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72) rotate(-28deg);
  }
  32%,
  76% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.14) rotate(14deg);
  }
}

@keyframes intro-horizon {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0.36) scaleY(0.72);
  }
  36%,
  78% {
    opacity: 0.58;
    transform: translate(-50%, -50%) scaleX(1) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(1.22) scaleY(1.08);
  }
}

@keyframes intro-shell {
  0%,
  84% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 900px) {
  .food-hero-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nishama-character,
  .nishama-tutorial.from-right .nishama-character {
    left: 0.75rem;
    right: auto;
    width: min(190px, 44vw);
  }

  .nishama-bubble,
  .nishama-tutorial.from-right .nishama-bubble {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 11rem;
    width: auto;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 0.65rem 1.25rem 1rem;
    background: rgba(5, 9, 21, 0.94);
    border-bottom: 1px solid var(--line);
    transform: translateY(-0.75rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    width: 100%;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1rem;
  }

  .page-hero {
    min-height: 64svh;
    padding-top: 7.6rem;
  }

  .hero-mark {
    right: 50%;
    width: min(540px, 104vw);
    opacity: 0.14;
    transform: translate(50%, -50%);
  }

  .strip-inner {
    grid-template-columns: 1fr;
  }

  .strip-item,
  .strip-item:first-child {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

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

  .google-login-row {
    grid-template-columns: 1fr;
  }

  .campus-map-panel {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: auto;
    padding-bottom: 5.2rem;
  }

  .zone-gate,
  .zone-yard,
  .zone-court,
  .zone-hall,
  .zone-building {
    grid-column: auto;
    grid-row: auto;
  }

  .catalog-grid,
  .store-form-grid {
    grid-template-columns: 1fr;
  }

  .catalog-item {
    grid-template-columns: 1fr;
  }

  .promo-banner,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .promo-banner {
    flex-basis: min(24rem, 86vw);
  }

  .stage-card,
  .stage-schedule-grid,
  .stage-slot {
    grid-template-columns: 1fr;
  }

  .route-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (max-width: 480px) {
  .site-nav {
    padding-inline: 1rem;
  }

  .nav-logo span {
    font-size: 1.24rem;
  }

  .intro-line {
    font-size: 1.18rem;
    letter-spacing: 0.1em;
  }

  .hero-actions {
    width: min(21rem, 100%);
  }

  .button {
    width: 100%;
  }
}



.timeline-section { padding-top: clamp(4rem,7vw,6rem); }

.schedule-controls .compact-tabs { display:flex;width:fit-content;margin-inline:auto;border:1px solid var(--line);background:rgba(5,9,21,.72); }
.schedule-controls .compact-tab { min-height:3.15rem;padding:.65rem clamp(1.15rem,3vw,2.2rem);border:0;border-right:1px solid var(--line);color:var(--paper-soft);background:transparent;font:inherit;cursor:pointer; }
.schedule-controls .compact-tab:last-child { border-right:0; }
.schedule-controls .compact-tab.active { color:var(--navy);background:var(--gold-bright);font-weight:700; }

.schedule-container { max-width: 1180px; }
.schedule-controls { display: grid; gap: .85rem; margin-bottom: 1.5rem; }
.schedule-day-tabs,.schedule-venue-tabs { max-width: 100%; }
.schedule-venue-tabs { width: 100%; }
.schedule-venue-tab { flex: 1; display: grid; gap: .15rem; place-items: center; min-width: 0; padding-inline: .65rem; }
.schedule-venue-tab span { font-size: .88rem; line-height: 1.25; }
.schedule-venue-tab small { color: inherit; font-size: .65rem; font-weight: 400; line-height: 1.25; }
.timeline-panel[hidden] { display: none; }
.timeline-venue-heading { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border:1px solid var(--line);border-bottom:0;background:rgba(237,208,139,.055); }
.timeline-venue-heading > div { display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap; }
.timeline-venue-heading span { color:var(--gold-bright);font-family:var(--f-display);font-size:1.15rem; }
.timeline-venue-heading strong { color:var(--paper-soft);font-size:.8rem; }
.timeline-venue-heading small { color:var(--muted); }
.timeline-chart { --minute-size:3.4px; position:relative;height:calc(var(--total-minutes) * var(--minute-size));min-height:45rem;border:1px solid var(--line);background:rgba(6,11,30,.9);overflow:hidden; }
.timeline-grid,.timeline-events { position:absolute;inset:0; }
.timeline-tick { position:absolute;left:0;right:0;top:calc(var(--offset) * var(--minute-size));height:1px; }
.timeline-tick time { position:absolute;left:.65rem;top:-.6rem;width:3.7rem;color:var(--gold-bright);font-family:var(--f-latin);font-size:.72rem;font-weight:600;letter-spacing:.04em; }
.timeline-tick i { position:absolute;left:4.5rem;right:0;top:0;border-top:1px dotted rgba(237,208,139,.22); }
.timeline-tick i::before { content:"";position:absolute;left:-.2rem;top:-.2rem;width:.38rem;height:.38rem;border-radius:50%;background:rgba(134,176,208,.9); }
.timeline-events { left:5.2rem;right:1rem; }
.timeline-event { position:absolute;left:0;right:0;top:calc(var(--offset) * var(--minute-size));height:calc(var(--length) * var(--minute-size));min-height:0;overflow:hidden;clip-path:polygon(1% 0,99% 0,100% 50%,99% 100%,1% 100%,0 50%); }
.timeline-event > a,.timeline-event > div { display:grid;grid-template-columns:6.2rem minmax(0,1fr);align-items:center;width:100%;height:100%;padding:0 .8rem;color:#071632;text-decoration:none; }
.timeline-event span { font-family:var(--f-latin);font-size:clamp(.55rem,1vw,.68rem);font-weight:600; }
.timeline-event strong { min-width:0;overflow:hidden;font-size:clamp(.62rem,1.25vw,.92rem);line-height:1.1;text-align:center;text-overflow:ellipsis;white-space:nowrap; }
.timeline-event:hover,.timeline-event:focus-within { z-index:4;filter:brightness(1.08);box-shadow:0 0 20px rgba(237,208,139,.25); }
.timeline-event.grade-red,.timeline-color-legend .grade-red { background:#efad9f; }.timeline-event.grade-yellow,.timeline-color-legend .grade-yellow { background:#e8cc86; }.timeline-event.grade-green,.timeline-color-legend .grade-green { background:#bed8b9; }.timeline-event.grade-blue,.timeline-color-legend .grade-blue { background:#b7d8e9; }
.timeline-color-legend { display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem 1.2rem;margin:-.35rem 0 1.35rem;color:var(--paper-soft);font-size:.72rem; }.timeline-color-legend span { display:inline-flex;align-items:center;gap:.42rem; }.timeline-color-legend i { width:1rem;height:1rem;border:1px solid rgba(255,255,255,.34); }
@media (max-width:760px){.schedule-venue-tabs{display:grid;grid-template-columns:repeat(2,1fr)}.schedule-venue-tab{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.timeline-chart{--minute-size:3.15px}.timeline-event>a,.timeline-event>div{grid-template-columns:4.9rem minmax(0,1fr);padding-inline:.45rem}.timeline-events{left:4.5rem;right:.55rem}.timeline-tick i{left:4rem}.timeline-tick time{left:.4rem;width:3.3rem}.timeline-venue-heading{align-items:flex-start}.timeline-venue-heading>div{display:grid;gap:.2rem}}
