.site-header {
  position: relative;
  z-index: 10;
  gap: 16px;
  height: auto;
  min-height: 85px;
  padding-block: 16px;
  background: #fff8e8;
  color: #352219;
  border-color: #e5ca9b;
}

.site-header .brand span { color: #a03518; }

.site-menu {
  position: static;
  padding: 0;
  border: 0;
}

.site-menu summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 17px;
  font-size: 1rem;
  border: 1px solid #e5ca9b;
  border-radius: 5px;
  list-style: none;
  white-space: nowrap;
}

.site-menu summary::-webkit-details-marker { display: none; }

.site-header .site-menu nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 6%;
  left: auto;
  width: min(18rem, 88vw);
  max-height: calc(100dvh - 95px);
  overflow-y: auto;
  padding: 8px;
  gap: 0;
  background: #fff8e8;
  border: 1px solid #e5ca9b;
  border-radius: 5px;
  box-shadow: 0 10px 24px #35221926;
}

.site-header .site-menu[open] nav {
  display: grid;
}

.site-menu nav a {
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 15px;
}

.site-menu nav a:hover,
.site-menu nav a[aria-current="page"] {
  background: #ffedc3;
  color: #a03518;
}

.site-footer {
  justify-content: center;
  padding: 22px 6%;
  background: #fff8e8;
  border-color: #e5ca9b;
  text-align: center;
}

footer .footer-tagline {
  color: #352219;
  font-size: 1rem;
}

.groups-page .site-footer {
  background: #000;
  border-color: #504131;
}

.groups-page .site-footer p {
  color: #fff8e8;
}

.page-ticket-cta {
  padding: clamp(24px, 5vw, 50px) 6%;
  text-align: center;
  background: #fff8e8;
}

.page-contact {
  display: grid;
  gap: 4px;
  max-width: 480px;
  margin: clamp(34px, 5vw, 44px) auto 0;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid #cda46d;
  color: #352219;
}

.groups-page .page-contact {
  border-color: #504131;
  color: #fff8e8;
}

.page-contact h2 {
  margin: 0;
  font-size: 1.75rem;
  text-transform: none;
}

.page-contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: clamp(10px, 3vw, 22px);
}

.page-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.page-contact-links svg {
  width: 1em;
  height: 1em;
  flex: none;
}

.page-ticket-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 480px);
  min-height: 78px;
  padding: 20px 28px;
  border: 3px solid #ffef91;
  border-radius: 10px;
  background: #ffcf00;
  color: #281400;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 28px #ff9d0066, 0 7px 0 #a64400;
}

.page-ticket-button:hover,
.page-ticket-button:focus-visible {
  background: #ffe962;
  color: #281400;
  outline: 3px solid #a64400;
  outline-offset: 5px;
}

@media (prefers-reduced-motion: no-preference) {
  .page-ticket-button {
    animation: ticket-button-flash 1.8s ease-in-out infinite;
  }
  @keyframes ticket-button-flash {
    0%, 100% {
      background: #ffcf00;
      box-shadow: 0 0 20px #ff9d0066, 0 7px 0 #a64400;
      transform: scale(1);
    }
    50% {
      background: #fff18a;
      box-shadow: 0 0 42px #ff9d00bb, 0 7px 0 #a64400;
      transform: scale(1.04);
    }
  }
}

.ticket-main,
.page-ticket-button { gap: 12px; }

.ticket-arrow {
  display: inline-block;
  font-size: 1.3em;
  line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .ticket-arrow { animation: ticket-arrow-nudge 1.6s ease-in-out infinite; }

  @keyframes ticket-arrow-nudge {
    0%, 55%, 100% { transform: translateX(0); }
    25% { transform: translateX(5px); }
  }
}


.site-header .brand small {
  display: block;
  max-width: 32ch;
  white-space: normal;
  font-size: clamp(.75rem, 1.5vw, .9rem);
  line-height: 1.35;
}

.homepage-page-links {
  position: static;
  inset: auto;
  z-index: auto;
  width: 100%;
  border: 0;
  background: var(--day-paper, #fff8e8);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 4vw, 60px);
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 64px) 6%;
}

.homepage-page-links h2 {
  text-align: center;
  margin: 0;
  border-bottom: 1px solid #cda46d;
  padding: 16px 0;
  font-size: clamp(1.65rem, 3.5vw, 3.1rem);
  line-height: 1.15;
}

.homepage-page-links a {
  display: block;
  color: #753015;
}

.homepage-page-links a:hover,
.homepage-page-links a:focus-visible {
  color: #b24712;
  text-decoration: underline;
  text-underline-offset: .15em;
}

@media (max-width: 600px) {
  .homepage-page-links { grid-template-columns: 1fr; }
}

.ticket-event-backdrop {
  margin-inline: -6vw;
  padding: clamp(18px, 5vw, 64px) 6vw;
  background: linear-gradient(#fff8e825, #fff8e855),
    #ead6b0 url('/assets/hero-sunset-photo.jpg') center / cover no-repeat;
}

.ticket-event-panel {
  max-width: 650px;
  margin-inline: auto;
  padding: clamp(14px, 4vw, 34px);
  border: 1px solid #e5ca9b;
  border-radius: 24px;
  background: #fff8e8f2;
  color: #352219;
}

.ticket-event-panel .big-logo {
  display: block;
  width: min(100%, 480px);
  height: auto;
  margin: 0 auto 20px;
}

.ticket-event-panel .festival-date {
  margin-bottom: 8px;
  color: inherit;
  font: 700 clamp(1.55rem, 4vw, 2.4rem)/1.15 'Barlow Condensed', sans-serif;
}

.ticket-event-panel .festival-time {
  margin-bottom: 0;
  color: inherit;
  font-size: clamp(.78rem, 2.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0;
}

.ticket-event-panel .countdown {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(3px, 1vw, 10px);
  max-width: 440px;
  margin: 24px auto;
}

.ticket-event-panel .countdown > div { min-width: 0; }

.ticket-event-panel .countdown strong,
.ticket-event-panel .countdown b {
  display: block;
  font: 700 clamp(1.65rem, 6vw, 3.25rem)/1.1 'Barlow Condensed', sans-serif;
  font-variant-numeric: tabular-nums;
}

.ticket-event-panel .countdown b,
.ticket-event-panel .festival-time span { color: #a03518; }

.ticket-event-panel .countdown span {
  display: block;
  margin-top: 6px;
  color: inherit;
  font-size: clamp(.58rem, 2vw, .8rem);
  letter-spacing: 0;
}

.ticket-event-panel .page-ticket-button {
  padding-inline: clamp(10px, 4vw, 28px);
  font-size: clamp(1.15rem, 4vw, 2.1rem);
}

.ticket-event-panel .hero-small {
  display: grid;
  gap: 7px;
  margin: 26px 0 14px;
  color: inherit;
  font-size: clamp(.9rem, 2.6vw, 1.1rem);
  letter-spacing: 0;
}

.hero-small .hero-schedule-time {
  font-size: 1.1em;
  font-weight: 800;
}

.ticket-event-panel .hero-admission {
  display: table;
  margin: 0 auto 16px;
  padding: 9px 16px;
  border: 1px solid #cca14b;
  border-radius: 999px;
  background: #ffdf91;
  color: #352219;
}

.ticket-event-panel .hero-calendar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: #a03518;
  font-weight: 700;
  text-decoration: underline;
}

.ticket-event-panel .hero-calendar svg { width: 19px; height: 19px; }

.ticket-event-panel .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
