:root {
  --ink: #17352d;
  --cream: #fff9eb;
  --paper: #fffdf6;
  --orange: #e85d2a;
  --gold: #f4bd42;
  --leaf: #2f6954;
  --line: #dfd3bb;
  --guide-width: 1400px;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--ink);
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font:
    17px/1.55 system-ui,
    sans-serif;
}
a {
  color: inherit;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: white;
  padding: 0.7rem;
  z-index: 20;
}
.event-header {
  color: white;
  background:
    linear-gradient(120deg, rgba(23, 53, 45, 0.98), rgba(47, 105, 84, 0.92)),
    radial-gradient(circle at 80% 10%, var(--gold), transparent 34%);
}
.event-identity {
  width: min(calc(100% - 2rem), var(--guide-width));
  margin: auto;
  padding: 2.4rem 0 1.5rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 850;
  color: var(--orange);
  margin: 0 0 0.35rem;
}
.event-header .eyebrow {
  color: var(--gold);
}
.event-identity-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
.event-identity-copy {
  min-width: 0;
}
.event-identity h1 {
  font:
    800 clamp(2.5rem, 5.4vw, 4.65rem)/0.95 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0.05em 0;
  white-space: nowrap;
}
.event-identity h1 span {
  white-space: nowrap;
}
.event-identity-copy > p:not(.eyebrow):not([hidden]) {
  max-width: 760px;
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
}
.event-logo {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}
.primary-nav {
  border-top: 1px solid #ffffff2e;
  width: min(calc(100% - 2rem), var(--guide-width));
  margin: auto;
  padding: 0;
  display: flex;
  overflow-x: auto;
}
.primary-nav a {
  padding: 0.85rem 1rem;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 4px solid transparent;
}
.primary-nav a[aria-current='page'] {
  color: var(--gold);
  border-color: var(--orange);
}
main {
  min-height: 55vh;
}
.panel {
  width: min(calc(100% - 2rem), var(--guide-width));
  margin: auto;
  padding: 2.5rem 0 4rem;
}
.panel[hidden] {
  display: none;
}
.page-heading {
  max-width: 780px;
  margin-bottom: 1.8rem;
}
.page-heading h2 {
  font:
    800 clamp(2.1rem, 5vw, 3.7rem)/1 Georgia,
    serif;
  margin: 0.15em 0;
}
.button {
  display: inline-block;
  background: var(--orange);
  color: white;
  border-radius: 99px;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  font-weight: 850;
}
.cards,
.detail-grid,
.home-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.cards {
  margin: 1rem 0 2.5rem;
}
.cards a,
.info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
  text-decoration: none;
  box-shadow: 0 10px 28px #17352d0d;
}
.cards b,
.cards span {
  display: block;
}
.cards b {
  font-size: 1.2rem;
}
.cards span,
.muted {
  color: #52645e;
}
.home-info {
  grid-template-columns: 1.4fr 1fr;
}
.notice {
  padding: 0.9rem 1rem;
  background: #f5ecd9;
  border-radius: 9px;
  margin: 1rem 0;
}
.notice:empty {
  display: none;
}
.notice-list article {
  border-left: 4px solid var(--orange);
  padding: 0.2rem 1rem;
  margin: 1rem 0;
}
.day-control {
  margin: 0 0 1.5rem;
}
.day-control h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.day-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.35rem 0;
}
.day-tabs button {
  border: 2px solid var(--leaf);
  background: white;
  color: var(--ink);
  border-radius: 99px;
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.day-tabs button[aria-pressed='true'] {
  background: var(--leaf);
  color: white;
}
.day-tabs button:focus-visible,
.primary-nav a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.schedule-list {
  display: grid;
  gap: 1rem;
}
.schedule-entries {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.event {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  background: white;
  border-left: 5px solid var(--orange);
  padding: 1.2rem;
  border-radius: 9px;
}
.event h3 {
  font-size: 1.25rem;
  margin: 0;
}
.event p {
  margin: 0.25rem 0;
}
.event-link {
  display: inline-block;
  margin: 0.6rem 0.8rem 0 0;
  color: var(--leaf);
  font-weight: 800;
}
.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-card h3 {
  margin: 0.15rem 0;
}
.info-card p {
  overflow-wrap: anywhere;
}
.about-introduction {
  max-width: 850px;
}
.home-about {
  margin-top: 4rem;
}
.about-introduction p {
  font-size: 1.08rem;
}
.about-support {
  margin-top: 3rem;
}
.about-support-heading h2 {
  font: 800 clamp(1.9rem, 4vw, 2.8rem)/1 Georgia, serif;
  margin: 0.15em 0 1.5rem;
}
.recognition-group {
  margin: 2.25rem 0;
}
.recognition-group > h3 {
  font: 800 1.7rem Georgia, serif;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.35rem;
}
.recognition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.recognition-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.2rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 28px #17352d0d;
}
.recognition-card img {
  width: auto;
  max-width: 100%;
  height: 70px;
  object-fit: contain;
}
.recognition-card strong {
  font-size: 1.1rem;
}
.recognition-card p {
  margin: 0;
  color: #52645e;
}
a.recognition-card:hover {
  border-top-color: var(--leaf);
}
a.recognition-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.locator-map {
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0 0;
  overflow: clip;
  background: #fffdf6;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px #17352d12;
}
.locator-map img {
  display: block;
  width: 100%;
  height: auto;
}
.flyer-frame {
  display: block;
  width: 100%;
  height: 78vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
footer {
  background: var(--ink);
  color: white;
  padding: 2rem max(1rem, calc((100% - var(--guide-width)) / 2));
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 1200px) {
  .event-identity h1 {
    white-space: normal;
  }
  .event-identity h1 span {
    display: block;
  }
}
@media (max-width: 760px) {
  .event-identity {
    padding-top: 1.4rem;
  }
  .event-identity-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .event-identity h1 {
    font-size: clamp(2rem, 10.5vw, 3.2rem);
  }
  .event-logo {
    width: min(70%, 280px);
    max-height: 170px;
    justify-self: center;
  }
  .primary-nav {
    padding: 0 0.5rem;
  }
  .panel {
    padding-top: 1.8rem;
  }
  .cards,
  .detail-grid,
  .home-info,
  .recognition-list {
    grid-template-columns: 1fr;
  }
  .event {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  footer {
    display: block;
  }
  .flyer-frame {
    height: 70vh;
  }
}
@media print {
  .event-header,
  .primary-nav,
  footer,
  [data-day-control],
  .page-heading .button {
    display: none;
  }
  .panel {
    padding: 0;
  }
  .panel[hidden] {
    display: none;
  }
  .event {
    break-inside: avoid;
  }
  .flyer-frame {
    height: 10.5in;
    border: 0;
  }
}
.guide-cards a {
  position: relative;
  border-top: 7px solid var(--orange);
}
.guide-cards .guide-paint {
  border-top-color: var(--gold);
  background: #fffaf0;
}
.guide-cards .guide-sales {
  border-top-color: var(--leaf);
}
.guide-cards strong {
  display: block;
  margin-top: 1rem;
  color: var(--leaf);
}
.festival-notice {
  border-left: 6px solid #5792aa;
  background: #fff;
  padding: 0.7rem 1rem;
  margin: 0.7rem 0;
}
.festival-notice h4,
.festival-notice p {
  margin: 0.2rem 0;
}
.notice-warning {
  border-color: #d98c00;
  background: #fff6d9;
}
.notice-cancellation,
.notice-emergency {
  border-color: #b52222;
  background: #fff0ee;
}
.notice-emergency {
  box-shadow: inset 0 0 0 2px #b52222;
}
.directory-group {
  margin: 1.8rem 0;
}
.directory-group > h3 {
  font:
    800 1.7rem Georgia,
    serif;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.35rem;
}
.directory-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0.25rem;
}
.directory-item h4,
.directory-item p {
  margin: 0.12rem 0;
}
.directory-time {
  font-weight: 850;
  color: var(--leaf);
}
footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
footer p {
  margin: 0;
}
@media (max-width: 760px) {
  .directory-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
@media print {
  .locator-map {
    border-color: #888;
    box-shadow: none;
    break-inside: avoid;
  }
}
