/* ============================================================
   Boots and Starz — Landing Page Styles
   ============================================================ */

/* --- Self-hosted Fonts --- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

/* --- Custom Properties --- */
:root {
  --color-magenta: #B8235A;
  --color-magenta-dark: #8E1A45;
  --color-gold: #F5A623;
  --color-gold-dark: #D4900E;
  --color-gold-text: #9A6507;   /* WCAG AA on cream */
  --color-black: #1A1A1A;
  --color-cream: #FBF7F1;
  --color-cream-dark: #F3EDE3;
  --color-charcoal: #3A3A3A;
  --color-white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  --max-width: 1200px;
  --radius: 8px;
  --radius-lg: 16px;

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain texture — applied per-section as needed, not as a global overlay */

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

a {
  color: var(--color-magenta);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-magenta-dark);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-black);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-magenta);
  margin-bottom: var(--space-sm);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* --- Scroll reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ============================================================
   SECTION 1: HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--color-black);
  overflow: hidden;
  padding: var(--space-lg) 0;
}

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

.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Diagonal color block overlay — logo motif echo */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(184, 35, 90, 0.75) 0%,
    rgba(26, 26, 26, 0.82) 40%,
    rgba(245, 166, 35, 0.55) 100%
  );
  z-index: 1;
}

/* Brand banner across top of hero */
.hero__banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: #FFFFFF;
}

.hero__banner-inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem var(--space-md);
}

.hero__banner-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero__banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.hero__banner-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
}

.hero__banner-boots {
  color: var(--color-magenta);
}

.hero__banner-and {
  font-size: 0.65em;
  font-weight: 600;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__banner-starz {
  color: var(--color-gold);
}

.hero__banner-sub {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-top: 0.15rem;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 100px; /* clear the banner */
}

.hero__announce {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
  animation: announceGlow 2s ease-in-out infinite;
}

@keyframes announceGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5); }
  50%       { box-shadow: 0 0 0 10px rgba(245, 166, 35, 0); }
}

.hero__headline {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.hero__headline em {
  font-style: italic;
  color: var(--color-gold);
}

.hero__subhead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

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

/* Hero entrance — JS adds .hero--animated after first paint */
.hero--animated .hero__logo     { animation: heroReveal 0.8s ease forwards; }
.hero--animated .hero__announce { animation: heroReveal 0.8s ease 0.05s forwards; }
.hero--animated .hero__headline { animation: heroReveal 0.8s ease 0.15s forwards; }
.hero--animated .hero__subhead  { animation: heroReveal 0.8s ease 0.25s forwards; }
.hero--animated .hero__cta     { animation: heroReveal 0.8s ease 0.35s forwards; }

@keyframes heroReveal {
  from {
    opacity: 0.01;
    transform: translateY(20px);
  }
}

/* --- Primary CTA Button --- */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-magenta);
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-magenta-dark));
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.btn-primary:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 35, 90, 0.4);
}

.btn-primary:hover::before {
  left: 0;
}

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

/* Secondary (outline) button */
.btn-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-magenta);
  background: transparent;
  padding: 0.85rem 2rem;
  border: 2px solid var(--color-magenta);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--color-magenta);
  color: var(--color-white);
}

/* ============================================================
   SECTION 2: THE VIBE
   ============================================================ */
.vibe {
  background: var(--color-cream);
  position: relative;
}

/* Diagonal top edge */
.vibe::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--color-cream);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.vibe__intro {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.vibe__intro p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.vibe__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.vibe__card {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-magenta);
  transition: transform var(--transition), box-shadow var(--transition);
}

.vibe__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.vibe__card:nth-child(2) {
  border-left-color: var(--color-gold);
}

.vibe__card:nth-child(3) {
  border-left-color: var(--color-black);
}

.vibe__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--color-cream);
}

.vibe__card-content h3 {
  margin-bottom: 0.25rem;
}

.vibe__card-content p {
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

/* ============================================================
   SECTION 3: CLASS DETAILS
   ============================================================ */
.classes {
  background: var(--color-black);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Decorative diagonal accent */
.classes::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(245, 166, 35, 0.06) 100%);
  pointer-events: none;
}

.classes .section-label {
  color: var(--color-gold);
}

.classes h2 {
  color: var(--color-white);
}

.classes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.class-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.class-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.class-card__level {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.class-card--beginner .class-card__level {
  background: var(--color-magenta);
  color: var(--color-white);
}

.class-card--intermediate .class-card__level {
  background: var(--color-gold);
  color: var(--color-black);
}

.class-card h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.class-card__detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.class-card__detail svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-gold);
}

.class-card__desc {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.class-card__fit {
  font-style: italic;
  color: var(--color-gold);
  margin-top: 0.5rem;
}

.classes__pricing {
  text-align: center;
  margin-top: var(--space-lg);
}

.classes__price {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-gold);
}

.classes__price-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.classes__location {
  margin-top: var(--space-md);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.classes__location a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.classes__location a:hover {
  color: var(--color-white);
}

/* ============================================================
   SECTION 4: GALLERY
   ============================================================ */
.gallery {
  background: var(--color-cream);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

/* Video item */
.gallery__item--video {
  position: relative;
}

.gallery__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px;
  height: 64px;
  background: rgba(184, 35, 90, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.gallery__play-btn svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
  margin-left: 3px;
}

.gallery__item--video:hover .gallery__play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-magenta);
}

/* Polaroid divider */
.gallery__divider {
  margin: var(--space-lg) 0;
  text-align: center;
}

.gallery__divider img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 0 auto;
}

/* Theme song player */
.theme-song {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-black);
  border-radius: 100px;
  max-width: 420px;
}

.theme-song__btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.theme-song__btn:hover {
  background: var(--color-magenta-dark);
  transform: scale(1.05);
}

.theme-song__btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

.theme-song__btn .icon-pause { display: none; }
.theme-song__btn.is-playing .icon-play { display: none; }
.theme-song__btn.is-playing .icon-pause { display: block; }

/* Spin animation for playing state */
.theme-song__btn.is-playing {
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.theme-song__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.4;
}

.theme-song__text strong {
  color: var(--color-gold);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   SECTION 5: VALUE PROP
   ============================================================ */
.value {
  background: var(--color-cream-dark);
  position: relative;
}

/* Diagonal top */
.value::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--color-cream-dark);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.value__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.value__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.value__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.value__check svg {
  width: 14px;
  height: 14px;
  color: var(--color-white);
}

.value__item p {
  font-size: 1.05rem;
}

.value__item strong {
  color: var(--color-black);
}

/* Testimonial placeholder */
.testimonials-grid {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  margin-top: 0;
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-gold);
  position: relative;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-charcoal);
  line-height: 1.5;
}

.testimonial__author {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-magenta);
}

/* ============================================================
   TAGLINE BANNER (Rally Cry)
   ============================================================ */
.rallycry {
  background: var(--color-black);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal gold accent */
.rallycry::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.rallycry__text {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0;
}

.rallycry__text span {
  display: inline-block;
  margin: 0 0.15em;
}

.rallycry__text span:nth-child(1) { color: var(--color-magenta); }
.rallycry__text span:nth-child(2) { color: var(--color-gold); }
.rallycry__text span:nth-child(3) { color: var(--color-white); }

.rallycry__sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-sm);
  letter-spacing: 0.02em;
}

/* ============================================================
   SECTION 6: LEAD CAPTURE FORM
   ============================================================ */
.signup {
  background: var(--color-magenta);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Diagonal geometric accent */
.signup::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--color-magenta);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.signup::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, transparent 30%, rgba(245, 166, 35, 0.1) 100%);
  pointer-events: none;
}

.signup .section-label {
  color: var(--color-gold);
}

.signup h2 {
  color: var(--color-white);
}

.signup__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
  max-width: 500px;
}

.signup__form-wrapper {
  position: relative;
  z-index: 1;
  margin-top: var(--space-md);
  max-width: 560px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select {
  padding: 0.85rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.15);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--color-black);
  color: var(--color-white);
}

/* Honeypot — visually hidden but not display:none */
.form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  tab-index: -1;
}

.form-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-magenta);
  background: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  margin-top: var(--space-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: var(--color-gold);
  color: var(--color-black);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* Spinner */
.form-submit-btn .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spinner 0.6s linear infinite;
}

.form-submit-btn.is-loading .spinner {
  display: block;
}

.form-submit-btn.is-loading .btn-text {
  opacity: 0.5;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

/* Success state — the Boot Stamp */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.form-success.is-visible {
  display: block;
}

.boot-stamp {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--space-md);
  position: relative;
  animation: stampSlam 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.boot-stamp__circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(-12deg);
}

.boot-stamp__text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.boot-stamp__icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

/* Gold sparkle burst */
.boot-stamp::before,
.boot-stamp::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.4) 0%, transparent 60%);
  border-radius: 50%;
  animation: sparkleBurst 0.8s ease-out both;
  pointer-events: none;
}

.boot-stamp::after {
  animation-delay: 0.1s;
  width: 250%;
  height: 250%;
  top: -75%;
  left: -75%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.2) 0%, transparent 50%);
}

@keyframes stampSlam {
  0% {
    transform: scale(3) rotate(-20deg);
    opacity: 0;
  }
  60% {
    transform: scale(0.9) rotate(-10deg);
    opacity: 1;
  }
  80% {
    transform: scale(1.05) rotate(-13deg);
  }
  100% {
    transform: scale(1) rotate(-12deg);
  }
}

@keyframes sparkleBurst {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.form-success h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: var(--space-xs);
}

.form-success p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

/* Error state */
.form-error {
  display: none;
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--color-gold);
}

.form-error.is-visible {
  display: block;
}

/* Facebook return visitor — register & pay */
.fb-return {
  display: none;
  text-align: center;
  padding: var(--space-md) 0;
}

.fb-return.is-visible {
  display: block;
}

.fb-return h3 {
  color: var(--color-white);
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.fb-return p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-register {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-magenta);
  background: var(--color-white);
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: var(--color-gold);
  color: var(--color-black);
}

/* "Ready to Register?" gold button — works on dark hero and dark signup bg */
.btn-gold {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  background: var(--color-gold);
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.45);
  background: #ffb93a;
  color: var(--color-black);
}

.btn-gold:active {
  transform: translateY(0);
}

/* Bottom "skip the form" direct-register block */
.signup__direct {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.signup__direct-sub {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.signup__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup__divider::before,
.signup__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.fb-return__alt {
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-top: var(--space-md) !important;
  margin-bottom: 0 !important;
}

.fb-return__show-form {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-gold);
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
}

.fb-return__show-form:hover {
  color: var(--color-white);
}

/* ============================================================
   SECTION 7: FAQ
   ============================================================ */
.faq {
  background: var(--color-cream);
}

.faq__list {
  margin-top: var(--space-md);
  max-width: 720px;
}

.faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-sm) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-black);
  text-align: left;
  transition: color var(--transition);
  gap: var(--space-sm);
}

.faq__question:hover {
  color: var(--color-magenta);
}

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.faq__icon svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.faq__item.is-open .faq__icon {
  background: var(--color-magenta);
}

.faq__item.is-open .faq__icon svg {
  transform: rotate(180deg);
  color: var(--color-white);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__answer-inner {
  padding: 0 0 var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

/* ============================================================
   SECTION 8: FOOTER
   ============================================================ */
.footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-lg) 0 var(--space-md);
  text-align: center;
}

.footer__logo {
  width: 100px;
  margin: 0 auto var(--space-sm);
  opacity: 0.9;
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.footer__location {
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.footer__social-link:hover {
  border-color: var(--color-gold);
  background: rgba(245, 166, 35, 0.1);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__email {
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.footer__email a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__email a:hover {
  color: var(--color-white);
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.is-active {
  display: flex;
  opacity: 1;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox__content img,
.lightbox__content video {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

.lightbox__prev { left: var(--space-md); }
.lightbox__next { right: var(--space-md); }

/* ============================================================
   RESPONSIVE — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .vibe__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vibe__card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

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

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

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

/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  section {
    padding: var(--space-2xl) 0;
  }

  .hero__banner-inner {
    padding: 0 var(--space-md);
    position: relative;
    height: 162px;
  }

  .hero__banner-logo {
    width: 162px;
    height: 162px;
    position: absolute;
    left: var(--space-md);
    top: 0;
  }

  .hero__banner-text {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .hero__banner-name {
    font-size: 4.8rem;
  }

  .hero__banner-sub {
    font-size: 1.15rem;
    letter-spacing: 0.2em;
    margin-top: 0.25rem;
  }

  .hero__content {
    padding-top: 200px;
  }

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

  /* Asymmetric gallery — first item spans 2 cols */
  .gallery__grid .gallery__item:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

/* ============================================================
   RESPONSIVE — LARGE (1440px+)
   ============================================================ */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

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

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

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .hero__bg,
  .lightbox,
  .theme-song,
  body::before {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
