/* L1 split-canvas hero — agreed production landing (painting right, copy left).
 * Standalone bundle so we don’t resurrect the old 10-variant gallery.
 */

.site-main.site-main--landing {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ── Full-bleed painting hero, headline centered (no book/black-block split) ── */
/* 2026-05-31: the hero now owns the WHOLE first screen (100svh, not minus the
 * header) so the painting covers the entire page on arrival, and a quiet
 * scroll-cue at the bottom tells the visitor there's more below. */
.site-l1-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 2026-06-04: painting moved to ::before so it can be ALPHA-MASKED to fade
     into the real page background (no white bar, no white fade). */
  background: transparent;
  overflow: hidden;
}

/* Scroll-down cue — faint label + bouncing chevron over the painting. */
.site-l1-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.1rem, 3.5vh, 2.4rem);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 248, 240, 0.9);
  text-decoration: none;
  pointer-events: auto;
}
.site-l1-scroll-cue__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.site-l1-scroll-cue__chevron {
  display: block;
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
  animation: site-l1-scroll-bounce 1.8s ease-in-out infinite;
}
.site-l1-scroll-cue:hover { color: #fff8ee; }
@keyframes site-l1-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .site-l1-scroll-cue__chevron { animation: none; }
}
/* Soft vignette so the centered text is legible over the painting — not a hard block. */
.site-l1-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* 2026-06-04: NO fade at the bottom (user: "i don't want a faded transition").
     The painting fills the hero to a clean edge; the section below starts right
     after with no faded band. */
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(18,12,6,0.30) 0%, rgba(18,12,6,0.58) 100%),
    url('/watercolor/birmingham-museums-trust-nbneQlI2M1A-unsplash.jpg') center/cover fixed no-repeat;
  pointer-events: none;
}

.site-l1-hero-grid {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  padding: 2rem 1.5rem;
}

/* The painting aside is gone — the painting is now the whole hero. */
.site-l1-hero-painting { display: none !important; }

.site-l1-hero-copy {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
}

.site-l1-hero-copy .site-hero { padding: 0; }

.site-l1-hero-copy .site-hero-kicker {
  color: #ffdca6;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.site-l1-hero-copy .site-hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0.7rem 0 1.1rem;
  color: #fffaf2;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.4);
  max-width: 18ch;
}

.site-l1-hero-copy .site-hero-body {
  max-width: 50ch;
  margin: 0 auto;
  color: rgba(255, 248, 240, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.site-l1-hero-copy .site-hero-actions {
  justify-content: center;
  margin-top: 1.6rem;
}

/* Hero — speech lab strip: editorial rail + stamp (not a generic “AI card”) */
.site-l1-hero-copy .site-hero-speech-showcase {
  margin: 1.15rem 0 0;
  max-width: min(52ch, 100%);
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  gap: 0.85rem 1rem;
  align-items: stretch;
}

.site-l1-hero-copy .site-hero-speech-showcase__rail {
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(217, 119, 87, 0.95) 0%,
    rgba(184, 137, 59, 0.55) 42%,
    rgba(74, 143, 184, 0.45) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.site-l1-hero-copy .site-hero-speech-showcase__body {
  position: relative;
  padding: 0.65rem 0.85rem 0.75rem 0.5rem;
  border-radius: 0 14px 14px 14px;
  border: 1px solid rgba(201, 184, 154, 0.45);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.94), rgba(255, 248, 236, 0.72));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 14px 36px rgba(24, 18, 12, 0.06);
}

.site-l1-hero-copy .site-hero-speech-showcase__stamp {
  position: absolute;
  top: -0.35rem;
  right: 0.65rem;
  transform: rotate(-11deg);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(92, 60, 28, 0.35);
  border: 2px solid rgba(92, 60, 28, 0.28);
  border-radius: 3px;
  padding: 0.2rem 0.45rem 0.22rem;
  pointer-events: none;
}

.site-l1-hero-copy .site-hero-speech-showcase__text {
  margin: 0;
  padding-right: 4.5rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(60, 52, 44, 0.82);
}

.site-l1-hero-copy .site-hero-speech-showcase__link {
  font-weight: 700;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  color: rgba(92, 60, 28, 0.98);
  text-decoration: none;
  border-bottom: 2px solid rgba(217, 119, 87, 0.55);
  padding-bottom: 1px;
}

.site-l1-hero-copy .site-hero-speech-showcase__link:hover {
  color: rgba(62, 38, 22, 1);
  border-bottom-color: rgba(184, 137, 59, 0.85);
}

.site-l1-hero-copy .site-hero-speech-showcase__wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  margin-top: 0.65rem;
  opacity: 0.55;
}

.site-l1-hero-copy .site-hero-speech-showcase__wave span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: rgba(74, 143, 184, 0.55);
  animation: site-hero-speech-wave 1.1s ease-in-out infinite;
}

.site-l1-hero-copy .site-hero-speech-showcase__wave span:nth-child(1) {
  height: 8px;
  animation-delay: 0ms;
}
.site-l1-hero-copy .site-hero-speech-showcase__wave span:nth-child(2) {
  height: 16px;
  background: rgba(217, 119, 87, 0.55);
  animation-delay: 80ms;
}
.site-l1-hero-copy .site-hero-speech-showcase__wave span:nth-child(3) {
  height: 11px;
  animation-delay: 160ms;
}
.site-l1-hero-copy .site-hero-speech-showcase__wave span:nth-child(4) {
  height: 19px;
  animation-delay: 240ms;
}
.site-l1-hero-copy .site-hero-speech-showcase__wave span:nth-child(5) {
  height: 7px;
  animation-delay: 320ms;
}

@keyframes site-hero-speech-wave {
  0%,
  100% {
    transform: scaleY(0.72);
    opacity: 0.65;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-l1-hero-copy .site-hero-speech-showcase__wave span {
    animation: none;
  }
}

@media (max-width: 480px) {
  .site-l1-hero-copy .site-hero-speech-showcase__text {
    padding-right: 3.25rem;
  }
  .site-l1-hero-copy .site-hero-speech-showcase__stamp {
    right: 0.45rem;
    font-size: 0.52rem;
    letter-spacing: 0.22em;
  }
}

html.dark .site-l1-hero-copy .site-hero-speech-showcase__rail {
  background: linear-gradient(180deg, rgba(232, 150, 110, 0.55) 0%, rgba(184, 137, 59, 0.35) 55%, rgba(90, 140, 175, 0.35) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html.dark .site-l1-hero-copy .site-hero-speech-showcase__body {
  border-color: rgba(120, 100, 72, 0.35);
  background: linear-gradient(135deg, rgba(44, 38, 30, 0.92), rgba(32, 28, 22, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.dark .site-l1-hero-copy .site-hero-speech-showcase__stamp {
  color: rgba(240, 206, 160, 0.35);
  border-color: rgba(240, 206, 160, 0.28);
}

html.dark .site-l1-hero-copy .site-hero-speech-showcase__text {
  color: rgba(232, 224, 210, 0.82);
}

html.dark .site-l1-hero-copy .site-hero-speech-showcase__link {
  color: rgba(240, 206, 160, 0.95);
  border-bottom-color: rgba(232, 150, 110, 0.55);
}

html.dark .site-l1-hero-copy .site-hero-speech-showcase__link:hover {
  color: #fff8ee;
}

.site-l1-hero-painting {
  position: relative;
  background: url("/watercolor/birmingham-museums-trust-nbneQlI2M1A-unsplash.jpg") center / cover no-repeat;
  border-left: none;
  min-height: 240px;
}

.site-l1-hero-painting::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.04) 78%, var(--bg) 100%);
  pointer-events: none;
}

@media (max-width: 820px) {
  .site-l1-hero-grid {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .site-l1-hero-painting {
    min-height: 38vh;
    border-left: none;
    border-top: none;
  }

  .site-l1-hero-painting::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.045) 72%, var(--bg) 100%);
  }
}

.site-landing-try-outer {
  width: 100%;
  box-sizing: border-box;
  padding: 0 clamp(0.75rem, 3.5vw, 2.5rem);
}

.site-landing-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

#landing-try {
  margin: 0;
}

/* ── Left-prominent design-lab widgets (story + speech) ── */
.site-l1-band {
  width: 100%;
  padding: clamp(2.25rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* Story + speech row: sits on page bg, cards are their own surfaces (no band wash). */
.site-l1-band.site-l1-band--dl {
  padding: clamp(1.25rem, 2.5vw, 1.85rem) 0;
  background: transparent;
}

/* Side-by-side story (manuscript) + live speech analyzer — full width of try-outer */
.site-l1-dual-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.2vw, 1.75rem);
  align-items: start;
}

.site-l1-dual-pane {
  min-width: 0;
}

.site-l1-dual-pane .site-landing-dl-host {
  display: block;
}

@media (max-width: 1100px) {
  .site-l1-dual-grid {
    grid-template-columns: 1fr;
  }
}

.landing-speech-rich-feedback {
  margin-top: 0.65rem;
}

.landing-speech-rich-feedback[hidden] {
  display: none !important;
}

.landing-speech-rich-feedback .speech-feedback-listen-row {
  margin-top: 0.5rem;
}

.landing-speech-rich-feedback .speech-feedback-listen-btn {
  font: inherit;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.45rem;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.15));
  background: var(--surface-raised, rgba(255, 255, 255, 0.65));
  color: inherit;
  cursor: pointer;
}

.landing-speech-rich-feedback .speech-feedback-listen-btn:hover {
  filter: brightness(0.97);
}

/* ── Waitlist band ───────────────────────────────────────────────────── */

.site-waitlist-outer {
  width: 100%;
  box-sizing: border-box;
  padding: 0 clamp(0.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev, var(--bg));
}

.site-waitlist {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
}

.site-waitlist-inner {
  text-align: center;
}

.site-waitlist-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 0.45rem;
}

.site-waitlist-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 0.85rem;
}

.site-waitlist-body {
  max-width: 56ch;
  margin: 0 auto 1.4rem;
  color: var(--text-soft, inherit);
  line-height: 1.55;
}

.site-waitlist-form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.site-waitlist-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 220px;
  padding: 0.7rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  background: var(--surface-raised, rgba(255, 255, 255, 0.65));
  color: inherit;
}

.site-waitlist-form input[type="email"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.site-waitlist-form .site-btn-primary {
  flex: 0 0 auto;
  padding: 0.7rem 1.25rem;
}

.site-waitlist-status {
  min-height: 1.4em;
  margin: 0.85rem auto 0;
  font-size: 0.95rem;
  max-width: 56ch;
}

.site-waitlist-status.is-error {
  color: #b9472b;
}

.site-waitlist-status.is-success {
  color: #2f6a3a;
}

.site-waitlist-privacy {
  margin: 1rem auto 0;
  font-size: 0.8rem;
  color: var(--text-soft, rgba(0, 0, 0, 0.55));
  font-style: italic;
}

@media (max-width: 520px) {
  .site-waitlist-form {
    flex-direction: column;
  }
  .site-waitlist-form .site-btn-primary {
    width: 100%;
  }
}

/* ── Video strip (hero → waitlist) ─────────────────────────────────── */
.site-l1-video-strip {
  width: 100%;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(247, 241, 230, 0.55), transparent);
}

.site-l1-video-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.site-l1-video-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold);
}

.site-l1-video-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  letter-spacing: 0;
}

.site-l1-video-caption {
  margin: 0 auto 1.25rem;
  max-width: 52ch;
  color: var(--text-soft, rgba(0, 0, 0, 0.62));
  line-height: 1.55;
}

.site-l1-video-shell {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 22px 50px rgba(24, 18, 12, 0.1);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
}

.site-l1-video-placeholder {
  padding: 2rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-soft, rgba(0, 0, 0, 0.55));
  max-width: 44ch;
  line-height: 1.5;
}

.site-l1-video-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.site-l1-video-frame {
  width: 100%;
  height: 100%;
}

.site-l1-video-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* First-interaction waitlist nudge (does not block the demo) */
.site-l1-dual-stack {
  position: relative;
}

.site-l1-landing-nudge {
  display: none;
  margin: 0.85rem 0 0;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(184, 146, 42, 0.35);
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 10px 28px rgba(24, 18, 12, 0.08);
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-l1-landing-nudge.is-visible {
  display: flex;
}

html.dark .site-l1-landing-nudge {
  background: rgba(40, 34, 26, 0.92);
  border-color: rgba(201, 168, 76, 0.32);
}

.site-l1-landing-nudge p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 52ch;
}

.site-l1-landing-nudge .site-btn {
  flex-shrink: 0;
}

/* ── `hidden` must actually hide (convergence patch P1.3) ──────────────────
 * Found by driving: the flag-gated demo CTA shipped with the `hidden`
 * attribute set and rendered anyway, because a `display:` rule on .site-btn
 * silently outranks it. The HTML attribute only wins when nothing else sets
 * display — which on a styled button is never.
 *
 * This is a trust bug, not a layout bug: the whole point of that attribute was
 * that the landing must not advertise a door that is not open. So the guard is
 * general, not a patch on one id — any button that says it is hidden, is.
 */
.site-btn[hidden],
.site-waitlist-plan-chip[hidden],
.lbt-cta[hidden] {
  display: none !important;
}
