:root {
  --purple-deep: #241033;
  --purple-main: #12071f;
  --purple-bright: #301747;
  --pink-soft: #e9b1d1;
  --pink-hot: #ee2e6d;
  --yellow-pop: #f8c537;
  --cream-main: #fff1c8;
  --cream-alt: #f8dfaa;
  --orange-soft: #d98c4d;
  --blue-main: #387a99;
  --green-main: #789b64;
  --red-bold: #ca3328;
  --green-fresh: #009e50;
  --white: #ffffff;
  --ink: #08040d;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(64, 35, 95, 0.18);
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: Georgia, "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream-main);
  background: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 {
  color: var(--cream-main);
  font-size: clamp(4.5rem, 13vw, 11rem);
}

h2 {
  font-size: clamp(2.25rem, 6vw, 5.7rem);
}

p {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -48px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--purple-deep);
  background: var(--yellow-pop);
  border: 2px solid var(--purple-deep);
  border-radius: var(--radius);
  font-weight: 900;
}

.skip-link:focus {
  top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  color: var(--purple-deep);
  background: var(--cream-main);
  border: 2px solid var(--cream-main);
  border-radius: var(--radius);
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(248, 197, 55, 0.2);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 52px clamp(18px, 5vw, 64px) 76px;
  color: var(--cream-main);
  background: var(--purple-main);
  text-align: center;
}

.intro > * {
  max-width: 1040px;
}

.intro .eyebrow {
  color: var(--yellow-pop);
}

.logo-heading {
  width: min(200px, 88vw);
  margin: 0 auto clamp(34px, 7vw, 62px);
  font-size: 0;
  line-height: 0;
}

.butterbar-logo {
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.32));
}

.intro-subtitle {
  margin-inline: auto;
  max-width: 780px;
  font-size: clamp(2.45rem, 6.3vw, 5.7rem);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.intro-copy {
  display: grid;
  gap: 2px;
  margin: clamp(30px, 5vw, 46px) auto 0;
  max-width: 780px;
  color: rgba(255, 241, 200, 0.72);
  font-size: clamp(1.05rem, 2.15vw, 1.55rem);
  font-weight: 700;
  line-height: 1.28;
  text-transform: uppercase;
}

.mood-gradient {
  color: transparent;
  background: linear-gradient(95deg, var(--yellow-pop), var(--pink-soft), var(--pink-hot));
  -webkit-background-clip: text;
  background-clip: text;
}

.event-line {
  display: grid;
  gap: 8px;
  margin: clamp(42px, 7vw, 68px) auto 0;
  max-width: 860px;
  color: var(--yellow-pop);
  font-size: clamp(1.25rem, 2.55vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.venue-line {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.directions-link {
  display: inline-block;
  color: var(--cream-main);
  border-bottom: 1px solid currentColor;
  font-size: 0.56em;
  line-height: 1.15;
  text-transform: uppercase;
}

.directions-link:hover,
.directions-link:focus-visible {
  color: var(--yellow-pop);
  outline: none;
}

.hero-register {
  margin: clamp(34px, 5vw, 48px) auto 0;
  color: #5b2e85;
  background: #f8c536;
  border-color: #f8c536;
}

.watch-register {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 7vw, 82px) clamp(18px, 5vw, 64px);
  background: #0b0610;
  text-align: center;
}

.register-card {
  min-height: 640px;
  width: min(720px, 100%);
  margin-inline: auto;
}

.vimeo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #000000;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.vimeo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.register-card {
  padding: clamp(20px, 3vw, 30px);
  color: var(--cream-main);
  background: var(--purple-deep);
  border: 1px solid rgba(255, 241, 200, 0.55);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.register-card h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

.register-copy {
  margin-bottom: 22px;
  color: rgba(255, 241, 200, 0.78);
  font-weight: 700;
  text-transform: uppercase;
}

.event-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-inline: auto;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--purple-deep);
  background: var(--cream-main);
  border: 1px solid rgba(255, 241, 200, 0.6);
  border-radius: var(--radius);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(248, 197, 55, 0.26);
}

.form-submit {
  width: 100%;
}

.form-message {
  min-height: 26px;
  font-weight: 900;
}

.form-message.is-success {
  color: var(--green-fresh);
}

.form-message.is-error {
  color: var(--red-bold);
}

.details {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 64px);
  color: var(--cream-main);
  background: var(--purple-main);
  text-align: center;
}

.details-heading {
  max-width: 980px;
  margin: 0 auto clamp(28px, 5vw, 54px);
}

.details-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 700;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1152px;
  margin-inline: auto;
}

.detail-grid article {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 210px;
  padding: 22px;
  color: var(--cream-main);
  background: transparent;
  border: 1px solid rgba(255, 241, 200, 0.48);
  border-radius: var(--radius);
  box-shadow: none;
  text-align: center;
}

.detail-grid article:nth-child(2) {
  background: rgba(255, 241, 200, 0.06);
}

.detail-grid article:nth-child(3) {
  color: var(--cream-main);
  background: rgba(248, 197, 55, 0.08);
}

.detail-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-grid strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.past {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 64px);
  color: var(--cream-main);
  background: #08040d;
  text-align: center;
}

.past-copy {
  max-width: 1120px;
  margin: 0 auto clamp(26px, 5vw, 48px);
}

.past .vimeo-frame {
  max-width: 1120px;
  margin-inline: auto;
}

.site-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 34px clamp(18px, 5vw, 64px);
  color: var(--cream-main);
  background: var(--ink);
  border-top: 1px solid rgba(255, 241, 200, 0.28);
  text-align: center;
}

.site-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-weight: 950;
  text-transform: uppercase;
}

.site-footer a {
  border-bottom: 2px solid currentColor;
}

@media (max-width: 960px) {
  .register-card {
    min-height: auto;
  }

  .vimeo-frame {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 640px) {
  .intro {
    min-height: 92svh;
    padding-top: 42px;
  }

  .logo-heading {
    width: min(200px, 88vw);
    margin-bottom: 40px;
  }

  .intro-subtitle {
    max-width: 500px;
    font-size: clamp(2.15rem, 9vw, 3.15rem);
  }

  .intro-copy {
    margin-top: 28px;
    max-width: 500px;
    font-size: clamp(1rem, 4vw, 1.35rem);
  }

  .event-line {
    margin-top: 42px;
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  }

  .hero-register {
    margin-top: 34px;
  }

  .watch-register {
    padding-top: 34px;
  }

  .register-card,
  .vimeo-frame,
  .detail-grid article {
    box-shadow: none;
  }

  .site-footer {
    align-items: center;
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  .logo-heading {
    width: min(200px, 60vw);
    margin-bottom: 34px;
  }

  .intro-subtitle {
    font-size: clamp(2rem, 4.6vw, 4.1rem);
  }

  .intro-copy {
    margin-top: 26px;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
  }

  .event-line {
    margin-top: 36px;
    font-size: clamp(1.12rem, 2.1vw, 1.45rem);
  }

  .hero-register {
    margin-top: 30px;
  }
}
