/* ==========================================================================
   Zack's Send-Off: concert poster styles
   Mobile first. No frameworks. Only external resource is Google Fonts.
   ========================================================================== */

:root {
  --night: #130814;
  --night-2: #1f0c22;
  --plum: #3a1240;
  --rock: #c8441f;
  --rock-deep: #8c2a12;
  --sunset: #ff6a3d;
  --pink: #ff3d8a;
  --gold: #ffc247;
  --teal: #2ad4c8;
  --cream: #fff4e6;
  --cream-dim: rgba(255, 244, 230, 0.72);
  --ink: #1a0f12;

  --font-display: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-poster: "Bebas Neue", "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 1.25rem;
  --shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
dl,
figure {
  margin: 0;
  overflow-wrap: anywhere;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: var(--gold);
}

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* Confetti canvas ------------------------------------------------------- */

#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

/* Layout helpers -------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

.kicker {
  font-family: var(--font-poster);
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.2rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 2rem + 5vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-top: 0.35rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-poster);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  max-width: 100%;
}

.btn--primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold) 0%, var(--sunset) 60%, var(--pink) 100%);
  box-shadow: 0 0.75rem 2rem rgba(255, 106, 61, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 1rem 2.5rem rgba(255, 106, 61, 0.5);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.btn--ghost {
  color: var(--cream);
  border-color: rgba(255, 244, 230, 0.5);
  background: rgba(19, 8, 20, 0.35);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--cream);
  background: rgba(19, 8, 20, 0.6);
}

/* Scroll reveal --------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(5rem, 12vh, 8rem) var(--gutter) 6rem;
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: hero-drift 28s ease-in-out infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 115%, rgba(255, 106, 61, 0.55) 0%, rgba(255, 106, 61, 0) 55%),
    linear-gradient(
      180deg,
      rgba(19, 8, 20, 0.72) 0%,
      rgba(58, 18, 64, 0.55) 35%,
      rgba(140, 42, 18, 0.55) 70%,
      rgba(19, 8, 20, 0.95) 100%
    );
}

.hero__content {
  max-width: 60rem;
  width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin: 0.75rem 0 1.25rem;
  display: grid;
  gap: 0.1em;
}

.hero__title-line {
  display: block;
  font-size: clamp(3.5rem, 1.5rem + 13vw, 11.5rem);
  text-shadow: 0 0.25rem 2rem rgba(0, 0, 0, 0.6);
}

.hero__title-line--glow {
  background: linear-gradient(180deg, var(--gold) 0%, var(--sunset) 55%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 1.25rem rgba(255, 106, 61, 0.55));
  animation: glow 3.2s ease-in-out infinite alternate;
}

.hero__sub {
  font-family: var(--font-poster);
  font-size: clamp(1.25rem, 1rem + 1.6vw, 2.1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0.15rem 1rem rgba(0, 0, 0, 0.6);
}

.hero__headliner {
  margin-top: 0.5rem;
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.3rem);
  color: var(--cream-dim);
  text-shadow: 0 0.15rem 1rem rgba(0, 0, 0, 0.6);
}

.hero__headliner strong {
  color: var(--gold);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-cue__arrow {
  width: 0.8rem;
  height: 0.8rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bob 1.6s ease-in-out infinite;
}

/* ==========================================================================
   TICKET + LINEUP
   ========================================================================== */

.section--ticket {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 61, 138, 0.18), transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(42, 212, 200, 0.14), transparent 45%),
    var(--night);
}

.ticket-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

/* Ticket stub */

.ticket {
  display: grid;
  background: var(--cream);
  color: var(--ink);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.ticket__main {
  padding: clamp(1.25rem, 4vw, 2rem);
  position: relative;
}

.ticket__admit {
  font-family: var(--font-poster);
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rock);
}

.ticket__event {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 3vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.ticket__venue {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 15, 18, 0.7);
  margin-top: 0.35rem;
}

.ticket__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px dashed rgba(26, 15, 18, 0.25);
}

.ticket__details dt {
  font-family: var(--font-poster);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rock);
}

.ticket__details dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}

.ticket__fine {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(26, 15, 18, 0.6);
}

/* Perforated edge: punched circles along the boundary between main and stub */

.ticket__stub {
  position: relative;
  padding: 1.25rem clamp(1.25rem, 4vw, 2rem);
  background: repeating-linear-gradient(
    135deg,
    #ffe3b3 0 0.5rem,
    #ffd58f 0.5rem 1rem
  );
  border-top: 2px dashed rgba(26, 15, 18, 0.35);
  display: grid;
  gap: 0.6rem;
  align-content: center;
}

.ticket__stub::before,
.ticket__stub::after {
  content: "";
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--night);
  top: -0.875rem;
}

.ticket__stub::before {
  left: -0.875rem;
}

.ticket__stub::after {
  right: -0.875rem;
}

.ticket__stub-text {
  font-family: var(--font-poster);
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.ticket__code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: rgba(26, 15, 18, 0.7);
}

.barcode {
  display: flex;
  gap: 0.15rem;
  height: 2.5rem;
  align-items: stretch;
}

.barcode span {
  flex: 1 1 0;
  background: var(--ink);
}

.barcode span:nth-child(3n) {
  flex-basis: 0.4rem;
  flex-grow: 2;
}

.barcode span:nth-child(4n + 1) {
  flex-grow: 0.6;
}

.barcode span:nth-child(5n) {
  flex-grow: 1.6;
}

/* Lineup poster */

.lineup {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 106, 61, 0.22), rgba(58, 18, 64, 0.5) 50%, rgba(19, 8, 20, 0.6)),
    var(--night-2);
  border: 1px solid rgba(255, 194, 71, 0.3);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  text-align: center;
  overflow: hidden;
}

.lineup::before {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 1px dashed rgba(255, 244, 230, 0.2);
  border-radius: calc(var(--radius) - 0.4rem);
  pointer-events: none;
}

.lineup__kicker {
  font-family: var(--font-poster);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal);
  font-size: 0.95rem;
}

.lineup__headliner {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(4rem, 2rem + 12vw, 7.5rem);
  line-height: 0.9;
  margin-top: 0.5rem;
  display: grid;
  gap: 0.05em;
  background: linear-gradient(180deg, var(--cream) 0%, var(--gold) 70%, var(--sunset) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 1rem rgba(255, 194, 71, 0.35));
}

/* Equalizer: pulsing bars */

.equalizer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.3rem;
  height: 3rem;
  margin: 1.25rem auto 1.5rem;
  max-width: 16rem;
}

.equalizer span {
  flex: 1 1 0;
  height: 30%;
  border-radius: 0.2rem 0.2rem 0 0;
  background: linear-gradient(180deg, var(--teal), var(--pink));
  transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite alternate;
}

.equalizer span:nth-child(2n) { animation-duration: 0.9s; animation-delay: -0.2s; }
.equalizer span:nth-child(3n) { animation-duration: 1.3s; animation-delay: -0.5s; }
.equalizer span:nth-child(4n) { animation-duration: 0.8s; animation-delay: -0.1s; }
.equalizer span:nth-child(5n) { animation-duration: 1.2s; animation-delay: -0.7s; }
.equalizer span:nth-child(7n) { animation-duration: 1.0s; animation-delay: -0.3s; }

.lineup__support-label {
  font-family: var(--font-poster);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--cream-dim);
}

.lineup__support {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.lineup__support li {
  font-family: var(--font-poster);
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.lineup__support li:nth-child(2n) {
  color: var(--gold);
}

.lineup__fine {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--cream-dim);
}

/* Venue strip */

.venue-strip {
  margin-top: clamp(3rem, 8vw, 5rem);
  position: relative;
}

.venue-strip img {
  width: 100%;
  aspect-ratio: 1920 / 684;
  object-fit: cover;
  object-position: 50% 60%;
  min-height: 14rem;
  filter: saturate(1.1) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.venue-strip figcaption {
  text-align: center;
  padding: 1rem var(--gutter) 0;
  font-size: 0.9rem;
  color: var(--cream-dim);
  max-width: 40rem;
  margin-inline: auto;
}

/* ==========================================================================
   HEADLINER
   ========================================================================== */

.section--headliner {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 106, 61, 0.2), transparent 45%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}

.artist {
  display: grid;
  gap: 2rem;
}

.artist__photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.artist-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 194, 71, 0.25);
  background: var(--plum);
}

.artist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.9);
  transition: transform 0.6s ease;
}

.artist-card:hover img {
  transform: scale(1.03);
}

.artist-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 106, 61, 0.12) 0%, transparent 45%, rgba(19, 8, 20, 0.75) 100%);
  mix-blend-mode: normal;
  pointer-events: none;
}

.artist-card--main {
  aspect-ratio: 4 / 5;
}

.artist-card--main img {
  object-position: 50% 20%;
}

.artist-card--small {
  aspect-ratio: 16 / 10;
}

.artist-card--small img {
  object-position: 50% 30%;
}

.artist-card__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-poster);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: rgba(19, 8, 20, 0.7);
  border: 1px solid rgba(255, 194, 71, 0.5);
  color: var(--gold);
  backdrop-filter: blur(6px);
}

.artist__copy {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.artist__lede {
  font-family: var(--font-poster);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.artist__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.artist__tags li {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 212, 200, 0.55);
  color: var(--teal);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   ROUTE
   ========================================================================== */

.section--route {
  background:
    linear-gradient(180deg, var(--night-2) 0%, #0e1b2a 55%, #0a2530 100%);
  overflow: hidden;
}

.route__intro {
  max-width: 38rem;
  color: var(--cream-dim);
  margin-top: -1rem;
  margin-bottom: 2.5rem;
}

.route {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: rgba(255, 244, 230, 0.05);
  border: 1px solid rgba(255, 244, 230, 0.12);
  box-shadow: var(--shadow);
}

.route__end {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.15rem;
}

.route__emoji {
  font-size: clamp(2.5rem, 2rem + 3vw, 4rem);
  line-height: 1;
}

.route__city {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
  line-height: 1;
  margin-top: 0.5rem;
}

.route__elev {
  font-family: var(--font-poster);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gold);
}

.route__end--finish .route__elev {
  color: var(--teal);
}

.route__track {
  position: relative;
  min-height: 7rem;
  display: grid;
  align-items: center;
}

.route__svg {
  width: 100%;
  height: 7rem;
  overflow: visible;
}

.route__path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.route__path--bg {
  stroke: rgba(255, 244, 230, 0.15);
}

.route__path--dash {
  stroke: var(--gold);
  stroke-dasharray: 10 12;
  animation: dash 1.4s linear infinite;
}

.route__vehicle {
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 1.9rem;
  line-height: 1;
  transform: translate(0, -60%);
  animation: drive 6s ease-in-out infinite;
  filter: drop-shadow(0 0.25rem 0.5rem rgba(0, 0, 0, 0.5));
}

.route__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-top: 4px solid var(--gold);
  border-right: 4px solid var(--gold);
  transform: translate(0.2rem, -50%) rotate(45deg);
  border-radius: 2px;
}

.route__miles {
  position: absolute;
  left: 50%;
  bottom: -0.25rem;
  transform: translateX(-50%);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-poster);
  letter-spacing: 0.15em;
  font-size: 1rem;
  white-space: nowrap;
}

.route__stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.route__stats li {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 244, 230, 0.05);
  border: 1px solid rgba(255, 244, 230, 0.1);
  display: grid;
  gap: 0.25rem;
}

.route__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  line-height: 1;
  color: var(--teal);
}

.route__stat-label {
  font-size: 0.85rem;
  color: var(--cream-dim);
}

/* ==========================================================================
   FAREWELL + GUESTBOOK
   ========================================================================== */

.section--farewell {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 61, 138, 0.2), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255, 194, 71, 0.15), transparent 45%),
    linear-gradient(180deg, #0a2530 0%, var(--night-2) 25%, var(--night) 100%);
}

.note {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 0.5rem;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  transform: rotate(-0.6deg);
}

.note::before {
  content: "";
  position: absolute;
  top: -0.75rem;
  left: 50%;
  width: 6rem;
  height: 1.6rem;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(255, 194, 71, 0.75);
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.15);
}

.note p {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.note__salutation {
  font-family: var(--font-poster);
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--rock);
}

.note__closing {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  line-height: 1.05;
  color: var(--rock-deep);
}

.note__signoff {
  font-weight: 700;
}

.note .btn {
  justify-self: start;
  margin-top: 0.5rem;
}

.guestbook {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.guestbook__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.guestbook__form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--radius);
  background: rgba(255, 244, 230, 0.05);
  border: 1px solid rgba(255, 244, 230, 0.12);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field__label {
  font-family: var(--font-poster);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
}

.field__input {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 244, 230, 0.25);
  background: rgba(19, 8, 20, 0.6);
  color: var(--cream);
  resize: vertical;
}

.field__input::placeholder {
  color: rgba(255, 244, 230, 0.4);
}

.field__input:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 212, 200, 0.25);
}

.guestbook__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.guestbook__hint {
  font-size: 0.9rem;
  color: var(--pink);
  min-height: 1.4em;
}

.shoutouts {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.shoutout {
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 244, 230, 0.06);
  border-left: 4px solid var(--pink);
  display: grid;
  gap: 0.35rem;
  animation: pop-in 0.4s ease;
}

.shoutout:nth-child(3n + 2) {
  border-left-color: var(--gold);
}

.shoutout:nth-child(3n) {
  border-left-color: var(--teal);
}

.shoutout__text {
  white-space: pre-wrap;
}

.shoutout__meta {
  font-family: var(--font-poster);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--cream-dim);
}

.shoutouts__empty {
  color: var(--cream-dim);
  font-style: italic;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: 3rem 0 2.5rem;
  background: #0b050c;
  border-top: 1px solid rgba(255, 244, 230, 0.1);
  font-size: 0.85rem;
  color: var(--cream-dim);
}

.footer__note {
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.footer__heading {
  font-family: var(--font-poster);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer__credits {
  display: grid;
  gap: 0.4rem;
}

.footer__credits a {
  color: var(--cream);
  text-decoration-color: rgba(255, 194, 71, 0.6);
}

.footer__tiny {
  margin-top: 1.5rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes glow {
  from { filter: drop-shadow(0 0 0.75rem rgba(255, 106, 61, 0.35)); }
  to { filter: drop-shadow(0 0 2rem rgba(255, 61, 138, 0.75)); }
}

@keyframes bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(0.25rem, 0.25rem); }
}

@keyframes eq {
  from { height: 20%; }
  to { height: 100%; }
}

@keyframes dash {
  to { stroke-dashoffset: -22; }
}

@keyframes drive {
  0% { left: 0%; transform: translate(0, -60%) rotate(-8deg); }
  25% { transform: translate(0, -130%) rotate(-6deg); }
  50% { transform: translate(0, -30%) rotate(4deg); }
  75% { transform: translate(0, -110%) rotate(-3deg); }
  100% { left: calc(100% - 2rem); transform: translate(0, -60%) rotate(0deg); }
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(0.5rem) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Larger screens
   ========================================================================== */

@media (min-width: 640px) {
  .ticket {
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 12rem);
  }

  .ticket__stub {
    border-top: 0;
    border-left: 2px dashed rgba(26, 15, 18, 0.35);
    padding: 1.5rem 1.25rem;
  }

  .ticket__stub::before,
  .ticket__stub::after {
    left: -0.875rem;
    right: auto;
  }

  .ticket__stub::before {
    top: -0.875rem;
  }

  .ticket__stub::after {
    top: auto;
    bottom: -0.875rem;
  }

  .ticket__stub-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-self: center;
    font-size: 1.4rem;
  }

  .artist__photos {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: end;
  }

  .artist-card--small {
    aspect-ratio: 4 / 5;
  }

  .artist-card--small img {
    object-position: 45% 25%;
  }

  .route {
    grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr) minmax(8rem, 1fr);
    align-items: center;
    gap: 1.5rem;
  }

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

@media (min-width: 960px) {
  .ticket-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: stretch;
  }

  .artist {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3.5rem;
    align-items: center;
  }

  .hero__actions {
    gap: 1.25rem;
  }

  .note {
    transform: rotate(-1deg);
  }

  .guestbook {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
  }

  .guestbook__title {
    grid-column: 1 / -1;
  }

  .shoutouts {
    margin-top: 0;
    align-content: start;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__bg img {
    animation: none;
  }

  .route__vehicle {
    left: 45%;
  }
}
