:root {
  --color-cream: #f8f2e6;
  --color-paper: #fffdf7;
  --color-green-900: #0f3327;
  --color-green-800: #174532;
  --color-green-700: #275c43;
  --color-gold: #d3b36a;
  --color-gold-soft: #f4ead3;
  --color-red: #ee161f;
  --color-red-text: #d3121b;
  --color-ink: #14211b;
  --color-muted: #56635b;
  --color-line: #ddd0bd;
  --shadow-soft: 0 18px 45px rgba(15, 51, 39, 0.14);
  --shadow-card: 0 10px 28px rgba(20, 33, 27, 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --wrapper: 1120px;
  --wrapper-narrow: 780px;
  --header-height: 4.5rem;
  --space-section: 4rem;
  --scroll-progress: 0;
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--color-ink);
  background:
    linear-gradient(135deg, rgba(238, 22, 31, 0.045) 0 25%, transparent 25% 50%, rgba(15, 51, 39, 0.055) 50% 75%, transparent 75% 100%),
    var(--color-cream);
  background-size: 34px 34px, auto;
  font-family: var(--font-system);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: rgba(238, 22, 31, 0.55);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-paper);
}

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

h1,
h2,
h3 {
  color: var(--color-green-900);
  line-height: 1.12;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 12vw, 6.7rem);
  letter-spacing: 0;
}

.hero-title__name,
.hero-title__year {
  display: block;
}

.hero-title__name {
  min-height: 1.12em;
}

.hero-title__name.is-typing::after {
  display: inline-block;
  width: 0.08em;
  height: 0.78em;
  margin-left: 0.08em;
  background: currentColor;
  content: "";
  transform: translateY(0.08em);
  animation: cursor-blink 620ms steps(1, end) infinite;
}

.hero-title__year {
  font-variant-numeric: tabular-nums;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.hero-title__year.is-counting {
  color: var(--color-gold-soft);
  text-shadow: 0 0 1.1rem rgba(244, 234, 211, 0.26);
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 8vw, 3.4rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

p {
  color: var(--color-muted);
}

dl,
dd,
ul {
  margin: 0;
}

ul {
  padding-left: 1.2rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--color-paper);
  background: var(--color-green-900);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
}

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

.page-decor__svg {
  position: absolute;
  display: block;
  height: auto;
  overflow: visible;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transform-origin: center;
  will-change: transform;
}

.page-decor__svg--left {
  left: max(-11rem, -10vw);
  top: 6rem;
  width: min(56vw, 44rem);
}

.page-decor__svg--right {
  right: max(-10rem, -8vw);
  top: 42rem;
  width: min(34vw, 26rem);
}

.page-decor__svg--lower {
  left: 16vw;
  bottom: 4rem;
  width: min(44vw, 34rem);
}

.page-decor__facet {
  fill: var(--color-red);
  mix-blend-mode: multiply;
}

.page-decor__facet--soft {
  opacity: 0.095;
}

.page-decor__facet--mid {
  opacity: 0.145;
}

.page-decor__facet--strong {
  opacity: 0.2;
}

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

.wrapper {
  width: min(100% - 2rem, var(--wrapper));
  margin-inline: auto;
}

.wrapper--narrow {
  width: min(100% - 2rem, var(--wrapper-narrow));
}

.section-padding {
  padding-block: var(--space-section);
}

.section-band {
  position: relative;
  overflow: hidden;
}

.section-panel {
  background: rgba(255, 252, 243, 0.82);
  border-block: 1px solid rgba(222, 209, 178, 0.75);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 242, 230, 0.94);
  border-bottom: 1px solid rgba(221, 208, 189, 0.9);
  backdrop-filter: blur(14px);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(238, 22, 31, 0.82), var(--color-red));
  box-shadow: 0 0 12px rgba(238, 22, 31, 0.35);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  transition: transform 90ms linear;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding-block: 0.7rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.7rem;
  color: var(--color-green-900);
  font-weight: 800;
  text-decoration: none;
}

.site-logo__image {
  width: 3.4rem;
  height: 3rem;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(15, 51, 39, 0.16));
}

.site-logo__text {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  color: var(--color-green-900);
  background: var(--color-paper);
  border: 1px solid rgba(15, 51, 39, 0.18);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 18px rgba(15, 51, 39, 0.08);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.15rem;
  height: 0.12rem;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition:
    top 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -0.38rem;
}

.nav-toggle__icon::after {
  top: 0.38rem;
}

.nav-toggle[aria-expanded="true"] {
  color: var(--color-paper);
  background: var(--color-green-900);
  border-color: rgba(238, 22, 31, 0.35);
  box-shadow: 0 12px 28px rgba(15, 51, 39, 0.18);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before,
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  transform: rotate(-45deg);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.35rem 0.7rem;
  color: var(--color-green-900);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: rgba(238, 22, 31, 0.1);
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(2.5rem, 6vh, 4.5rem);
  padding-block: clamp(2.5rem, 6svh, 4.5rem);
  color: var(--color-paper);
  background:
    linear-gradient(115deg, rgba(15, 51, 39, 0.98), rgba(23, 69, 50, 0.94) 58%, rgba(238, 22, 31, 0.82)),
    var(--color-green-900);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background:
    linear-gradient(45deg, transparent 45%, rgba(255, 253, 247, 0.24) 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, rgba(238, 22, 31, 0.18) 45% 55%, transparent 55%);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 84%);
}

.hero__content {
  display: grid;
  gap: 1.6rem;
  position: relative;
  z-index: 1;
}

.hero__brand-mark {
  width: clamp(8rem, 36vw, 14rem);
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.22));
}

.js-enabled.js-ready .hero__brand-mark,
.js-enabled.js-ready .hero-title,
.js-enabled.js-ready .hero__subtitle,
.js-enabled.js-ready .hero-countdown,
.js-enabled.js-ready .event-facts,
.js-enabled.js-ready .hero .button--primary {
  opacity: 0;
  transform: translateY(0.85rem);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.js-enabled.js-ready .hero-title {
  transform: translateY(0.25rem);
}

.js-enabled.js-ready .hero__brand-mark.is-visible,
.js-enabled.js-ready .hero-title.is-visible,
.js-enabled.js-ready .hero__subtitle.is-visible,
.js-enabled.js-ready .hero-countdown.is-visible,
.js-enabled.js-ready .event-facts.is-visible,
.js-enabled.js-ready .hero .button--primary.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled.js-ready .hero-title__year {
  opacity: 0;
  transition:
    opacity 180ms ease,
    color 180ms ease,
    text-shadow 180ms ease;
}

.js-enabled.js-ready .hero-title__year.is-visible {
  opacity: 1;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--color-paper);
}

.hero__subtitle {
  max-width: 42rem;
  margin-bottom: 1.15rem;
  color: rgba(255, 252, 243, 0.88);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 650;
}

.hero-countdown {
  max-width: 46rem;
  margin-bottom: 1.45rem;
  padding: 0.9rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.14), rgba(255, 253, 247, 0.055)),
    rgba(15, 51, 39, 0.38);
  border: 1px solid rgba(255, 252, 243, 0.24);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 247, 0.14),
    0 18px 36px rgba(0, 0, 0, 0.16);
}

.hero-countdown__intro {
  display: flex;
  gap: 0.75rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.hero-countdown h2 {
  margin-bottom: 0;
  color: var(--color-gold-soft);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-countdown p {
  margin-bottom: 0;
  color: rgba(255, 252, 243, 0.78);
  font-size: 0.9rem;
  font-weight: 650;
  text-align: right;
}

.countdown-grid {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.js-enabled.js-ready .countdown-grid {
  display: grid;
}

.countdown-unit {
  min-width: 0;
  padding: 0.72rem 0.5rem;
  overflow: hidden;
  text-align: center;
  background: rgba(255, 252, 243, 0.11);
  border: 1px solid rgba(255, 252, 243, 0.18);
  border-radius: var(--radius-sm);
}

.hero-countdown.is-visible .countdown-unit {
  animation: countdown-unit-pop 520ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero-countdown.is-visible .countdown-unit:nth-child(2) {
  animation-delay: 70ms;
}

.hero-countdown.is-visible .countdown-unit:nth-child(3) {
  animation-delay: 140ms;
}

.hero-countdown.is-visible .countdown-unit:nth-child(4) {
  animation-delay: 210ms;
}

.countdown-unit__value {
  display: block;
  color: var(--color-paper);
  font-size: 2.35rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 0.55rem 1.1rem rgba(0, 0, 0, 0.2);
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
}

.countdown-unit__value.is-updating {
  color: var(--color-gold-soft);
  text-shadow: 0 0 1.1rem rgba(244, 234, 211, 0.34);
  transform: translateY(-0.04rem);
}

.countdown-unit__label {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 252, 243, 0.76);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-countdown.is-ended .countdown-unit__value {
  color: var(--color-gold-soft);
}

@keyframes countdown-unit-pop {
  from {
    opacity: 0;
    transform: translateY(0.55rem) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.event-facts {
  display: grid;
  gap: 0.85rem;
  max-width: 44rem;
  margin-bottom: 2rem;
}

.event-facts__item {
  padding: 1rem;
  background: rgba(255, 252, 243, 0.1);
  border: 1px solid rgba(255, 252, 243, 0.28);
  border-radius: var(--radius-md);
}

.event-facts dt {
  color: var(--color-gold-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-facts dd {
  color: var(--color-paper);
  font-size: 1.12rem;
  font-weight: 750;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  color: var(--color-green-900);
  background: var(--color-paper);
  border-color: rgba(238, 22, 31, 0.7);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.button--primary:hover {
  background: var(--color-gold-soft);
  border-color: var(--color-red);
}

.intro {
  background: rgba(255, 253, 247, 0.9);
}

.intro-logo {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.intro-logo img {
  width: min(100%, 34rem);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(20, 33, 27, 0.12));
}

.eyebrow {
  margin-bottom: 0.6rem;
  color: var(--color-red-text);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  color: var(--color-ink);
  font-size: clamp(1.12rem, 4vw, 1.45rem);
}

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

.section-heading p:last-child {
  margin-bottom: 0;
}

.program-grid,
.highlight-grid,
.organizer-grid {
  display: grid;
  gap: 1rem;
}

.program-card,
.highlight-card,
.info-card,
.club-card,
.notice-box,
.welcome-box,
.legal-block {
  background: var(--color-paper);
  border: 1px solid rgba(222, 209, 178, 0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.program-card,
.highlight-card,
.info-card,
.club-card,
.notice-box,
.welcome-box,
.details-list {
  translate: 0 0;
  transition:
    translate 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .program-card:hover,
  .highlight-card:hover,
  .info-card:hover,
  .club-card:hover,
  .notice-box:hover,
  .welcome-box:hover,
  .details-list:hover {
    translate: 0 -0.18rem;
    border-color: rgba(238, 22, 31, 0.28);
    box-shadow: 0 16px 34px rgba(20, 33, 27, 0.14);
  }
}

.program-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
}

.program-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.35rem;
  content: "";
  background: linear-gradient(90deg, var(--color-green-700) 0%, var(--color-green-800) 58%, var(--color-red) 100%);
}

.program-card__date {
  margin-bottom: 0.85rem;
  color: var(--color-red-text);
  font-size: 0.95rem;
  font-weight: 850;
}

.program-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.program-list li {
  padding: 0.75rem;
  color: var(--color-muted);
  background: rgba(248, 242, 230, 0.8);
  border: 1px dashed rgba(93, 103, 95, 0.38);
  border-radius: var(--radius-sm);
}

.program-list span {
  color: var(--color-green-900);
  font-weight: 800;
}

.notice-box {
  margin-top: 1rem;
  padding: 1.25rem;
  border-left: 0.4rem solid var(--color-gold);
}

.notice-box p {
  margin-bottom: 0;
}

.highlight-card,
.info-card {
  padding: 1.25rem;
}

.info-card--with-logo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(6rem, 10rem);
  gap: 1rem;
  align-items: center;
  overflow: hidden;
}

.info-card__logo {
  width: 100%;
  height: auto;
  opacity: 0.72;
  filter: contrast(1.08);
}

.info-card__logo--brewery {
  justify-self: center;
  width: min(8.25rem, 100%);
  opacity: 0.86;
  filter: drop-shadow(0 0.75rem 1.2rem rgba(20, 33, 27, 0.16));
}

.info-card__logo--municipality {
  justify-self: center;
  width: min(7.5rem, 100%);
  opacity: 0.82;
  filter: drop-shadow(0 0.75rem 1.2rem rgba(20, 33, 27, 0.12));
}

.organizer-subheading {
  margin-top: 0.25rem;
}

.organizer-subheading h3 {
  margin-bottom: 0;
}

.club-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 9rem;
  padding: 1.1rem;
}

.club-card__media {
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  place-items: center;
  padding: 0.45rem;
  background: rgba(248, 242, 230, 0.78);
  border: 1px solid rgba(15, 51, 39, 0.12);
  border-radius: var(--radius-md);
}

.club-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.78;
}

.club-card h3 {
  margin-bottom: 0.3rem;
  font-size: 1.08rem;
}

.club-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.highlight-card {
  display: grid;
  align-content: start;
  min-height: 13rem;
}

.highlight-card__icon {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--color-paper);
  background: var(--color-green-900);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 850;
}

.highlight-card p,
.info-card p {
  margin-bottom: 0;
}

.details-layout {
  display: grid;
  gap: 1rem;
}

.details-list {
  display: grid;
  overflow: hidden;
  background: var(--color-paper);
  border: 1px solid rgba(222, 209, 178, 0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.details-list div {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(222, 209, 178, 0.75);
}

.details-list div:last-child {
  border-bottom: 0;
}

.details-list dt,
.legal-list dt {
  color: var(--color-green-900);
  font-weight: 850;
}

.details-list dd,
.legal-list dd {
  color: var(--color-muted);
}

.welcome-box {
  padding: 1.35rem;
  color: var(--color-paper);
  background: var(--color-green-900);
  border-color: rgba(18, 60, 47, 0.2);
}

.welcome-box h3,
.welcome-box p {
  color: var(--color-paper);
}

.welcome-box p {
  margin-bottom: 0;
}

.sponsors {
  position: relative;
  overflow: hidden;
}

.sponsors::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 51, 39, 0.035) 25%, transparent 25% 75%, rgba(238, 22, 31, 0.035) 75%),
    linear-gradient(45deg, transparent 46%, rgba(211, 179, 106, 0.08) 46% 54%, transparent 54%);
  background-size: 4.5rem 4.5rem, 5.5rem 5.5rem;
  content: "";
  pointer-events: none;
}

.sponsors .wrapper {
  position: relative;
  z-index: 1;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.sponsor-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.85rem;
  min-width: 0;
  min-height: 11rem;
  place-items: center;
  padding: 1.15rem;
  overflow: hidden;
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid rgba(15, 51, 39, 0.13);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(20, 33, 27, 0.08);
  transition:
    opacity 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    scale 240ms cubic-bezier(0.2, 0.7, 0.2, 1),
    translate 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sponsor-card::before,
.sponsor-card::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--color-green-700) 0%, var(--color-green-800) 58%, var(--color-red) 100%);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.sponsor-card::before {
  top: 0;
}

.sponsor-card::after {
  bottom: 0;
}

.sponsor-card img {
  width: auto;
  max-width: min(100%, 8.5rem);
  max-height: 8.5rem;
  object-fit: contain;
  opacity: 0.62;
  filter: grayscale(1) contrast(0.82);
  transform: scale(0.94);
  transition:
    opacity 240ms ease,
    filter 240ms ease,
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sponsor-card__name {
  width: 100%;
  color: var(--color-green-900);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.sponsor-card__monogram {
  display: grid;
  width: 100%;
  max-width: 8.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--color-paper);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.12), transparent),
    var(--color-green-900);
  border: 0.35rem solid var(--color-gold-soft);
  border-radius: 50%;
  box-shadow: 0 0.75rem 1.6rem rgba(20, 33, 27, 0.14);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0.68;
  transform: scale(0.94);
  transition:
    opacity 240ms ease,
    background-color 240ms ease,
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sponsor-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 1rem) / 2);
}

@media (hover: hover) and (pointer: fine) {
  .sponsor-grid:hover .sponsor-card:not(:hover) {
    opacity: 0.58;
    scale: 0.975;
  }

  .sponsor-card:hover {
    z-index: 1;
    border-color: rgba(238, 22, 31, 0.34);
    box-shadow: 0 20px 44px rgba(20, 33, 27, 0.16);
    scale: 1.015;
    translate: 0 -0.35rem;
  }

  .sponsor-card:hover::before,
  .sponsor-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .sponsor-card:hover img {
    opacity: 1;
    filter: grayscale(0) contrast(1);
    transform: scale(1.04);
  }

  .sponsor-card:hover .sponsor-card__monogram {
    opacity: 1;
    background-color: var(--color-green-800);
    transform: scale(1.02);
  }
}

.section-legal {
  background: rgba(255, 252, 243, 0.72);
}

.legal-block {
  padding: 1.25rem;
}

.legal-block h3 {
  margin-top: 1.4rem;
}

.legal-block h3:first-child {
  margin-top: 0;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-address {
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-style: normal;
}

.legal-block a {
  color: var(--color-green-900);
  font-weight: 750;
}

.legal-party {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.legal-party p {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 0.85rem;
}

.legal-list div {
  display: grid;
  gap: 0.15rem;
}

.site-footer {
  color: var(--color-paper);
  background: var(--color-green-900);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  padding-block: 1.5rem;
  text-align: center;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.site-footer__brand img {
  width: 3rem;
  height: 2.6rem;
  object-fit: contain;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--color-paper);
  font-weight: 700;
}

.site-footer a {
  color: var(--color-gold-soft);
}

.site-footer__credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding-block: 0 1rem;
  color: rgba(255, 253, 247, 0.68);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.site-footer__credit img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  opacity: 0.82;
}

.reveal-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.65, 0.2, 1),
    translate 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@media (min-width: 42rem) {
  :root {
    --space-section: 5rem;
  }

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

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

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

  .sponsor-card:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

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

  .organizer-subheading {
    grid-column: 1 / -1;
  }

  .details-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    align-items: stretch;
  }

  .details-list div {
    grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr);
    gap: 1rem;
  }

  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}

@media (min-width: 42rem) and (max-width: 67.99rem) {
  .organizer-grid > .info-card {
    grid-column: 1 / -1;
  }

  .organizer-grid .club-card:last-child {
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 24rem);
    justify-content: center;
  }
}

@media (min-width: 68rem) {
  :root {
    --space-section: 6rem;
  }

  .hero__content {
    grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
    align-items: center;
    gap: 2.8rem;
  }

  .hero__brand-mark {
    justify-self: end;
    width: min(16rem, 100%);
  }

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

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

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

  .organizer-grid > .info-card {
    grid-column: span 2;
  }

  .club-card {
    grid-column: span 2;
  }

}

@media (max-width: 56rem) {
  :root {
    --header-height: 4rem;
  }

  .page-decor__svg--left {
    left: -15rem;
    top: 7rem;
    width: 34rem;
  }

  .page-decor__svg--right {
    right: -11rem;
    top: 34rem;
    width: 23rem;
  }

  .page-decor__svg--lower {
    left: -6rem;
    width: 24rem;
    opacity: 0.75;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .nav-list {
    flex: 1 0 100%;
    justify-content: center;
  }

  .js-enabled.js-ready .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    min-height: 4rem;
    padding-block: 0.55rem;
  }

  .site-logo {
    min-width: 0;
  }

  .site-logo__image {
    width: 3rem;
    height: 2.65rem;
  }

  .site-logo__text {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .js-enabled.js-ready .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .js-enabled.js-ready .nav-list {
    position: fixed;
    top: calc(var(--header-height) + 0.7rem);
    right: 1rem;
    left: 1rem;
    z-index: 12;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    width: min(calc(100vw - 2rem), 26rem);
    max-height: calc(100svh - var(--header-height) - 1.4rem);
    margin: 0 auto;
    padding: 0.85rem;
    overflow-y: auto;
    background:
      linear-gradient(135deg, rgba(238, 22, 31, 0.18), transparent 36%),
      linear-gradient(145deg, rgba(15, 51, 39, 0.96), rgba(23, 69, 50, 0.93));
    border: 1px solid rgba(255, 253, 247, 0.18);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px rgba(15, 51, 39, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.55rem) scale(0.98);
    transform-origin: top center;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
    visibility: hidden;
    backdrop-filter: blur(18px);
  }

  .js-enabled.js-ready .nav-list.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .js-enabled.js-ready .nav-list a {
    width: 100%;
    min-height: 3rem;
    justify-content: center;
    padding: 0.72rem 0.9rem;
    color: var(--color-paper);
    background: rgba(255, 253, 247, 0.08);
    border: 1px solid rgba(255, 253, 247, 0.1);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    text-align: center;
  }

  .js-enabled.js-ready .nav-list a:hover,
  .js-enabled.js-ready .nav-list a:focus-visible {
    color: var(--color-paper);
    background: rgba(238, 22, 31, 0.26);
    border-color: rgba(255, 253, 247, 0.22);
  }

  .hero__content {
    justify-items: center;
    text-align: center;
  }

  .hero h1,
  .hero__subtitle {
    margin-inline: auto;
  }

  .hero-countdown {
    width: min(100%, 36rem);
  }

  .hero-countdown__intro {
    display: grid;
    justify-items: center;
  }

  .hero-countdown p {
    text-align: center;
  }

  .countdown-unit__value {
    font-size: 1.75rem;
  }

  .event-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: min(100%, 32rem);
    margin-bottom: 1.35rem;
  }

  .event-facts__item {
    padding: 0.85rem;
    text-align: left;
  }

  .event-facts dd {
    font-size: 1rem;
  }

  .button--primary {
    width: min(100%, 16rem);
  }
}

@media (max-width: 30rem) {
  .wrapper,
  .wrapper--narrow {
    width: min(100% - 1.25rem, var(--wrapper));
  }

  h2 {
    font-size: clamp(1.625rem, 8vw, 2rem);
    overflow-wrap: anywhere;
  }

  .hero {
    padding-block: 1.25rem;
  }

  .hero__content {
    gap: 1rem;
  }

  .hero__brand-mark {
    width: 6.4rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero__subtitle {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
  }

  .site-logo__text {
    max-width: none;
    font-size: 0.95rem;
  }

  .site-logo__year {
    display: none;
  }

  .nav-toggle {
    padding-inline: 0.7rem;
    font-size: 0.9rem;
  }

  .hero-countdown {
    margin-bottom: 1rem;
    padding: 0.7rem;
  }

  .countdown-grid {
    gap: 0.35rem;
  }

  .countdown-unit {
    padding: 0.62rem 0.25rem;
  }

  .countdown-unit__value {
    font-size: 1.55rem;
  }

  .countdown-unit__label {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .event-facts {
    margin-bottom: 1rem;
  }

  .hero {
    padding-block: 2.35rem;
  }

  .program-card,
  .highlight-card,
  .info-card,
  .club-card,
  .sponsor-card,
  .notice-box,
  .welcome-box,
  .legal-block {
    padding: 1rem;
  }

  .info-card--with-logo {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-card__logo {
    justify-self: center;
    width: min(12rem, 72%);
    opacity: 0.68;
  }

  .info-card__logo--brewery {
    width: min(9rem, 66%);
    opacity: 0.86;
  }

  .info-card__logo--municipality {
    width: min(8rem, 60%);
    opacity: 0.82;
  }

  .highlight-card,
  .info-card,
  .notice-box,
  .welcome-box,
  .organizer-subheading {
    text-align: center;
  }

  .highlight-card__icon {
    justify-self: center;
  }

  .club-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .club-card__media {
    justify-self: center;
  }
}

@media (max-width: 21rem) {
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-card {
    min-height: 10rem;
  }

  .sponsor-card:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
}

@media (max-width: 18rem) {
  .site-nav {
    gap: 0.45rem;
  }

  .site-logo {
    gap: 0.45rem;
  }

  .site-logo__image {
    width: 2.65rem;
  }

  .site-logo__text {
    font-size: 0.9rem;
  }

  .nav-toggle {
    width: 2.75rem;
    justify-content: center;
    padding-inline: 0.65rem;
  }

  .nav-toggle > span:last-child {
    display: none;
  }

  .countdown-unit__label {
    font-size: 0.5rem;
    letter-spacing: 0;
  }
}

@media (max-width: 56rem) and (max-height: 26rem) {
  .js-enabled.js-ready .nav-list {
    top: calc(var(--header-height) + 0.35rem);
    gap: 0.25rem;
    max-height: calc(100svh - var(--header-height) - 0.7rem);
    padding: 0.55rem;
  }

  .js-enabled.js-ready .nav-list a {
    min-height: 2.5rem;
    padding-block: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .js-enabled.js-ready .hero__brand-mark,
  .js-enabled.js-ready .hero-title,
  .js-enabled.js-ready .hero__subtitle,
  .js-enabled.js-ready .hero-countdown,
  .js-enabled.js-ready .event-facts,
  .js-enabled.js-ready .hero .button--primary,
  .js-enabled.js-ready .hero-title__year {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-title__name.is-typing::after {
    display: none;
  }

  .page-decor__svg {
    transform: none !important;
  }

  .program-card,
  .highlight-card,
  .info-card,
  .club-card,
  .sponsor-card,
  .notice-box,
  .welcome-box,
  .details-list {
    translate: 0 0 !important;
  }

  .sponsor-card {
    scale: 1 !important;
  }
}
