/* ═══════════════════════════════════════════════════════════
   iLINDY — LANDING PAGES

   Loaded only by src/pages/lp/[slug].astro. Everything here is
   built on the v3.css tokens, so a funnel written by someone
   who has never opened the CSS still lands in the same visual
   world as the rest of the site.

   Sections alternate light and dark deliberately. A long sales
   page on one ground reads as a wall; the alternation gives the
   eye a rhythm and makes each section feel like a separate
   claim rather than more of the same paragraph.
   ═══════════════════════════════════════════════════════════ */

/* ── hero ─────────────────────────────────────────────────── */
.lp-hero {
  background: var(--night);
  color: var(--white);
  padding-block: clamp(7rem, 14vw, 10rem) clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.lp-hero::after {
  /* A warm bloom behind the copy so the headline sits on light rather
     than flat black. Pointer-events off — it must never eat a CTA click. */
  content: '';
  position: absolute;
  inset: -30% -10% auto -20%;
  height: 70%;
  background: radial-gradient(50% 60% at 30% 40%, rgba(249, 202, 71, 0.14), transparent 70%);
  pointer-events: none;
}

.lp-hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.lp-hero-copy .display { margin-top: 1.1rem; }
.lp-lede {
  font-size: clamp(1.08rem, 2.1vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 46ch;
  margin-top: 1.3rem;
}

.lp-hero-media img,
.lp-hero-media .lp-video {
  border-radius: 1.5rem;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  width: 100%;
}
.lp-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── calls to action ──────────────────────────────────────── */
.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 2.1rem;
}
.lp-cta-row--center { justify-content: center; }
.lp-cta-note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.lp-section--light .lp-cta-note,
.lp-section--gold .lp-cta-note { color: var(--ink-muted); }

/* On gold, a gold button disappears. Invert it to the indigo. */
.lp-btn-invert { background: var(--indigo); color: var(--white); }
.lp-btn-invert:hover { background: #241f6d; color: var(--white); }

/* ── section grounds ──────────────────────────────────────── */
.lp-section { padding-block: clamp(4rem, 9vw, 7rem); }
.lp-section--light { background: var(--cream); color: var(--ink); }
.lp-section--dark { background: var(--night); color: var(--white); }
.lp-section--gold { background: var(--gold); color: var(--ink); text-align: center; }

.lp-section--light .display { color: var(--indigo); }
.lp-section--dark .display { color: var(--white); }
.lp-section--gold .display { color: var(--indigo); }
.lp-section--dark .kicker { color: var(--gold); }
.lp-section--gold .kicker { color: rgba(26, 26, 46, 0.65); }

.lp-body {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 60ch;
  margin-top: 1.2rem;
}
.lp-section--dark .lp-body { color: rgba(255, 255, 255, 0.78); }
.lp-section--light .lp-body { color: #3b3852; }
.lp-section--gold .lp-body { margin-inline: auto; }

/* ── card grids ───────────────────────────────────────────── */
.lp-grid { display: grid; gap: 1.4rem; margin-top: 2.8rem; }
@media (min-width: 720px) { .lp-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.lp-card {
  background: var(--white);
  border: 1px solid rgba(50, 45, 143, 0.12);
  border-radius: 1.2rem;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.06);
}
.lp-card h3 { color: var(--indigo); font-size: 1.1rem; font-weight: 800; }
.lp-card p { margin-top: 0.5rem; color: var(--ink-muted); font-size: 0.97rem; line-height: 1.6; }

/* ── guide ────────────────────────────────────────────────── */
.lp-split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .lp-split { grid-template-columns: 1.1fr 0.9fr; } }
.lp-portrait { width: 100%; border-radius: 1.5rem; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); }

.lp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.lp-stats b {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.lp-stats span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ── the plan ─────────────────────────────────────────────── */
.lp-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.2rem;
  margin-top: 2.8rem;
  padding: 0;
}
@media (min-width: 820px) { .lp-steps { grid-template-columns: repeat(3, 1fr); } }
.lp-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.lp-step-n {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--indigo);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
}
.lp-steps h3 { color: var(--indigo); font-size: 1.08rem; font-weight: 800; }
.lp-steps p { margin-top: 0.35rem; color: var(--ink-muted); font-size: 0.97rem; line-height: 1.6; }

/* ── the offer ────────────────────────────────────────────── */
.lp-offer { display: flex; flex-direction: column; align-items: center; }
.lp-includes {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 2.2rem auto 0;
  padding: 0;
  text-align: left;
  max-width: 34rem;
}
.lp-includes li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 1.02rem;
  line-height: 1.55;
}
.lp-includes li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-6.5' fill='none' stroke='%23F9CA47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.lp-guarantee { margin-top: 1.4rem; font-size: 0.92rem; color: rgba(26, 26, 46, 0.7); }

/* ── proof ────────────────────────────────────────────────── */
.lp-quote {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(50, 45, 143, 0.12);
  border-radius: 1.2rem;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.lp-quote blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  flex-grow: 1;
}
.lp-quote blockquote::before { content: '\201C'; color: var(--gold); font-size: 1.6em; line-height: 0; vertical-align: -0.35em; margin-right: 0.1em; }
.lp-quote figcaption { display: flex; align-items: center; gap: 0.75rem; }
.lp-quote figcaption img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; }
.lp-quote figcaption b { display: block; font-size: 0.94rem; color: var(--indigo); }
.lp-quote figcaption i { display: block; font-style: normal; font-size: 0.82rem; color: var(--ink-muted); }

/* ── stakes ───────────────────────────────────────────────── */
.lp-stakes { display: grid; gap: 1.4rem; margin-top: 2.8rem; }
@media (min-width: 760px) { .lp-stakes { grid-template-columns: 1fr 1fr; } }
.lp-stakes-col { border-radius: 1.2rem; padding: 1.8rem 1.6rem; }
.lp-stakes-col h3 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}
.lp-stakes-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.lp-stakes-col li { font-size: 1rem; line-height: 1.55; padding-left: 1.4rem; position: relative; }
.lp-stakes-col li::before { position: absolute; left: 0; top: 0; }

.lp-stakes-col--without { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.lp-stakes-col--without h3 { color: rgba(255, 255, 255, 0.5); }
.lp-stakes-col--without li { color: rgba(255, 255, 255, 0.62); }
.lp-stakes-col--without li::before { content: '\2715'; color: rgba(255, 255, 255, 0.3); }

.lp-stakes-col--with { background: rgba(249, 202, 71, 0.1); border: 1px solid rgba(249, 202, 71, 0.35); }
.lp-stakes-col--with h3 { color: var(--gold); }
.lp-stakes-col--with li { color: var(--white); }
.lp-stakes-col--with li::before { content: '\2713'; color: var(--gold); }

/* ── faq ──────────────────────────────────────────────────── */
.lp-faq { margin-top: 2.4rem; border-top: 1px solid rgba(50, 45, 143, 0.14); }
.lp-faq details { border-bottom: 1px solid rgba(50, 45, 143, 0.14); }
.lp-faq summary {
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--indigo);
  list-style: none;
  position: relative;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: '+';
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.25s var(--ease);
}
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq p { padding: 0 0 1.3rem; color: #3b3852; line-height: 1.7; max-width: 62ch; }

@media (prefers-reduced-motion: reduce) {
  .lp-faq summary::after { transition: none; }
}

/* ── campaign sections ──────────────────────────────────────
   Built from the Dance Friday page. Every section holds approved copy as
   written, so layouts take any length and any count. Motion runs on the
   site's swing phrase (--beat) and only when the page sets theme.motion. */

.lp-hero--art { background: linear-gradient(180deg, var(--night) 0, var(--night) 90px, rgba(15, 13, 30, 0) 220px), var(--lp-hero-bg) center / cover no-repeat, var(--night); }
.lp-hero .hero-arcs { z-index: 0; }
.lp-hero h1 em { font-style: normal; color: var(--gold); }
.lp-kicker { flex-wrap: wrap; gap: 0.35rem 0.75rem; }
.lp-kicker > * { white-space: nowrap; }
.lp-kicker s { opacity: 0.7; }
.lp-hero-media { position: relative; }
.lp-motion .lp-hero-media::before { content: ''; position: absolute; inset: 1.2rem -1rem -1rem 1.2rem; border-radius: 1.6rem; border: 2px solid var(--gold); opacity: 0.6; }
.lp-hero-media img { position: relative; z-index: 1; height: auto; }

.lp-star { position: absolute; z-index: 2; width: var(--s, 22px); height: var(--s, 22px); color: var(--c, var(--gold)); pointer-events: none; }
.lp-star svg { width: 100%; height: 100%; display: block; }

/* The big clock: boxed digits. */
.lp-clock .cd { gap: 0.8rem; }
.lp-clock .cd-label { font-size: 0.9rem; }
.lp-clock .cd-units { gap: clamp(0.35rem, 1.5vw, 0.7rem); align-items: stretch; }
.lp-clock .cd-unit { min-width: clamp(4rem, 17vw, 6rem); padding: clamp(0.7rem, 2vw, 1rem) 0.4rem 0.7rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.07); border: 2px solid rgba(249, 202, 71, 0.55); }
.lp-clock .cd-unit b { font-size: clamp(2.3rem, 8vw, 3.8rem); color: var(--gold); }
.lp-clock .cd-unit i { font-size: 0.75rem; margin-top: 0.45rem; }
.lp-clock .cd-sep { display: none; }
.lp-clock--light { display: flex; justify-content: center; margin-top: 1.8rem; }
.lp-clock--light .cd { align-items: center; }
.lp-clock--light .cd-label { color: var(--indigo); }
.lp-clock--light .cd-unit { background: var(--indigo); border-color: var(--indigo); }
.lp-clock--light .cd-unit i { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 359px) { .lp-clock .cd-unit { min-width: 3.4rem; } }

/* Top-bar clock that waits for the hero clock to scroll away; phones get a strip under the bar. */
.nav-lp-cta { min-height: 44px; }
.lp-strip { display: none; }
html:has(.lp-nav-scroll) .nav-cd { opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
html.lp-show-clock .nav-cd { opacity: 1; visibility: visible; }
@media (max-width: 51.99rem) {
  .lp-strip { position: fixed; left: 0; right: 0; top: var(--lp-nav-h, 64px); z-index: 90; display: flex; justify-content: center; padding: 0.45rem 1rem; background: var(--gold); color: var(--night); transform: translateY(-110%); opacity: 0; visibility: hidden; transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0.4s; }
  html.lp-show-clock .lp-strip { transform: none; opacity: 1; visibility: visible; }
  .lp-strip .cd-label, .lp-strip .cd-unit b { color: var(--night); }
  .lp-strip .cd-unit i, .lp-strip .cd-sep { color: rgba(15, 13, 30, 0.7); }
}

/* Ticker */
.lp-ticker { background: var(--gold); color: var(--night); overflow: hidden; border-block: 3px solid var(--night); }
.lp-ticker-row { display: flex; width: max-content; }
.lp-ticker ul { display: flex; align-items: center; gap: 1.6rem; padding: 0.9rem 0.8rem; margin: 0; list-style: none; }
.lp-ticker li { display: flex; align-items: center; gap: 1.6rem; font-family: var(--font-display); font-weight: 900; font-size: clamp(1rem, 2.4vw, 1.4rem); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.lp-ticker li svg { width: 1em; height: 1em; color: var(--indigo); }

/* Collage */
.lp-collage { background: var(--cream); color: var(--ink); padding: clamp(4.5rem, 9vw, 7rem) 0; overflow: hidden; }
.lp-collage-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 900px) { .lp-collage-grid { grid-template-columns: 1fr 1fr; } }
.lp-collage .kicker { color: var(--indigo); }
.lp-collage h2 { font-family: var(--font-heading); font-weight: 900; color: var(--indigo); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 0.6rem; text-wrap: balance; }
.lp-collage p { margin-top: 1.2rem; font-size: 1.15rem; line-height: 1.65; max-width: 36rem; }
.lp-photos { position: relative; height: clamp(320px, 62vw, 460px); }
.lp-photo { position: absolute; margin: 0; padding: 0.55rem; background: var(--white); border-radius: 0.5rem; box-shadow: 0 18px 40px rgba(26, 26, 46, 0.18); }
.lp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0.25rem; }
.lp-photo figcaption { font-family: var(--font-heading); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); padding: 0.55rem 0.2rem 0.1rem; }
.lp-photo:has(figcaption) img { height: calc(100% - 2rem); }
.lp-photo:nth-child(1) { --r: -4deg; width: 58%; height: 62%; left: 0; top: 6%; transform: rotate(var(--r)); }
.lp-photo:nth-child(2) { --r: 3deg; --n: 1; width: 50%; height: 48%; right: 0; top: 0; transform: rotate(var(--r)); }
.lp-photo:nth-child(3) { --r: -2deg; --n: 0.5; width: 52%; height: 50%; right: 8%; bottom: 0; transform: rotate(var(--r)); z-index: 2; }
.lp-photos--1 { height: auto; }
.lp-photos--1 .lp-photo { position: relative; width: 100%; height: auto; inset: auto; }
.lp-photos--1 .lp-photo img { height: auto; }
.lp-photos--2 .lp-photo:nth-child(2) { top: auto; bottom: 0; height: 56%; }

/* Pricing */
.lp-pricing { background: var(--white); color: var(--ink); padding: clamp(4.5rem, 9vw, 7rem) 0; position: relative; }
.lp-pricing .kicker { color: var(--indigo); display: flex; justify-content: center; }
.lp-pricing h2, .lp-gallery h2 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.9rem, 4vw, 2.8rem); text-align: center; color: var(--indigo); text-wrap: balance; }
.lp-pricing-sub, .lp-gallery-sub { text-align: center; margin-top: 0.6rem; color: var(--ink-muted); font-size: 1.1rem; }
.lp-plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; margin-top: 2.8rem; align-items: stretch; }
@media (min-width: 640px) {
  .lp-plan-grid--2, .lp-plan-grid--3, .lp-plan-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-plan-grid--3 .lp-plan:last-child { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .lp-plan-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-plan-grid--3 .lp-plan:last-child { grid-column: auto; }
  .lp-plan-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-plan-grid--1 { max-width: 26rem; margin-inline: auto; }
}
.lp-plan { position: relative; display: flex; flex-direction: column; gap: 0.4rem; padding: 2.2rem 1.8rem 2rem; border-radius: 1.4rem; border: 1px solid rgba(50, 45, 143, 0.18); background: var(--cream); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.lp-plan:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(26, 26, 46, 0.12); }
.lp-plan--featured { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.lp-plan--featured h3, .lp-plan--featured .lp-plan-now { color: var(--white); }
.lp-plan--featured .lp-plan-line, .lp-plan--featured .lp-plan-was { color: rgba(255, 255, 255, 0.78); }
.lp-badge { position: absolute; z-index: 2; top: -0.9rem; left: 1.6rem; background: var(--gold); color: var(--night); font-family: var(--font-heading); font-weight: 900; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.4rem 0.9rem; border-radius: 999px; }
.lp-plan-art { display: block; width: calc(100% + 3.6rem); max-width: none; height: auto; aspect-ratio: 800 / 485; object-fit: cover; margin: -2.2rem -1.8rem 1rem; border-radius: 1.4rem 1.4rem 0 0; }
.lp-plan h3 { font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; color: var(--indigo); }
.lp-plan-line { color: var(--ink-muted); }
.lp-plan-was { margin-top: 1rem; color: var(--ink-muted); font-size: 0.95rem; }
.lp-plan-was s { text-decoration-thickness: 2px; }
.lp-plan-now { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-plan .btn { margin-top: auto; white-space: normal; text-align: center; }
.lp-plan-now + .btn { margin-top: 1.4rem; }
.lp-pricing-note { margin-top: 1.8rem; text-align: center; color: var(--ink-muted); }

/* Includes */
.lp-inc { background: var(--night); color: var(--white); padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.lp-inc .kicker { color: var(--gold); }
.lp-inc h2 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 0.6rem; }
.lp-inc-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.8rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .lp-inc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-inc-list li { display: flex; gap: 1rem; align-items: center; padding: 0.9rem 1rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.05); font-size: 1.08rem; color: rgba(255, 255, 255, 0.9); }
.lp-icon { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--night); }
.lp-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-teachers { margin-top: clamp(2.5rem, 5vw, 3.5rem); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-teachers-row { display: flex; width: max-content; }
.lp-teachers ul { display: flex; gap: 1rem; padding: 0.5rem; margin: 0; list-style: none; }
.lp-teachers img { width: clamp(96px, 14vw, 140px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--gold); }
.lp-teachers-cap { margin-top: 1rem; text-align: center; color: rgba(255, 255, 255, 0.75); }

/* Gallery: 1, 2 or 4 columns; wide cards are picked in the template so rows fill. */
.lp-gallery { background: var(--cream-2); color: var(--ink); padding: clamp(4.5rem, 9vw, 7rem) 0; overflow: hidden; }
.lp-gallery .kicker { color: var(--indigo); display: flex; justify-content: center; }
.lp-grid-cards { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; margin: 2.6rem 0 0; padding: 0; }
@media (min-width: 640px) { .lp-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-grid-cards .lp-w2 { grid-column: span 2; } }
@media (min-width: 1024px) { .lp-grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lp-grid-cards .lp-w2 { grid-column: auto; } .lp-grid-cards .lp-w4 { grid-column: span 2; } }
.lp-grid-cards li { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.2rem; background: var(--indigo); color: var(--white); box-shadow: 0 12px 30px rgba(26, 26, 46, 0.1); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.lp-grid-cards li:nth-child(3n + 2) { background: var(--night); }
.lp-grid-cards li:nth-child(3n) { background: var(--gold); color: var(--ink); }
.lp-grid-cards li:hover { transform: translateY(-6px) rotate(-0.8deg); box-shadow: 0 22px 45px rgba(26, 26, 46, 0.18); }
.lp-grid-cards img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 1024px) { .lp-grid-cards .lp-w4 img { aspect-ratio: 21 / 9; } }
.lp-grid-cards p { flex: 1; margin: 0; padding: 1.2rem 1.3rem 1.4rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; line-height: 1.4; }
.lp-grid-cards .lp-noimg p { display: flex; align-items: flex-end; min-height: 11rem; }

/* Closing band with a photo behind it */
.lp-band--photo .lp-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.lp-band--photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15, 13, 30, 0.78), rgba(15, 13, 30, 0.9)); }
.lp-band--photo .marquee-lights { position: relative; z-index: 2; }
.cta-band h2 em { font-style: normal; color: var(--white); }
.lp-band--photo h2 { color: var(--white); }
.lp-band--photo h2 em { color: var(--gold); }
.lp-fine { margin-top: 0.9rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }

@media (prefers-reduced-motion: no-preference) {
  .lp-motion .lp-star { animation: lp-twinkle calc(var(--beat) * 2) var(--ease) infinite; animation-delay: calc(var(--beat) * var(--n, 0)); }
  @keyframes lp-twinkle { 0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0.55; } 18% { transform: scale(1.15) rotate(20deg); opacity: 1; } }
  .lp-motion .lp-hero-media img { animation: lp-sway calc(var(--beat) * 4) ease-in-out infinite; transform-origin: 50% 90%; }
  @keyframes lp-sway { 0%, 100% { transform: rotate(-1.4deg) translateY(0); } 25% { transform: rotate(0) translateY(-6px); } 50% { transform: rotate(1.4deg) translateY(0); } 75% { transform: rotate(0) translateY(-6px); } }
  .lp-ticker-row, .lp-teachers-row { animation: lp-slide calc(var(--phrase) * 6) linear infinite; }
  .lp-teachers-row { animation-duration: calc(var(--phrase) * 10); }
  @keyframes lp-slide { to { transform: translateX(-50%); } }
  .lp-motion .lp-photo { animation: lp-bounce calc(var(--beat) * 2) ease-in-out infinite; animation-delay: calc(var(--beat) * var(--n, 0)); }
  @keyframes lp-bounce { 0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); } 50% { transform: rotate(calc(var(--r, 0deg) * -0.5)) translateY(-10px); } }
  .lp-motion .lp-badge { animation: lp-bob calc(var(--beat) * 2) ease-in-out infinite; }
  @keyframes lp-bob { 50% { transform: translateY(-4px) rotate(-2deg); } }
  .lp-icon { transition: transform 0.4s var(--ease); }
  .lp-inc-list li:hover .lp-icon { transform: rotate(-12deg) scale(1.08); }
  .lp-reveal li { opacity: 0; transform: translateY(48px) rotate(var(--tilt, -3deg)) scale(0.96); transition: opacity 0.7s var(--ease), transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s var(--ease); }
  .lp-reveal li:nth-child(even) { --tilt: 3deg; }
  .lp-reveal li:nth-child(4n + 2) { transition-delay: calc(var(--beat) * 0.5); }
  .lp-reveal li:nth-child(4n + 3) { transition-delay: calc(var(--beat) * 1); }
  .lp-reveal li:nth-child(4n) { transition-delay: calc(var(--beat) * 1.5); }
  .lp-reveal li.in { opacity: 1; transform: none; }
  .lp-reveal li.in:hover { transform: translateY(-6px) rotate(-0.8deg); transition-delay: 0s; }
}

/* Panel previews: a label nobody mistakes for the live page. */
.lp-draft { position: fixed; left: 1rem; bottom: 1rem; z-index: 120; margin: 0; padding: 0.5rem 0.9rem; border-radius: 999px; background: #b42318; color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); pointer-events: none; }
