/* ===================================================================
   NOVEMBER GIVE - Homeless Block Party
   Cream paper / navy ink / red tape. Brand tokens live in :root.
   =================================================================== */

:root {
  /* --- palette, straight off the flyer --- */
  --cream:     #f2ece2;
  --paper:     #faf7f0;
  --cream-dk:  #e4dccc;
  --navy:      #16233f;
  --navy-dk:   #0f1830;
  --red:       #c8372d;
  --red-dk:    #9e2820;
  --yellow:    #f6d66a;
  --grey:      #7c7b78;
  --ink:       #15161a;

  /* --- type --- */
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body:    "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marker:  "Permanent Marker", "Comic Sans MS", cursive;

  /* --- shape --- */
  --r-xl:   30px;
  --r-lg:   22px;
  --r-md:   16px;
  --r-pill: 999px;

  --wrap: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(.22,.8,.26,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  background: var(--cream);
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; }
::selection { background: var(--red); color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* printed-paper texture over the whole page */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--red);
  z-index: 95;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.center { text-align: center; }

/* ----------------------- tape / marker marks --------------------- */
/* the torn-tape highlight used behind words on the flyer */
mark.tape {
  position: relative;
  display: inline-block;
  padding: .06em .42em .1em;
  color: #fff;
  background: var(--red);
  border-radius: 3px;
  transform: rotate(-1.2deg);
  box-shadow: 2px 2px 0 rgba(21,22,26,.2);
}
mark.tape--grey { background: var(--grey); }
mark.tape--navy { background: var(--navy); }
mark.tape--yellow { background: var(--yellow); color: var(--ink); }
/* torn top/bottom edges */
mark.tape::before,
mark.tape::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: inherit;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='4' preserveAspectRatio='none'%3E%3Cpath d='M0 4 L4 0 L9 3 L15 0 L21 3 L27 0 L33 3 L39 0 L45 3 L51 0 L57 3 L60 1 L60 4 Z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='4' preserveAspectRatio='none'%3E%3Cpath d='M0 4 L4 0 L9 3 L15 0 L21 3 L27 0 L33 3 L39 0 L45 3 L51 0 L57 3 L60 1 L60 4 Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 60px 4px;
  mask-size: 60px 4px;
}
mark.tape::before { top: -3px; transform: scaleY(-1); }
mark.tape::after  { bottom: -3px; }

/* scattered print marks */
.doodle {
  position: absolute;
  font-family: var(--body);
  color: var(--navy);
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  opacity: .9;
}
.doodle--star  { top: 30%; left: 3.5%;  font-size: clamp(22px, 3vw, 42px); }
.doodle--cross { top: 16%; right: 7%;   font-size: clamp(20px, 2.6vw, 36px); color: var(--red); }
.doodle--quote {
  top: 9%; right: 3%;
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 118px);
  color: var(--ink);
}

/* ------------------------------ buttons -------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .92em 1.7em;
  border: 2px solid var(--navy);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--lg { font-size: .95rem; padding: 1.1em 2.2em; }

/* sticker press: hard offset shadow that collapses on click */
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 5px 5px 0 var(--navy);
}
.btn--red:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--navy); background: var(--red-dk); }
.btn--red:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--navy); }

.btn--outline {
  background: var(--paper);
  color: var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
}
.btn--outline:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--navy); background: var(--yellow); }
.btn--outline:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--navy); }

/* ------------------------------ header --------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-stuck {
  background: rgba(242,236,226,.93);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 0 var(--navy), 0 14px 30px -24px rgba(21,22,26,.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand__mark { height: 34px; width: auto; }
.brand__mark--lyv { height: 38px; }
.brand__x {
  font-family: var(--display);
  font-size: .95rem;
  color: var(--red);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a {
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .02em;
  position: relative;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  height: 3px; width: 0;
  background: var(--red);
  border-radius: 3px;
  transition: width .28s var(--ease);
}
.nav > a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: .62em 1.25em; font-size: .74rem; box-shadow: 3px 3px 0 var(--navy); }
.nav__cta:hover { box-shadow: 5px 5px 0 var(--navy); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: var(--r-pill);
  box-shadow: 3px 3px 0 var(--navy);
  cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block; height: 2.5px; width: 20px; margin-inline: auto;
  background: var(--navy); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* -------------------------------- hero --------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
  padding-top: calc(var(--header-h) + 26px);
}

/* z-order inside the hero:
   1 background plate  ·  2 headline  ·  3 cut-out people
   5 tagline + buttons ·  6 ticket strip                     */
.hero__head { position: relative; text-align: center; }

/* kicker + headline + subtitle: one layer that the people stand in front of */
.hero__type {
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  line-height: .82;
  text-transform: uppercase;
  color: var(--navy);
}
.hero__title .line { display: block; overflow: hidden; padding-block: .03em; }
.hero__title .line__in {
  display: block;
  transform: translateY(104%);
  opacity: 0;
  transition: transform 1s var(--ease), opacity .7s ease;
  transition-delay: var(--d, 0ms);
  font-size: clamp(3.6rem, 15vw, 11.5rem);
  letter-spacing: -.02em;
}
.is-ready .hero__title .line__in { transform: translateY(0); opacity: 1; }

.hero__sub {
  position: relative;
  z-index: 5;
  margin: 8px 0 0;
}
.hero__sub span {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.05rem, 3.4vw, 2.3rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  padding: .1em .5em .16em;
  border-radius: var(--r-md);
  transform: rotate(-.8deg);
  box-shadow: 4px 4px 0 var(--red);
}

/* plain type in FRONT of the people - a dark halo sinks into the photo
   instead of washing a pale patch over it, so the words stay cream */
.hero__tagline {
  position: relative;
  z-index: 5;
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 3vw, 1.8rem);
  letter-spacing: .01em;
  color: var(--cream);
  text-shadow:
    0 0 6px  rgba(9,10,14,.95),
    0 0 14px rgba(9,10,14,.9),
    0 0 28px rgba(9,10,14,.75),
    0 2px 4px rgba(9,10,14,.9);
}
/* the tape chips carry their own solid colour - the halo only dulled them */
.hero__tagline .tape { text-shadow: none; }

.hero__actions {
  position: relative;
  z-index: 5;
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------- layered hero photo ----------------------- */
.stage {
  position: absolute;
  inset: auto 0 0 0;
  height: 80%;
  pointer-events: none;
}
.stage__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  will-change: transform;
}
.stage__layer--bg {
  z-index: 1;
  background-image: url("images/hero-bg.jpg");
  /* the overcast sky dissolves into the cream page */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.22) 16%, rgba(0,0,0,.7) 32%, #000 46%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.22) 16%, rgba(0,0,0,.7) 32%, #000 46%);
}
.stage__layer--cut {
  z-index: 3;
  background-image: url("images/hero-cutout.png");
  background-image: image-set(
    url("images/hero-cutout.webp") type("image/webp"),
    url("images/hero-cutout.png")  type("image/png"));
  filter: drop-shadow(0 18px 26px rgba(21,22,26,.28));
}

/* ------------------------- ticket strip -------------------------- */
/* No panel behind these - just type sitting on the photo. A soft shadow
   that fades up from the bottom edge is what keeps them readable. */
.ticket {
  position: relative;
  z-index: 6;
  margin-top: auto;
  padding: 0 20px 20px;
}
.ticket::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; right: 0; bottom: 0;
  height: 230%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(9,10,14,.3) 45%, rgba(9,10,14,.62));
}
.ticket__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--cream);
  max-width: var(--wrap);
}
.ticket__cell {
  text-align: center;
  padding: 2px 14px;
  border-right: 1px solid rgba(242,236,226,.28);
  text-shadow:
    0 0 6px  rgba(9,10,14,.95),
    0 0 15px rgba(9,10,14,.85),
    0 2px 4px rgba(9,10,14,.9);
}
.ticket__cell:last-child { border-right: 0; }
.ticket__label {
  display: block;
  font-size: .54rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 1px;
}
.ticket__cell strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(.88rem, 1.9vw, 1.18rem);
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ------------------------------ marquee -------------------------- */
.marquee {
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 3;
  border-block: 3px solid var(--ink);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: marquee 38s linear infinite;
}
.marquee__track i { font-style: normal; color: var(--red); font-size: .8rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------ sections ------------------------- */
.section {
  padding-block: clamp(66px, 9vw, 120px);
  position: relative;
  background: var(--cream);
}
/* faint halftone speckle so the cream never looks like flat CSS */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(21,22,26,.055) 0 1.2px, transparent 1.2px),
    radial-gradient(circle at 72% 62%, rgba(21,22,26,.045) 0 1.2px, transparent 1.2px),
    radial-gradient(circle at 42% 88%, rgba(21,22,26,.04)  0 1.2px, transparent 1.2px);
  background-size: 160px 160px, 230px 230px, 290px 290px;
}
/* sign-up follows another cream section, so it gets a hard rule to divide them */
.section--paper {
  background: var(--paper);
  border-top: 3px solid var(--navy);
}
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy::before { opacity: .22; }

.eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 3px;
  background: var(--red);
  border-radius: 3px;
}
.eyebrow--light { color: var(--yellow); }
.eyebrow--light::before { background: var(--yellow); }

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 0 0 24px;
  max-width: 20ch;
  position: relative;
}
.h2--light { color: var(--cream); }
.h2 em { font-style: normal; color: var(--red); }
.h2 sup { font-size: .45em; top: -.58em; position: relative; }

.section-lede {
  max-width: 62ch;
  margin: 0 0 44px;
  color: rgba(242,236,226,.75);
  font-size: 1.04rem;
}
.section-lede--dark { color: #4a4a4a; }

/* ------------------------------- about --------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  position: relative;
}
.about-head .h2 { margin-bottom: 0; max-width: 16ch; }
.about-copy p { color: #45484f; }
.about-copy p:first-child { margin-top: 0; }

.pullquote {
  font-family: var(--marker);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.3;
  color: var(--navy);
  margin-top: 34px;
  padding: 18px 24px;
  border-radius: var(--r-lg);
  background: var(--yellow);
  transform: rotate(-1.4deg);
  box-shadow: 5px 5px 0 var(--navy);
  display: inline-block;
}

/* ------------------- photo reel (right -> left) ------------------ */
.reel {
  position: relative;
  margin-top: clamp(44px, 6vw, 70px);
  overflow: hidden;
  padding-block: 6px 14px;   /* room for the offset shadows */
  /* photos dissolve into the paper at both edges */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.reel__track {
  --reel-gap: 18px;
  display: flex;
  align-items: stretch;
  gap: var(--reel-gap);
  width: max-content;
  /* half a gap of padding on each side makes -50% land exactly one pass
     along, gap included - that is what keeps the loop seamless */
  padding-inline: calc(var(--reel-gap) / 2);
  animation: reel 68s linear infinite;
  will-change: transform;
}
/* the track holds two identical passes, so -50% lands exactly on the
   start of the second pass and the loop never shows a seam */
@keyframes reel {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.reel:hover .reel__track,
.reel:focus-within .reel__track { animation-play-state: paused; }

.reel__item {
  margin: 0;
  flex: none;
  height: clamp(210px, 26vw, 310px);
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 3px solid var(--navy);
  box-shadow: 6px 6px 0 var(--red);
  background: var(--cream-dk);
  cursor: zoom-in;
  transition: box-shadow .3s var(--ease);
}
.reel__item:hover { box-shadow: 6px 6px 0 var(--yellow); }
.reel__item img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  display: block;
}

/* ------------------- donate / serve: notebook pages -------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: clamp(50px, 6vw, 84px);
}
.card {
  position: relative;
  padding: 30px 32px 34px 58px;
  border-radius: var(--r-xl);
  border: 2px solid var(--navy);
  background-color: var(--paper);
  /* ruled notebook lines */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 43px,
    rgba(22,35,63,.17) 43px 44px);
  background-position: 0 86px;
  box-shadow: 7px 7px 0 var(--navy);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translate(-3px,-3px); box-shadow: 11px 11px 0 var(--navy); }

/* spiral binding punches down the left edge */
.binding {
  position: absolute;
  top: 26px; bottom: 26px; left: 20px;
  width: 16px;
  background-image: radial-gradient(circle at 8px 8px, var(--cream-dk) 0 7px, transparent 7px);
  background-size: 16px 40px;
  background-repeat: repeat-y;
  box-shadow: inset 0 0 0 0 transparent;
  border-radius: 8px;
}

.card__title { margin: 0 0 20px; font-size: 1.5rem; }
.card__title .tape {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 6px;
}

.card__list { list-style: none; margin: 0; padding: 0; }
.card__list li {
  min-height: 44px;   /* keeps the ruled-line rhythm; a wrapped item takes two rows */
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #2c3242;
}
.card__list li::before {
  content: "\2715";
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
}

/* ------------------------------- gallery ------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery__item {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #1e2a44;
  border: 2px solid var(--cream);
  box-shadow: 6px 6px 0 var(--red);
  cursor: zoom-in;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gallery__item:nth-child(odd)  { transform: rotate(-1deg); }
.gallery__item:nth-child(even) { transform: rotate(1deg); }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.gallery__item:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 10px 10px 0 var(--yellow);
  z-index: 2;
}
.gallery__item:hover img { transform: scale(1.08); }

/* placeholder for photos not added yet */
.img-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
  color: rgba(242,236,226,.6);
  background: repeating-linear-gradient(135deg, rgba(242,236,226,.1) 0 12px, rgba(242,236,226,.03) 12px 24px);
}
.reel__item .img-missing {
  color: rgba(22,35,63,.5);
  background: repeating-linear-gradient(135deg, rgba(22,35,63,.1) 0 12px, rgba(22,35,63,.03) 12px 24px);
  width: 300px;
}

/* ------------------------------ the form ------------------------- */
.form-shell {
  border-radius: var(--r-xl);
  border: 2px solid var(--navy);
  background: #fff;
  padding: 10px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--navy);
}
.form-embed {
  width: 100%;
  /* Google Forms can't auto-resize across domains, so this height is manual.
     Inner scrollbar? Raise it. Big white gap under the questions? Lower it. */
  height: 2250px;
  border: 0;
  border-radius: var(--r-lg);
  display: block;
}
.form-fallback { margin-top: 22px; font-size: .95rem; color: #4a4a4a; }
.form-fallback a {
  color: var(--red);
  font-weight: 700;
  text-underline-offset: 4px;
}

/* ------------------------------- footer -------------------------- */
.footer {
  background: var(--navy-dk);
  color: rgba(242,236,226,.75);
  position: relative;
  z-index: 3;
}
.footer__motto {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 20px 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: clamp(.85rem, 2.2vw, 1.15rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
}
.footer__motto i { font-style: normal; color: var(--yellow); font-size: .8em; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  padding-block: 54px;
}
.brand--footer { margin-bottom: 20px; }
.brand--footer .brand__mark { height: 34px; }
.brand--footer .brand__mark--lyv { height: 40px; }
.brand--footer .brand__x { color: var(--yellow); }
.footer__blurb { max-width: 40ch; font-size: .95rem; margin: 0; }

.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 6px;
}
.footer__col a {
  text-decoration: none;
  font-size: .95rem;
  width: fit-content;
  transition: color .2s ease, transform .2s var(--ease);
}
.footer__col a:hover { color: #fff; transform: translateX(4px); }

.footer-bottom {
  border-top: 1px solid rgba(242,236,226,.16);
  padding-block: 22px 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .8rem;
  opacity: .7;
}
.footer-bottom p { margin: 0; }
.footer-bottom__verse { font-family: var(--marker); font-size: .95rem; color: var(--yellow); opacity: .95; }

/* ----------------------------- lightbox -------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15,24,48,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
  animation: lbIn .25s var(--ease);
}
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r-lg);
  border: 3px solid var(--cream);
  box-shadow: 10px 10px 0 var(--red);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: var(--cream);
  color: var(--navy);
  border: 2px solid var(--navy);
  cursor: pointer;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--yellow); transform: scale(1.08); }
.lightbox__close { top: 20px; right: 22px; width: 48px; height: 48px; font-size: 1.7rem; line-height: 1; }
.lightbox__nav   { top: 50%; width: 54px; height: 54px; font-size: 2rem; line-height: 1; margin-top: -27px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ====================== scroll animations ======================== */
.fx {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}
.fx[data-fx="up"]    { transform: translateY(40px); }
.fx[data-fx="scale"] { transform: translateY(28px) scale(.95); }
.fx.is-in { opacity: 1; transform: none; }
/* keep the deliberate tilts after the reveal lands */
.gallery__item.fx.is-in:nth-child(odd)  { transform: rotate(-1deg); }
.gallery__item.fx.is-in:nth-child(even) { transform: rotate(1deg); }
.pullquote.fx.is-in                     { transform: rotate(-1.4deg); }

/* ----------------------------- responsive ------------------------ */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .about-grid   { grid-template-columns: 1fr; }
  .cards        { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .about-head .h2 { max-width: none; margin-bottom: 4px; }
  .h2 { max-width: none; }
  .stage { height: 52%; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 6px) 14px auto 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 20px;
    border-radius: var(--r-xl);
    border: 2px solid var(--navy);
    background: var(--paper);
    box-shadow: 7px 7px 0 var(--navy);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a {
    padding: 14px 4px;
    border-bottom: 2px solid rgba(22,35,63,.12);
    font-size: 1rem;
  }
  .nav > a:not(.btn)::after { display: none; }
  .nav__cta {
    margin-top: 16px;
    border-bottom: 0;
    justify-content: center;
    padding: .95em 1.2em;
    font-size: .82rem;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --r-xl: 24px; --r-lg: 18px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* the hero has a lot to fit on a phone: trim every gap, keep the
     photo band tall enough to actually read */
  .hero { padding-top: calc(var(--header-h) + 10px); }
  .stage { height: 52%; }
  .hero__sub span { border-radius: 14px; }
  .hero__tagline { margin-top: 16px; }
  .hero__actions { margin-top: 18px; gap: 10px; }
  .hero__actions .btn { width: 100%; padding: .9em 1.2em; font-size: .82rem; }

  .ticket { padding: 0 14px 16px; }
  .ticket__inner { grid-template-columns: 1fr; }
  .ticket__cell {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 9px;
    text-align: center;
    border-right: 0;
    border-bottom: 1px solid rgba(242,236,226,.22);
    padding: 7px 6px;
  }
  .ticket__cell:last-child { border-bottom: 0; padding-bottom: 0; }
  .ticket__label { margin-bottom: 0; font-size: .5rem; letter-spacing: .2em; }
  .ticket__cell strong { font-size: .95rem; }
  .card { padding: 26px 22px 28px 52px; }
  .reel__track { --reel-gap: 12px; animation-duration: 48s; }
  .reel__item { border-width: 2px; box-shadow: 4px 4px 0 var(--red); }
  .doodle--quote { display: none; }
  .form-embed { height: 2700px; }
  .form-shell { padding: 6px; }
  .lightbox { padding: 14px; }
  .lightbox__nav { width: 44px; height: 44px; margin-top: -22px; }
  .footer-bottom { flex-direction: column; }
}

/* ----------------------- reduced motion -------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  /* the reel stops drifting and becomes a normal swipeable strip */
  .reel { overflow-x: auto; }
  .reel__track { animation: none; }
  .reel__item[data-clone] { display: none; }
  .fx { opacity: 1; transform: none; transition: none; }
  .hero__title .line__in { transform: none; opacity: 1; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
