/* ==========================================================================
   LISITSA STORYBOOK LANDING — BEFORE / AFTER EDITORIAL SHOWCASE (/ds)
   Demonstrates transforming generic SaaS boxed blocks -> continuous watercolor
   narrative chapters grounded 1:1 in Lisitsa DS tokens & /v5 storybook art.
   ========================================================================== */

.lc-root {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Global Comparison Toolbar */
.lc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 20px;
  background: var(--lis-cream-card);
  border: 1px solid var(--lis-border-cream-strong);
  box-shadow: var(--lis-shadow-cream-soft);
}

.lc-toolbar__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 560px;
}

.lc-toolbar__title {
  margin: 0;
  font-family: var(--lis-font-display);
  font-size: 1.48rem;
  font-weight: 700;
  -webkit-text-stroke: 0.024em currentColor;
  paint-order: stroke fill;
  color: var(--lis-ink-on-cream);
}

.lc-toolbar__title em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  font-size: 1em;
  color: var(--lis-burgundy);
}

.lc-toolbar__sub {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--lis-ink-muted-cream);
}

/* Chapter Wrapper */
.lc-chapter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-chapter__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px;
}

.lc-chapter__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lc-chapter__num {
  font-family: var(--lis-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lis-burgundy-soft-wash);
  color: var(--lis-burgundy);
}

.lc-chapter__name {
  margin: 0;
  font-family: var(--lis-font-sans);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--lis-ink-on-cream);
}

.lc-note-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.lc-note {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--lis-border-cream);
  background: var(--lis-cream-card-solid);
  color: var(--lis-ink-body-cream);
}

.lc-note strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.lc-note--before strong { color: var(--lis-danger); }
.lc-note--after strong { color: var(--lis-success); }

/* Comparison Grid */
.lc-compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.lc-compare-grid[data-mode="split"] {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
}

.lc-pane {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lc-pane--before {
  border: 1px dashed rgba(166, 36, 54, 0.36);
  background: #141925;
}

.lc-pane--after {
  border: 1px solid var(--lis-border-gold-foil);
  box-shadow: 0 22px 54px rgba(24, 10, 12, 0.16);
}

.lc-pane__tag {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  font-family: var(--lis-font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lc-pane--before .lc-pane__tag {
  background: rgba(166, 36, 54, 0.16);
  color: #ffc8ce;
  border-bottom: 1px solid rgba(255, 200, 206, 0.14);
}

.lc-pane--after .lc-pane__tag {
  background: rgba(12, 22, 42, 0.92);
  color: var(--lis-gold-bright);
  border-bottom: 1px solid rgba(245, 205, 130, 0.24);
}

.lc-pane--after.lc-pane--cream-tag .lc-pane__tag {
  background: #f5eadb;
  color: var(--lis-burgundy);
  border-bottom: 1px solid rgba(168, 116, 76, 0.26);
}

/* ==================== BEFORE MOCKUPS (EXACT CURRENT SAAS CLUTTER) ==================== */
.lc-old-box {
  padding: 20px 18px;
  color: #e6dfd6;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.lc-old-box--cream {
  background: #f4e7da;
  color: #36171a;
}

.lc-old-box--burgundy {
  background: linear-gradient(168deg, #5c0f1e 0%, #2e050e 100%);
  color: #fdf4e8;
}

.lc-old-heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.lc-old-3col {
  display: grid;
  grid-template-columns: 1fr 0.95fr 1fr;
  gap: 8px;
  align-items: center;
}

.lc-old-card {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  line-height: 1.38;
}

.lc-old-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.76rem;
}

.lc-old-box--cream .lc-old-card {
  background: #fffdf9;
  border-color: rgba(168, 116, 76, 0.34);
  color: #4a2a28;
}

.lc-old-phone {
  aspect-ratio: 9 / 17;
  max-width: 118px;
  width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  border: 3px solid #2b3447;
  background: #091224;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  font-size: 0.65rem;
  color: #cfd8e8;
}

.lc-old-phone-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.6rem;
}

.lc-old-6grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lc-old-banner {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(245, 205, 130, 0.35);
  background: rgba(255, 244, 226, 0.08);
  font-size: 0.76rem;
}

.lc-old-2team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lc-old-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 8px;
  overflow: hidden;
  border: 2px solid rgba(168, 116, 76, 0.4);
  display: grid;
  place-items: center;
  background: #efe3d2;
  color: #7c1828;
  font-weight: 700;
}

.lc-old-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-old-faq-box {
  padding: 11px 14px;
  border-radius: 12px;
  background: #fffdf9;
  border: 1px solid rgba(196, 152, 112, 0.36);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: #36171a;
}

/* ==================== AFTER CHAPTERS (STORYBOOK WATERCOLOR NARRATIVE) ==================== */

/* Continuous Story Mode strips borders between chapters so the whole landing flows as one illustrated tale! */
.lc-story-flow {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--lis-border-gold-foil);
  box-shadow: 0 28px 70px rgba(18, 8, 12, 0.24);
}

/* CHAPTER 1: FROSTED ARCHED WINDOW ON WINTER NIGHT SKY (NO PHONE MOCKUP, NO 3-COL BOXES) */
.st-ch1 {
  position: relative;
  padding: 52px clamp(20px, 4vw, 44px) 46px;
  background:
    radial-gradient(ellipse 68% 58% at 48% 46%, rgba(255, 198, 108, 0.22) 0%, transparent 62%),
    linear-gradient(180deg, #061024 0%, #0d1d3c 54%, #181424 100%);
  color: var(--lis-ink-on-night);
  overflow: hidden;
  flex: 1;
}

.st-festoon {
  position: absolute;
  top: -8px;
  left: -2%;
  width: 104%;
  height: auto;
  max-height: 76px;
  object-fit: cover;
  opacity: 0.92;
  pointer-events: none;
  z-index: 2;
}

.st-cloud {
  position: absolute;
  pointer-events: none;
  opacity: 0.36;
  z-index: 1;
}
.st-cloud--l { left: -6%; bottom: 8%; width: 220px; }
.st-cloud--r { right: -6%; top: 18%; width: 210px; }

.st-moon {
  position: absolute;
  top: 30px;
  right: 26px;
  width: 58px;
  height: auto;
  opacity: 0.88;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 18px rgba(255, 224, 148, 0.45));
}

.st-ch1-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}

/* Interactive Real Arched Window Portal */
.st-window-portal {
  position: relative;
  width: min(252px, 100%);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.st-window-room {
  position: absolute;
  inset: 14% 15% 12% 15%;
  border-radius: 999px 999px 8px 8px;
  overflow: hidden;
  background: #23140e;
}

.st-window-room-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.75);
  transition: filter 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s ease;
}

.st-window-horse {
  position: absolute;
  left: 50%;
  bottom: -4%;
  height: 78%;
  width: auto;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  transition: opacity 0.65s ease 0.12s, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
}

.st-window-frost {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 32% 28%, rgba(226, 240, 255, 0.54), rgba(142, 178, 220, 0.34) 55%, rgba(28, 52, 86, 0.52) 100%);
  backdrop-filter: blur(5px);
  transition: opacity 0.7s ease;
}

.st-window-frame-img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.55));
}

.st-window-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(12, 20, 38, 0.84);
  border: 1px solid rgba(245, 205, 130, 0.65);
  color: var(--lis-gold-bright);
  font-family: var(--lis-font-sc);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.st-window-portal.is-lit .st-window-frost {
  opacity: 0;
}

.st-window-portal.is-lit .st-window-room-bg {
  filter: brightness(1.06) saturate(1.12);
  transform: scale(1.04);
}

.st-window-portal.is-lit .st-window-horse {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.st-window-portal.is-lit .st-window-frame-img {
  filter: drop-shadow(0 0 28px rgba(255, 200, 108, 0.55)) drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
}

.st-window-portal.is-lit .st-window-hint {
  background: var(--lis-gold-pill-active);
  color: var(--lis-ink-on-gold);
}

/* Editorial Margin Storytelling (Zero Boxes!) */
.st-editorial-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.st-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lis-font-sc);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lis-gold);
}

.st-kicker i {
  width: 24px;
  height: 1px;
  background: rgba(245, 205, 130, 0.55);
}

.st-kicker--cream {
  color: var(--lis-bronze-kicker);
}
.st-kicker--cream i {
  background: rgba(168, 116, 76, 0.55);
}

.st-title {
  margin: 0;
  font-family: var(--lis-font-display);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.015em;
  line-height: 1.1;
  color: #fff8ee;
  -webkit-text-stroke: 0.028em currentColor;
  paint-order: stroke fill;
  text-wrap: balance;
}

.st-title em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  font-size: 1em;
  color: var(--lis-gold-bright);
}

.st-title--cream {
  color: var(--lis-ink-on-cream);
}

.st-title--cream em {
  color: var(--lis-burgundy);
}

.st-prose {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: rgba(250, 240, 224, 0.84);
}

.st-prose--cream {
  color: var(--lis-ink-body-cream);
}

/* Flowing typographic beats with thin gold vertical rule — ZERO boxes! */
.st-beats {
  margin: 4px 0;
  padding: 0 0 0 16px;
  list-style: none;
  border-left: 1px solid rgba(245, 205, 130, 0.42);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.st-beats li {
  position: relative;
  font-size: 0.82rem;
  line-height: 1.46;
  color: rgba(250, 240, 224, 0.8);
}

.st-beats li::before {
  content: "✦";
  position: absolute;
  left: -22px;
  top: 0;
  color: var(--lis-gold);
  font-size: 0.68rem;
}

.st-beats strong {
  color: #fff8ee;
  font-weight: 700;
}

/* CHAPTER 2: THREE FLOORS OF THE HOUSE (REPLACES 6 IDENTICAL SAAS BENEFIT BOXES!) */
.st-ch2 {
  position: relative;
  padding: 48px clamp(20px, 4vw, 40px) 44px;
  background:
    radial-gradient(ellipse 70% 45% at 22% 35%, rgba(242, 166, 72, 0.18), transparent 65%),
    linear-gradient(168deg, #5c0f1e 0%, #440915 52%, #2b050d 100%);
  color: var(--lis-ink-on-burgundy);
  overflow: hidden;
  flex: 1;
}

.st-garland {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 92%);
  height: auto;
  opacity: 0.85;
  pointer-events: none;
}

.st-ch2-head {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 580px;
  margin: 56px auto 30px;
}

.st-floors {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.st-floor-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 205, 130, 0.2);
}

.st-floor-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.st-floor-row--flip {
  grid-template-columns: minmax(0, 1fr) 176px;
}

.st-floor-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floor 1 vignette: arched window with room + living character */
.st-mini-arch {
  position: relative;
  width: 136px;
  aspect-ratio: 3 / 4;
}

.st-mini-arch-room {
  position: absolute;
  inset: 14% 15% 12% 15%;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
}

.st-mini-arch-room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-mini-arch-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.st-mini-arch-char {
  position: absolute;
  right: -18px;
  bottom: -4px;
  z-index: 3;
  height: 122px;
  width: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

/* Floor 2 vignette: real fanned blind-embossed + foil miniature postcard */
.st-mini-foil-fan {
  position: relative;
  width: 158px;
  height: 168px;
}

.st-mini-card-back {
  position: absolute;
  left: 6px;
  top: 10px;
  width: 98px;
  aspect-ratio: 412 / 582;
  border-radius: 10px;
  transform: rotate(-10deg);
  background: url("/src/assets/v5/shutters/emboss-navy.webp?v=20261124c61") center / cover no-repeat;
  border: 1px solid rgba(0, 0, 0, 0.32);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.48);
}

.st-mini-card-front {
  position: absolute;
  right: 4px;
  top: 6px;
  width: 104px;
  aspect-ratio: 412 / 582;
  border-radius: 10px;
  transform: rotate(6deg);
  background: linear-gradient(160deg, #1b3252 0%, #0a1628 100%);
  border: 1.5px solid rgba(245, 205, 130, 0.68);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.st-mini-card-front img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* Floor 3 vignette: real watercolor Ground-Floor Shops (Bookshop + Cafe!) */
.st-mini-shops {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.st-mini-shops img {
  width: 78px;
  height: auto;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
}

.st-floor-copy h3 {
  margin: 4px 0 6px;
  font-family: var(--lis-font-sans);
  font-size: 1.26rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff8ee;
}

.st-floor-copy p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.54;
  color: rgba(255, 240, 224, 0.84);
}

.st-floor-eyebrow {
  font-family: var(--lis-font-sc);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lis-gold);
}

/* CHAPTER 3: EMBOSSED COTTON EVENING + ARCHIVAL POSTAL STAMP ("ДО 31 ЯНВАРЯ") */
.st-ch3 {
  position: relative;
  padding: 42px clamp(20px, 4vw, 40px);
  background:
    linear-gradient(172deg, rgba(250, 242, 232, 0.84) 0%, rgba(244, 231, 218, 0.88) 100%),
    url("/src/assets/v5/shutters/emboss-ivory.webp?v=20261124c61") center / cover no-repeat;
  color: var(--lis-ink-on-cream);
  overflow: hidden;
  flex: 1;
}

.st-tree-margin {
  position: absolute;
  right: 4px;
  bottom: -4px;
  width: 84px;
  height: auto;
  opacity: 0.92;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(72, 34, 20, 0.18));
}

.lc-compare-grid[data-mode="split"] .st-tree-margin {
  width: 62px;
  right: 2px;
  opacity: 0.8;
}

.st-ch3-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
}

.st-bookplate-frame {
  position: relative;
  padding: 8px;
  border-radius: 18px;
  background: #fffcf6;
  border: 1.5px solid var(--lis-border-gold-foil);
  box-shadow:
    inset 0 0 0 5px #fffcf6,
    0 20px 44px rgba(72, 32, 22, 0.16);
}

.st-bookplate-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}

.st-bookplate-caption {
  margin: 8px 4px 2px;
  font-family: var(--lis-font-handwriting);
  font-size: 1.05rem;
  color: var(--lis-burgundy);
  text-align: center;
}

/* Archival Circular Postal Stamp (replaces SaaS alert box!) */
.st-exlibris-promise {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  padding-right: 78px;
  border-top: 1px solid rgba(168, 116, 76, 0.3);
}

.lc-compare-grid[data-mode="split"] .st-exlibris-promise {
  padding-right: 54px;
}

.st-postal-seal {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px dashed var(--lis-burgundy);
  box-shadow: inset 0 0 0 4px rgba(124, 24, 40, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-7deg);
  color: var(--lis-burgundy);
  line-height: 1.05;
}

.st-postal-seal small {
  font-family: var(--lis-font-sc);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.st-postal-seal strong {
  font-family: var(--lis-font-display);
  font-size: 1.04rem;
  font-weight: 700;
}

.st-exlibris-promise p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--lis-ink-body-cream);
}

/* CHAPTER 4: WRITING DESK WITH VELVET ENVELOPE + INLINE POSTAL SLIP */
.st-ch4 {
  position: relative;
  padding: 40px clamp(20px, 4vw, 40px);
  background: var(--lis-cream-gradient);
  color: var(--lis-ink-on-cream);
  overflow: hidden;
  flex: 1;
}

.st-lamp-margin {
  position: absolute;
  left: -4px;
  bottom: 0;
  height: 126px;
  width: auto;
  opacity: 0.85;
  pointer-events: none;
  filter: drop-shadow(0 12px 20px rgba(72, 34, 20, 0.18));
}

.st-desk-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.st-desk-visual {
  position: relative;
  width: min(460px, 100%);
  padding: 16px 0 8px;
}

.st-desk-env {
  width: 66%;
  height: auto;
  display: block;
  transform: rotate(-9deg) translateX(-12px);
  filter: drop-shadow(0 24px 40px rgba(68, 12, 20, 0.34));
}

.st-desk-card-mini {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66%;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--lis-cream-postcard);
  border: 1.5px solid var(--lis-border-gold-foil);
  box-shadow: var(--lis-shadow-postcard);
  transform: rotate(3.2deg);
  text-align: left;
}

.st-desk-card-mini span {
  display: block;
  font-family: var(--lis-font-sc);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lis-bronze-kicker);
}

.st-desk-card-mini p {
  margin: 6px 0 0;
  font-family: var(--lis-font-handwriting);
  font-size: 1.02rem;
  line-height: 1.28;
  color: var(--lis-ink-on-cream);
}

/* Perforated Postal Slip (replaces detached 3-col accordion!) */
.st-postal-slip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(640px, 100%);
  padding: 14px 18px;
  border-top: 1px dashed rgba(168, 116, 76, 0.55);
  border-bottom: 1px dashed rgba(168, 116, 76, 0.55);
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.44;
  color: var(--lis-ink-body-cream);
}

.st-postal-slip strong {
  display: block;
  font-family: var(--lis-font-sc);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--lis-burgundy);
  margin-bottom: 3px;
}

/* CHAPTER 5: HANDWRITTEN LETTER FROM THE AUTHORS + HAIRLINE MARGIN FAQ */
.st-ch5 {
  position: relative;
  padding: clamp(78px, 8.5vw, 122px) clamp(20px, 4vw, 44px) 56px;
  background: #f8f0e4;
  border: 0;
  color: var(--lis-ink-on-cream);
  overflow: hidden;
  flex: 1;
}

.st-letter-sheet {
  position: relative;
  max-width: 620px;
  margin: 0 auto 34px;
  padding: 28px clamp(20px, 4vw, 34px) 26px;
  border-radius: 18px;
  background: #fffdf8;
  border: 1px solid rgba(196, 150, 74, 0.48);
  box-shadow:
    inset 0 0 0 6px #fffdf8,
    inset 0 0 0 7px rgba(196, 150, 74, 0.28),
    0 20px 44px rgba(74, 34, 22, 0.1);
  text-align: center;
}

.st-wreath-crest {
  width: 62px;
  height: auto;
  margin: -6px auto 10px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(72, 34, 20, 0.18));
}

.st-garland-crest {
  width: min(560px, 100%);
  height: auto;
  margin: -14px auto 12px;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.96;
  pointer-events: none;
}

/* Canonical Royal Burgundy Authors Sheet + Procedural SVG/JS Embracing Vintage Blown-Glass Garland */
.st-ch5 {
  overflow-x: clip;
  overflow-y: visible;
}

.st-letter-sheet--burgundy {
  position: relative;
  max-width: 660px;
  margin: 0 auto 38px;
  background:
    radial-gradient(ellipse 92% 44% at 50% 10%, rgba(255, 214, 134, 0.14), transparent 62%),
    var(--lis-burgundy-fireplace);
  border: 1.5px solid var(--lis-border-gold-foil);
  box-shadow:
    inset 0 0 0 6px rgba(46, 5, 14, 0.56),
    inset 0 0 0 7px var(--lis-border-on-burgundy),
    0 24px 52px rgba(46, 5, 14, 0.24);
  color: var(--lis-ink-on-burgundy);
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}

.st-garland-stage {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.st-garland-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.st-proc-bulb {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--bulb-w, 26px);
  height: var(--bulb-h, 62px);
  margin-left: calc(var(--bulb-w, 26px) * -0.5);
  margin-top: -1px;
  transform-origin: 50% 4%;
  transform: rotate(var(--bulb-base-rot, 0deg));
  pointer-events: none;
  animation: lisBulbSway var(--bulb-sway-dur, 6.2s) ease-in-out var(--bulb-delay, 0s) infinite;
  will-change: transform;
}

.st-proc-bulb-glow {
  position: absolute;
  left: 50%;
  top: 66%;
  width: 300%;
  height: 185%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--bulb-glow-core, rgba(255, 212, 118, 0.44)) 0%,
    var(--bulb-glow-mid, rgba(255, 186, 74, 0.22)) 32%,
    var(--bulb-glow-edge, rgba(255, 162, 58, 0.06)) 62%,
    transparent 82%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.78;
  animation: lisBulbBreath var(--bulb-glow-dur, 4.8s) ease-in-out var(--bulb-delay, 0s) infinite;
}

.st-proc-bulb-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform: scaleX(var(--bulb-flip, 1));
  filter: drop-shadow(0 6px 9px rgba(16, 2, 5, 0.54));
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes lisBulbSway {
  0%, 100% { transform: rotate(calc(var(--bulb-base-rot, 0deg) - var(--bulb-amp, 1.5deg))); }
  50% { transform: rotate(calc(var(--bulb-base-rot, 0deg) + var(--bulb-amp, 1.5deg))); }
}

@keyframes lisBulbBreath {
  0%, 100% { opacity: 0.58; transform: translate(-50%, -50%) scale(0.95); }
  50% { opacity: 0.94; transform: translate(-50%, -50%) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .st-proc-bulb,
  .st-proc-bulb-glow {
    animation: none !important;
  }
}

.st-letter-sheet--burgundy .st-letter-content {
  position: relative;
  z-index: 3;
  padding: var(--garland-safe-top, 146px) clamp(38px, 6.4vw, 62px) 34px;
}

.st-letter-sheet--burgundy .st-title--cream {
  color: var(--lis-gold-bright);
  text-shadow: 0 3px 18px rgba(46, 5, 14, 0.52);
}

.st-letter-sheet--burgundy .st-letter-body {
  max-width: 486px;
  color: var(--lis-ink-on-burgundy);
  opacity: 0.94;
}

.st-letter-sheet--burgundy .st-letter-signature-head {
  color: var(--lis-gold);
}

.st-letter-sheet--burgundy .st-authors-duo {
  border-top-color: var(--lis-border-on-burgundy);
}

.st-letter-sheet--burgundy .st-author-vignette {
  border-color: var(--lis-border-gold-soft);
  box-shadow: 0 8px 18px rgba(24, 4, 8, 0.42);
}

.st-letter-sheet--burgundy .st-author-chip-copy strong {
  color: var(--lis-ink-on-burgundy);
}

.st-letter-sheet--burgundy .st-author-chip-copy span {
  color: var(--lis-ink-muted-burgundy);
}

@media (max-width: 640px) {
  .st-letter-sheet--burgundy {
    margin: 0 auto 30px;
  }
  .st-letter-sheet--burgundy .st-letter-content {
    padding: var(--garland-safe-top, 114px) 28px 26px;
  }
  .st-letter-sheet--burgundy .st-title--cream {
    font-size: 1.82rem;
  }
  .st-letter-sheet--burgundy .st-letter-body {
    max-width: none;
    font-size: 0.84rem;
    line-height: 1.56;
  }
}

.st-letter-body {
  margin: 14px auto 18px;
  max-width: 520px;
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--lis-ink-body-cream);
}

.st-authors-signoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(182, 134, 68, 0.24);
}

.st-author-vignette {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--lis-border-gold-foil);
  flex-shrink: 0;
}

.st-author-vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-signature-copy {
  text-align: left;
}

.st-signature-hand {
  font-family: var(--lis-font-handwriting);
  font-size: 1.32rem;
  line-height: 1.1;
  color: var(--lis-burgundy);
}

.st-signature-role {
  display: block;
  font-size: 0.74rem;
  color: var(--lis-ink-muted-cream);
}

/* Quiet Book-Margin FAQ (Zero White Boxes — Pure Gold Hairlines!) */
.st-quiet-faq {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.st-quiet-faq details {
  border-bottom: 1px solid rgba(168, 116, 76, 0.3);
}

.st-quiet-faq details:first-of-type {
  border-top: 1px solid rgba(168, 116, 76, 0.3);
}

.st-quiet-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 4px;
  font-family: var(--lis-font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lis-ink-on-cream);
  cursor: pointer;
}

.st-quiet-faq summary::-webkit-details-marker { display: none; }

.st-quiet-faq summary::after {
  content: "✧";
  color: var(--lis-bronze-kicker);
  transition: transform 0.2s ease, color 0.2s ease;
}

.st-quiet-faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--lis-burgundy);
}

.st-quiet-faq p {
  margin: 0 0 14px;
  padding: 0 4px;
  font-size: 0.83rem;
  line-height: 1.56;
  color: var(--lis-ink-muted-cream);
}

.st-snowman-margin {
  position: absolute;
  right: 10px;
  bottom: 4px;
  width: 82px;
  height: auto;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 10px 18px rgba(72, 34, 20, 0.16));
}

/* Responsive (Tablet & 390px Phone Preview in /ds) */
@media (max-width: 960px) {
  .lc-compare-grid[data-mode="split"],
  .lc-note-strip,
  .st-ch1-grid,
  .st-ch3-grid,
  .st-postal-slip {
    grid-template-columns: 1fr;
  }
  .st-floor-row,
  .st-floor-row--flip {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lc-old-3col,
  .lc-old-6grid,
  .lc-old-2team {
    grid-template-columns: 1fr;
  }
}

.ds-main[data-viewport="mobile"] .lc-compare-grid[data-mode="split"],
.ds-main[data-viewport="mobile"] .lc-note-strip,
.ds-main[data-viewport="mobile"] .st-ch1-grid,
.ds-main[data-viewport="mobile"] .st-ch3-grid,
.ds-main[data-viewport="mobile"] .st-postal-slip,
.ds-main[data-viewport="mobile"] .st-floor-row,
.ds-main[data-viewport="mobile"] .st-floor-row--flip,
.ds-main[data-viewport="mobile"] .lc-old-3col,
.ds-main[data-viewport="mobile"] .lc-old-6grid,
.ds-main[data-viewport="mobile"] .lc-old-2team {
  grid-template-columns: 1fr;
}

.ds-main[data-viewport="mobile"] .st-floor-row,
.ds-main[data-viewport="mobile"] .st-floor-row--flip {
  text-align: center;
}

.ds-main[data-viewport="mobile"] .st-tree-margin,
.ds-main[data-viewport="mobile"] .st-lamp-margin,
.ds-main[data-viewport="mobile"] .st-snowman-margin,
.lb-main[data-viewport="mobile"] .st-tree-margin,
.lb-main[data-viewport="mobile"] .st-lamp-margin,
.lb-main[data-viewport="mobile"] .st-snowman-margin {
  display: none;
}

/* ==================== STANDALONE /landing-blocks SHELL (ZERO DS SIDEBAR!) ==================== */
.lb-body {
  margin: 0;
  min-height: 100dvh;
  background: #f5ebe0;
  color: var(--lis-ink-on-cream);
  font-family: var(--lis-font-sans);
  -webkit-font-smoothing: antialiased;
}

.lb-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 242, 232, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 116, 76, 0.24);
}

.lb-topbar__row {
  max-width: 1460px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-brand img {
  border-radius: 8px;
  border: 1px solid rgba(168, 116, 76, 0.32);
  object-fit: cover;
}

.lb-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lb-brand__text strong {
  font-family: var(--lis-font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--lis-ink-on-cream);
}

.lb-brand__text span {
  font-size: 0.72rem;
  color: var(--lis-ink-muted-cream);
}

.lb-topbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lb-topbar__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lb-block-tabs {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 20px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lb-block-tabs::-webkit-scrollbar { display: none; }
.lb-block-tabs.is-muted { opacity: 0.62; }

.lb-tab {
  appearance: none;
  border: 1px solid rgba(168, 116, 76, 0.28);
  background: #fffcf7;
  color: var(--lis-ink-body-cream);
  font-family: var(--lis-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.lb-tab:hover {
  border-color: var(--lis-burgundy);
  color: var(--lis-burgundy);
}

.lb-tab.is-active {
  background: var(--lis-burgundy);
  border-color: var(--lis-burgundy);
  color: #fff8ee;
}

.lb-main {
  max-width: 1460px;
  margin: 0 auto;
  padding: 22px 20px 56px;
}

.lb-main[data-viewport="mobile"] .lb-canvas {
  max-width: 396px;
  margin: 0 auto;
}

.lb-main[data-viewport="mobile"] .lc-compare-grid[data-mode="split"],
.lb-main[data-viewport="mobile"] .lc-note-strip,
.lb-main[data-viewport="mobile"] .st-ch1-grid,
.lb-main[data-viewport="mobile"] .st-ch3-grid,
.lb-main[data-viewport="mobile"] .st-postal-slip,
.lb-main[data-viewport="mobile"] .st-floor-row,
.lb-main[data-viewport="mobile"] .st-floor-row--flip,
.lb-main[data-viewport="mobile"] .lc-old-3col,
.lb-main[data-viewport="mobile"] .lc-old-6grid,
.lb-main[data-viewport="mobile"] .lc-old-2team {
  grid-template-columns: 1fr;
}

.lb-main[data-viewport="mobile"] .st-floor-row,
.lb-main[data-viewport="mobile"] .st-floor-row--flip {
  text-align: center;
}

.lc-pane__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.88;
}

.lc-pane__link:hover {
  opacity: 1;
}

/* ==================== REAL UNEDITED BEFORE SCREENSHOT + VERDICT ==================== */
.lc-chapter__verdict {
  font-family: var(--lis-font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(168, 116, 76, 0.14);
  color: var(--lis-ink-body-cream);
}

.lc-pane--real-shot {
  background: #23181a;
  border: 1px solid rgba(166, 36, 54, 0.32);
}

.lc-real-before {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  flex: 1;
  background: #1b1416;
}

.lc-real-before__shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  background: #110c0e;
}

.lc-real-before__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.lc-real-before__cap {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid rgba(255, 248, 240, 0.1);
  font-size: 0.78rem;
  line-height: 1.48;
  color: rgba(250, 236, 224, 0.86);
}

/* ==================== INTERACTIVE 4-STEP ARCHED WINDOW (BLOCK 01) ==================== */
.st-window-room-bg.is-warm {
  filter: brightness(1.06) saturate(1.12);
  transform: scale(1.03);
}

.st-window-horse.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.st-window-ember-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 138, 42, 0.56), transparent 64%),
    linear-gradient(180deg, #0b1630 0%, #241016 100%);
}

.st-window-mini-card {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 56%;
  aspect-ratio: 412 / 582;
  transform: translate(-50%, -50%) rotate(-3deg);
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 205, 130, 0.85);
  box-shadow:
    0 0 24px rgba(255, 152, 62, 0.58),
    0 14px 26px rgba(0, 0, 0, 0.6);
}

.st-window-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.st-window-portal.is-radiant .st-window-frame-img {
  filter: drop-shadow(0 0 36px rgba(255, 212, 118, 0.72)) drop-shadow(0 20px 36px rgba(0, 0, 0, 0.58));
}

.st-beats--interactive {
  gap: 6px;
}

.st-beat-btn {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 8px 11px;
  background: transparent;
  color: rgba(250, 240, 224, 0.78);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.st-beat-btn:hover {
  background: rgba(255, 244, 224, 0.06);
}

.st-beat-btn.is-active {
  background: rgba(245, 205, 130, 0.14);
  border-color: rgba(245, 205, 130, 0.42);
  color: #fff9f0;
}

.st-beat-btn strong {
  font-family: var(--lis-font-sans);
  font-size: 0.82rem;
  color: #fff8ee;
}

.st-beat-btn.is-active strong {
  color: var(--lis-gold-bright);
}

.st-beat-btn span {
  font-size: 0.76rem;
  line-height: 1.42;
}

/* ==================== PRESERVED REAL VELVET ENVELOPE + EDITABLE POSTCARD (BLOCK 04) ==================== */
.st-ch4 {
  background: #f8f0e4;
  border: 0;
  padding-top: clamp(78px, 8.5vw, 122px);
  padding-bottom: clamp(82px, 9vw, 128px);
}

.st-env-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.82);
  border: 1px solid rgba(168, 116, 76, 0.28);
}

.st-env-tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 15px;
  background: transparent;
  color: var(--lis-ink-body-cream);
  font-family: var(--lis-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.st-env-tab.is-active {
  background: var(--lis-burgundy);
  color: #fff8ee;
}

.st-desk-full-envelope {
  position: relative;
  width: min(640px, 100%);
  padding: 12px 0 18px;
}

.st-desk-env-real {
  width: 58%;
  height: auto;
  display: block;
  transform: rotate(-8deg) translateX(-8px);
  filter: drop-shadow(0 24px 40px rgba(68, 12, 20, 0.34));
}

.st-real-postcard {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 72%;
  padding: 16px 18px;
  border-radius: 14px;
  background:
    linear-gradient(170deg, rgba(255, 251, 242, 0.92), rgba(247, 236, 216, 0.94)),
    url("/src/assets/v5/shutters/emboss-ivory.webp?v=20261124c61") center / cover no-repeat;
  border: 1.5px solid var(--lis-border-gold-foil);
  box-shadow:
    inset 0 0 0 4px rgba(255, 252, 244, 0.75),
    inset 0 0 0 5px rgba(182, 134, 68, 0.28),
    0 22px 42px rgba(64, 24, 18, 0.22);
  transform: rotate(2.4deg);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 48px minmax(0, 1.08fr);
  gap: 10px;
  align-items: center;
  text-align: left;
}

.st-real-pc-kicker {
  display: block;
  font-family: var(--lis-font-sc);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lis-bronze-kicker);
}

.st-real-pc-title {
  font-family: var(--lis-font-sans);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--lis-ink-on-cream);
  margin: 3px 0 8px;
}

.st-real-pc-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}

.st-real-pc-field span {
  font-size: 0.62rem;
  color: var(--lis-ink-muted-cream);
}

.st-real-pc-field input {
  width: 100%;
  border: 0;
  border-bottom: 1px dashed rgba(157, 109, 52, 0.45);
  background: transparent;
  font-family: var(--lis-font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--lis-ink-on-cream);
  padding: 2px 0;
  outline: none;
}

.st-real-pc-seal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-real-pc-seal-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px dashed rgba(157, 109, 52, 0.7);
  box-shadow: inset 0 0 0 3px rgba(157, 109, 52, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #845422;
  font-family: var(--lis-font-sc);
  font-size: 0.4rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.st-real-pc-seal-ring strong {
  font-size: 0.78rem;
  color: #b47e3c;
}

.st-real-pc-right textarea {
  width: 100%;
  min-height: 96px;
  overflow: hidden;
  border: 0;
  background: rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  padding: 6px 8px;
  resize: none;
  font-family: var(--lis-font-handwriting);
  font-size: 0.88rem;
  line-height: 1.24;
  color: var(--lis-ink-on-cream);
  outline: none;
}

.st-real-pc-right small {
  display: block;
  margin-top: 3px;
  font-size: 0.62rem;
  color: var(--lis-ink-muted-cream);
}

.st-desk-cta-bare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 2px;
}

.st-desk-price-inline {
  text-align: left;
}

.st-desk-price-inline strong {
  display: block;
  font-family: var(--lis-font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--lis-burgundy);
}

.st-desk-price-inline span {
  display: block;
  font-size: 0.72rem;
  color: var(--lis-ink-muted-cream);
  margin-top: 3px;
}

@media (max-width: 720px) {
  .st-desk-full-envelope {
    padding-bottom: 0;
  }
  .st-desk-env-real {
    width: 78%;
    margin: 0 auto;
    transform: rotate(-4deg);
  }
  .st-real-postcard {
    position: relative;
    width: 100%;
    margin-top: -24px;
    transform: rotate(0deg);
    grid-template-columns: 1fr;
  }
  .st-real-pc-seal {
    display: none;
  }
}

.lb-main[data-viewport="mobile"] .st-desk-env-real {
  width: 80%;
  margin: 0 auto;
  transform: rotate(-4deg);
}

.lb-main[data-viewport="mobile"] .st-real-postcard {
  position: relative;
  width: 100%;
  margin-top: -22px;
  transform: rotate(0deg);
  grid-template-columns: 1fr;
}

.lb-main[data-viewport="mobile"] .st-real-pc-seal {
  display: none;
}

/* ==================== BLOCK 01 REBUILD: THEATRICAL DIORAMA + STORYBOOK TRIPTYCH ==================== */
.st-ch1--cinematic {
  padding: 58px clamp(18px, 3.6vw, 38px) 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.st-ch1-head {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.st-variant-switch {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(8, 16, 34, 0.72);
  border: 1px solid rgba(245, 205, 130, 0.28);
}

.st-var-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 6px 13px;
  background: transparent;
  color: rgba(250, 240, 224, 0.78);
  font-family: var(--lis-font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.st-var-btn.is-active {
  background: var(--lis-gold-pill-active);
  color: var(--lis-ink-on-gold);
  font-weight: 700;
}

/* Variant A: Full-Width Theatrical Diorama (NO phone bezel, NO 2-col list!) */
.st-diorama-wrap {
  position: relative;
  z-index: 3;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-diorama-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 205, 130, 0.48);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.56),
    inset 0 0 0 1px rgba(255, 245, 214, 0.16);
  background: #091326;
  cursor: pointer;
}

.st-act {
  position: relative;
  width: 100%;
  height: 100%;
}

.st-act-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-act-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 30, 0.08) 38%, rgba(6, 14, 30, 0.86) 100%);
}

.st-act-overlay--bottom {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.st-act-overlay--bottom p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.46;
  color: rgba(255, 248, 236, 0.92);
  max-width: 520px;
}

.st-act-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(12, 22, 44, 0.86);
  border: 1px solid rgba(245, 205, 130, 0.72);
  color: var(--lis-gold-bright);
  font-family: var(--lis-font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.st-act-pill--gold {
  background: var(--lis-gold-pill-active);
  color: var(--lis-ink-on-gold);
  border-color: transparent;
}

/* Act II: Live Fire Horse Dialogue (full cinematic stage, zero phone bezel) */
.st-act--hero .st-act-full-img {
  filter: brightness(0.86);
}

.st-act-hero-sprite {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  height: 82%;
  width: auto;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.6));
}

.st-act-dialogue {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(11, 20, 40, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(247, 217, 139, 0.48);
  text-align: left;
}

.st-act-speaker {
  display: block;
  font-family: var(--lis-font-sc);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6ee7b7;
  margin-bottom: 4px;
}

.st-act-dialogue p {
  margin: 0 0 8px;
  font-size: 0.86rem;
  line-height: 1.44;
  color: #fff8ee;
}

.st-act-reply {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lis-gold-pill-active);
  color: var(--lis-ink-on-gold);
  font-size: 0.74rem;
  font-weight: 700;
}

/* Act III: Burning Foil Postcard Spread on Night Velvet */
.st-act--postcard {
  background:
    radial-gradient(ellipse 68% 60% at 32% 52%, rgba(255, 146, 52, 0.28), transparent 64%),
    linear-gradient(155deg, #0b1730 0%, #161022 55%, #260a14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.st-act-card-spread {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  width: min(560px, 100%);
}

.st-act-foil-wrap {
  position: relative;
  width: 160px;
  height: 174px;
  margin: 0 auto;
}

.st-act-ivory-note {
  padding: 18px 20px;
  border-radius: 16px;
  background:
    linear-gradient(170deg, rgba(255, 251, 242, 0.93), rgba(247, 236, 216, 0.95)),
    url("/src/assets/v5/shutters/emboss-ivory.webp?v=20261124c61") center / cover no-repeat;
  border: 1.5px solid var(--lis-border-gold-foil);
  color: var(--lis-ink-on-cream);
  text-align: left;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}

.st-act-ivory-note span {
  display: block;
  font-family: var(--lis-font-sc);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lis-bronze-kicker);
  margin-bottom: 6px;
}

.st-act-ivory-note strong {
  display: block;
  font-family: var(--lis-font-sans);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--lis-burgundy);
  margin-bottom: 8px;
}

.st-act-ivory-note p {
  margin: 0 0 10px;
  font-size: 0.78rem;
  line-height: 1.46;
  color: var(--lis-ink-body-cream);
}

.st-act-ivory-note em {
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--lis-burgundy);
}

/* Act IV: Lit Window Staying Glowing on the Facade */
.st-act--lit {
  background:
    radial-gradient(ellipse 58% 66% at 32% 52%, rgba(255, 206, 114, 0.36), transparent 64%),
    linear-gradient(160deg, #071226 0%, #101f3e 60%, #1c101b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.st-act-lit-stage {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(560px, 100%);
}

.st-act-lit-arch {
  position: relative;
  width: 158px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
}

.st-act-lit-room {
  position: absolute;
  inset: 14% 15% 12% 15%;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
}

.st-act-lit-room-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-act-lit-horse {
  position: absolute;
  left: 50%;
  bottom: -4%;
  height: 78%;
  width: auto;
  transform: translateX(-50%);
}

.st-act-lit-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(255, 208, 114, 0.72));
}

.st-act-lit-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.st-act-lit-copy h3 {
  margin: 0;
  font-family: var(--lis-font-sans);
  font-size: 1.24rem;
  font-weight: 800;
  color: #fff8ee;
}

.st-act-lit-copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 244, 224, 0.86);
}

/* Sill Chapter Tabs Bar */
.st-diorama-sill {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.st-sill-tab {
  appearance: none;
  border: 1px solid rgba(245, 205, 130, 0.28);
  border-radius: 14px;
  padding: 9px 10px;
  background: rgba(12, 22, 44, 0.72);
  color: rgba(250, 240, 224, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--lis-font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.st-sill-tab:hover {
  border-color: rgba(245, 205, 130, 0.62);
  color: #fff8ee;
}

.st-sill-tab.is-active {
  background: var(--lis-gold-pill-active);
  border-color: transparent;
  color: var(--lis-ink-on-gold);
  font-weight: 800;
}

.st-sill-roman {
  font-family: var(--lis-font-sc);
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.82;
}

/* Variant B: Storybook 3-Frame Horizontal Triptych */
.st-triptych {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

.st-trip-frame {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.st-trip-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 120px 120px 18px 18px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 205, 130, 0.56);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.48);
  background: #0b1730;
}

.st-trip-art > img,
.st-trip-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-trip-art--hero .st-trip-char {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 86%;
  width: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.st-trip-art--card {
  background:
    radial-gradient(circle at 50% 56%, rgba(255, 152, 58, 0.42), transparent 66%),
    linear-gradient(165deg, #0d1d3c 0%, #240b15 100%);
  display: grid;
  place-items: center;
}

.st-trip-mini-card {
  width: 64%;
  aspect-ratio: 412 / 582;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 205, 130, 0.85);
  box-shadow: 0 0 26px rgba(255, 158, 62, 0.5), 0 14px 28px rgba(0, 0, 0, 0.55);
  transform: rotate(-3deg);
}

.st-trip-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.st-trip-num {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(10, 18, 36, 0.86);
  border: 1px solid rgba(245, 205, 130, 0.72);
  color: var(--lis-gold-bright);
  font-family: var(--lis-font-sc);
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.st-trip-frame h3 {
  margin: 2px 0 0;
  font-family: var(--lis-font-sans);
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff8ee;
}

.st-trip-frame p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.46;
  color: rgba(250, 240, 224, 0.82);
}

/* ==================== BLOCK 02: CLEAN KOTYA + SIGNED /V5 SHOPFRONTS ==================== */
.st-mini-arch-char--clean {
  right: -24px;
  bottom: -6px;
  height: 128px;
}

.st-mini-shops--signed {
  gap: 10px;
}

.st-shop-unit {
  position: relative;
  width: 102px;
  flex-shrink: 0;
}

.st-shop-unit img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.st-shop-sign {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--lis-font-sc);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #ffefc6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.92), 0 0 8px rgba(245, 205, 130, 0.45);
  pointer-events: none;
}

.st-shop-sign--books {
  left: 49.46%;
  top: 16.30%;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}

.st-shop-sign--cafe {
  left: 50.08%;
  top: 19.07%;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}

/* ==================== BLOCK 03: WATERCOLOR PAPER-BLENDED ART + BIGGER TREE ==================== */
.st-watercolor-plate {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.st-watercolor-plate > img {
  width: 100%;
  max-width: 390px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: contrast(1.06) brightness(1.03) saturate(1.06);
  -webkit-mask-image: radial-gradient(ellipse 76% 78% at 50% 50%, #000 64%, transparent 98%);
  mask-image: radial-gradient(ellipse 76% 78% at 50% 50%, #000 64%, transparent 98%);
}

.st-vignette-arch {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 4 / 3;
  border-radius: 160px 160px 22px 22px;
  overflow: hidden;
  border: 2px solid var(--lis-border-gold-foil);
  box-shadow: 0 20px 44px rgba(72, 32, 22, 0.18);
}

.st-vignette-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-tree-margin--tall {
  right: 4px;
  bottom: -6px;
  width: 146px;
}

.lc-compare-grid[data-mode="split"] .st-tree-margin--tall {
  width: 104px;
  right: 2px;
  opacity: 0.92;
}

.st-ch3 .st-exlibris-promise {
  padding-right: 124px;
}

.lc-compare-grid[data-mode="split"] .st-ch3 .st-exlibris-promise {
  padding-right: 92px;
}

/* ==================== BLOCK 04: TACTILE TICKET SELECTOR + BOLD CLEAR PRICE ==================== */
.st-ticket-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
}

.st-ticket-opt {
  appearance: none;
  text-align: left;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(168, 116, 76, 0.36);
  background: rgba(255, 252, 247, 0.86);
  color: var(--lis-ink-on-cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.st-ticket-opt:hover {
  border-color: var(--lis-burgundy);
}

.st-ticket-opt.is-active {
  background: var(--lis-burgundy-fireplace);
  border-color: var(--lis-gold);
  color: #fff8ee;
  box-shadow: 0 14px 30px rgba(92, 15, 30, 0.24);
}

.st-ticket-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.st-ticket-badge {
  font-family: var(--lis-font-sans);
  font-size: 0.84rem;
  font-weight: 800;
}

.st-ticket-price {
  font-family: var(--lis-font-sans);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--lis-burgundy);
  white-space: nowrap;
}

.st-ticket-opt.is-active .st-ticket-price {
  color: var(--lis-gold-bright);
}

.st-ticket-opt p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--lis-ink-muted-cream);
}

.st-ticket-opt.is-active p {
  color: rgba(255, 240, 224, 0.86);
}

.st-desk-cta-strip {
  width: min(640px, 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
}

.st-desk-price-hero {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.st-price-eyebrow {
  font-family: var(--lis-font-sc);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lis-bronze-kicker);
}

.st-price-amount {
  font-family: var(--lis-font-sans);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--lis-burgundy);
}

.st-price-meta {
  font-size: 0.74rem;
  color: var(--lis-ink-muted-cream);
}

/* ==================== BLOCK 05: TWO AUTHORS (НАСТЯ И ИГОРЬ) ==================== */
.st-letter-signature-head {
  font-family: var(--lis-font-handwriting);
  font-size: 1.65rem;
  line-height: 1.1;
  color: var(--lis-burgundy);
  margin: 4px 0 16px;
}

.st-authors-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(182, 134, 68, 0.26);
  text-align: left;
}

.st-author-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.st-author-vignette--monogram {
  display: grid;
  place-items: center;
  background: var(--lis-burgundy-fireplace);
  color: var(--lis-gold-bright);
  font-family: var(--lis-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.st-author-chip-copy strong {
  display: block;
  font-family: var(--lis-font-sans);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--lis-ink-on-cream);
}

.st-author-chip-copy span {
  display: block;
  font-size: 0.73rem;
  line-height: 1.38;
  color: var(--lis-ink-muted-cream);
}

/* Mobile Responsive for New Components */
@media (max-width: 720px) {
  .st-diorama-sill,
  .st-triptych,
  .st-ticket-picker,
  .st-authors-duo,
  .st-act-card-spread,
  .st-act-lit-stage {
    grid-template-columns: 1fr;
  }
  .st-diorama-stage {
    aspect-ratio: 4 / 5;
  }
  .st-desk-cta-strip {
    justify-content: center;
    text-align: center;
  }
  .st-desk-price-hero {
    text-align: center;
  }
}

.lb-main[data-viewport="mobile"] .st-diorama-sill,
.lb-main[data-viewport="mobile"] .st-triptych,
.lb-main[data-viewport="mobile"] .st-ticket-picker,
.lb-main[data-viewport="mobile"] .st-authors-duo,
.lb-main[data-viewport="mobile"] .st-act-card-spread,
.lb-main[data-viewport="mobile"] .st-act-lit-stage {
  grid-template-columns: 1fr;
}

.lb-main[data-viewport="mobile"] .st-diorama-stage {
  aspect-ratio: 4 / 5;
}

.lb-main[data-viewport="mobile"] .st-ch3 .st-exlibris-promise {
  padding-right: 0;
}

/* ==================== BLOCK 01: LIVE AUTO-PLAYING PRODUCT DEMO IN MIDNIGHT SKY ==================== */
.st-ch1--live-demo {
  padding: 58px clamp(18px, 3.6vw, 40px) 40px;
}

.st-ch1-live-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(256px, 292px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}

.st-live-device {
  position: relative;
  width: 100%;
  border-radius: 26px;
  background: rgba(8, 16, 34, 0.92);
  border: 1.5px solid rgba(245, 205, 130, 0.5);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.62),
    0 0 36px rgba(245, 198, 108, 0.16),
    inset 0 1px 0 rgba(255, 248, 224, 0.2);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.st-live-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 6px;
  font-family: var(--lis-font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 245, 226, 0.9);
}

.st-live-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.st-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: lcPulseDot 1.8s ease-in-out infinite;
}

.st-live-dot.is-paused {
  background: var(--lis-gold);
  box-shadow: none;
  animation: none;
}

@keyframes lcPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.st-live-pause {
  appearance: none;
  border: 1px solid rgba(245, 205, 130, 0.34);
  background: rgba(255, 248, 232, 0.08);
  color: var(--lis-gold-bright);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.65rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.st-live-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 15.2;
  border-radius: 18px;
  overflow: hidden;
  background: #061024;
  border: 1px solid rgba(255, 245, 224, 0.12);
}

.st-live-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.st-live-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Slide 0 & 3: Real /v5 Arched Window */
.st-slide-win-wrap {
  width: 100%;
  height: 100%;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(62, 114, 186, 0.24), transparent 64%),
    linear-gradient(180deg, #061024 0%, #0d1c38 100%);
}

.st-slide-win-wrap--lit {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 198, 102, 0.34), transparent 64%),
    linear-gradient(180deg, #09152b 0%, #1d121d 100%);
}

.st-slide-arch {
  position: relative;
  width: 72%;
  aspect-ratio: 3 / 4;
}

.st-slide-arch-glass {
  position: absolute;
  inset: 14% 15% 12% 15%;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, rgba(16, 36, 68, 0.92), rgba(7, 16, 34, 0.96));
}

.st-slide-arch-room {
  position: absolute;
  inset: 14% 15% 12% 15%;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
}

.st-slide-arch-room-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-slide-arch-hero {
  position: absolute;
  left: 50%;
  bottom: -4%;
  height: 78%;
  width: auto;
  transform: translateX(-50%);
}

.st-slide-arch-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.st-slide-arch--lit .st-slide-arch-frame {
  filter: drop-shadow(0 0 22px rgba(255, 206, 110, 0.7));
}

.st-slide-medal {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #172742;
  border: 1.5px solid var(--lis-gold);
  color: var(--lis-gold-bright);
  font-family: var(--lis-font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.st-slide-medal--lit {
  background: var(--lis-gold-pill-active);
  color: var(--lis-ink-on-gold);
}

.st-slide-tap-ring {
  position: absolute;
  left: 54%;
  top: 56%;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--lis-gold-bright);
  box-shadow: 0 0 18px rgba(245, 205, 130, 0.75);
  animation: lcTapPulse 1.6s ease-out infinite;
}

@keyframes lcTapPulse {
  0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0.95; }
  100% { transform: translate(-50%, -50%) scale(1.55); opacity: 0; }
}

.st-slide-lit-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--lis-gold-pill-active);
  color: var(--lis-ink-on-gold);
  font-size: 0.68rem;
  font-weight: 800;
}

.st-slide-cap {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(250, 240, 224, 0.86);
  max-width: 210px;
}

/* Slide 1: Real Fire Horse VN Dialogue */
.st-slide-vn {
  position: relative;
  width: 100%;
  height: 100%;
}

.st-slide-vn-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-slide-vn-horse {
  position: absolute;
  left: 50%;
  bottom: 24%;
  transform: translateX(-50%);
  height: 70%;
  width: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.st-slide-vn-box {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px 11px;
  border-radius: 13px;
  background: rgba(11, 20, 40, 0.92);
  border: 1px solid rgba(247, 217, 139, 0.48);
  text-align: left;
}

.st-slide-vn-name {
  display: block;
  font-family: var(--lis-font-sc);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6ee7b7;
  margin-bottom: 3px;
}

.st-slide-vn-box p {
  margin: 0 0 7px;
  font-size: 0.71rem;
  line-height: 1.38;
  color: #fff8ee;
}

.st-slide-vn-pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--lis-gold-pill-active);
  color: var(--lis-ink-on-gold);
  font-size: 0.64rem;
  font-weight: 800;
}

/* Slide 2: Real Burning Foil Postcard */
.st-slide-card {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 14px 12px;
  background: radial-gradient(circle at 50% 48%, #221426, #0a1428);
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-slide-card-spread {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  padding: 16px 13px;
  background:
    linear-gradient(170deg, rgba(255, 251, 242, 0.94), rgba(245, 233, 214, 0.96)),
    url("/src/assets/v5/shutters/emboss-ivory.webp?v=20261124c61") center / cover no-repeat;
  border: 1.5px solid var(--lis-border-gold-foil);
  color: var(--lis-ink-on-cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.st-slide-card-kicker {
  font-family: var(--lis-font-sc);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lis-bronze-kicker);
}

.st-slide-card-spread strong {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--lis-burgundy);
}

.st-slide-card-quote {
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(168, 116, 76, 0.28);
  font-family: var(--lis-font-handwriting);
  font-size: 0.86rem;
  line-height: 1.24;
  color: var(--lis-ink-body-cream);
}

.st-slide-card-cta {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--lis-burgundy-cta);
  color: #fff8ee;
  font-size: 0.68rem;
  font-weight: 700;
}

.st-slide-card-burn {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 14px;
  height: 44%;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid rgba(245, 205, 130, 0.65);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.55);
  animation: lcBurnSweep 2.9s ease-in-out infinite;
}

.st-slide-card-burn img {
  width: 100%;
  height: 220%;
  object-fit: cover;
  display: block;
}

.st-slide-ember-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff6b1a, #ffd670, #ff4d1a);
  box-shadow: 0 0 18px #ff8a24, 0 0 8px #ffd670;
}

@keyframes lcBurnSweep {
  0%, 15% { height: 78%; opacity: 1; }
  75%, 100% { height: 22%; opacity: 0.88; }
}

.st-live-dots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.st-demo-dot {
  appearance: none;
  border: 1px solid rgba(245, 205, 130, 0.24);
  background: rgba(255, 248, 232, 0.06);
  color: rgba(250, 240, 224, 0.78);
  border-radius: 999px;
  padding: 5px 4px;
  font-family: var(--lis-font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.st-demo-dot.is-active {
  background: var(--lis-gold-pill-active);
  border-color: transparent;
  color: var(--lis-ink-on-gold);
}

/* Right Column: Weightless Synced Timeline (ZERO white SaaS cards!) */
.st-sync-list {
  margin: 4px 0 0;
  padding: 0 0 0 16px;
  list-style: none;
  border-left: 1px solid rgba(245, 205, 130, 0.34);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.st-sync-step {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 9px 12px;
  background: transparent;
  color: rgba(250, 240, 224, 0.76);
  cursor: pointer;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.st-sync-step:hover {
  background: rgba(255, 244, 224, 0.06);
}

.st-sync-step.is-active {
  background: rgba(245, 205, 130, 0.13);
  border-color: rgba(245, 205, 130, 0.42);
  color: #fff9f0;
}

.st-sync-num {
  font-family: var(--lis-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(245, 205, 130, 0.65);
  padding-top: 2px;
}

.st-sync-step.is-active .st-sync-num {
  color: var(--lis-gold-bright);
}

.st-sync-copy strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff8ee;
  margin-bottom: 2px;
}

.st-sync-step.is-active .st-sync-copy strong {
  color: var(--lis-gold-bright);
}

.st-sync-copy span {
  display: block;
  font-size: 0.76rem;
  line-height: 1.44;
}

/* ==================== BLOCK 02: EQUAL-HEIGHT SIGNED SHOPS + CLEAN ALINA ==================== */
.st-mini-arch-char--alina {
  right: -20px;
  bottom: -4px;
  height: 126px;
}

.st-mini-shops--equal {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.st-shop-unit--equal {
  position: relative;
  width: auto;
  height: 128px;
  flex-shrink: 0;
}

.st-shop-unit--equal img {
  height: 128px;
  width: auto;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

/* ==================== BLOCK 03: CLEAR SCENARIOS + BOOK TABS + HUGE CORNER-CROPPED TREE ==================== */
.st-scene-plate {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--lis-border-gold-foil);
  box-shadow: 0 22px 46px rgba(72, 32, 22, 0.18);
  background: #231114;
}

.st-scene-plate img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.st-scene-plate-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(24, 8, 12, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 205, 130, 0.52);
  color: var(--lis-gold-bright);
  font-family: var(--lis-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
}

.st-book-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 13px;
  border-bottom: 1px solid rgba(168, 116, 76, 0.34);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.st-book-tabs::-webkit-scrollbar { display: none; }

.st-book-tab {
  appearance: none;
  border: 0;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  padding: 5px 1px 8px;
  background: transparent;
  font-family: var(--lis-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--lis-ink-muted-cream);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.st-book-tab:hover {
  color: var(--lis-burgundy);
}

.st-book-tab.is-active {
  color: var(--lis-burgundy);
  border-bottom-color: var(--lis-burgundy);
}

.st-scene-story h3 {
  margin: 0 0 5px;
  font-family: var(--lis-font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lis-ink-on-cream);
}

.st-scene-story p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.52;
  color: var(--lis-ink-body-cream);
}

.st-tree-margin--corner {
  right: -46px;
  bottom: -26px;
  width: 236px;
  opacity: 0.96;
}

.lc-compare-grid[data-mode="split"] .st-tree-margin--corner {
  width: 176px;
  right: -38px;
  bottom: -20px;
}

.st-ch3 .st-exlibris-promise--full {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  padding-top: 16px;
  padding-right: 184px;
}

.lc-compare-grid[data-mode="split"] .st-ch3 .st-exlibris-promise--full {
  padding-right: 138px;
}

/* ==================== BLOCK 04: RESTORED ICONIC /f VELVET ENVELOPE + ORNATE SVG FILIGREE POSTCARD ==================== */
.st-fanned-stage {
  position: relative;
  width: min(680px, 100%);
  padding: 18px 0 12px;
  min-height: 295px;
  display: flex;
  align-items: center;
}

.st-fanned-env {
  width: 58%;
  transform: rotate(-10deg) translate(-18px, -16px);
  filter: drop-shadow(0 26px 44px rgba(68, 12, 20, 0.36));
  flex-shrink: 0;
}

.st-fanned-env img {
  width: 100%;
  height: auto;
  display: block;
}

.st-vintage-card {
  position: absolute;
  right: -4px;
  bottom: 4px;
  width: 63%;
  padding: 18px 20px;
  border-radius: 14px;
  background:
    linear-gradient(168deg, rgba(252, 246, 236, 0.95) 0%, rgba(244, 232, 212, 0.97) 100%),
    url("/src/assets/v5/shutters/emboss-ivory.webp?v=20261124c61") center / cover no-repeat;
  border: 1.5px solid rgba(196, 150, 74, 0.72);
  box-shadow:
    inset 0 0 0 5px rgba(252, 246, 236, 0.88),
    inset 0 0 0 6.5px rgba(182, 134, 68, 0.36),
    0 24px 48px rgba(62, 20, 16, 0.24);
  transform: rotate(2.6deg);
  overflow: hidden;
  text-align: left;
}

.st-vintage-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 210px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(180, 126, 60, 0.14);
  box-shadow:
    inset 0 0 0 18px rgba(180, 126, 60, 0.04),
    inset 0 0 0 36px rgba(180, 126, 60, 0.03);
  pointer-events: none;
}

.st-vintage-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 62px minmax(0, 1.08fr);
  gap: 8px;
  align-items: center;
}

.st-vintage-kicker {
  display: block;
  font-family: var(--lis-font-sc);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--lis-bronze-kicker);
}

.st-vintage-title {
  font-family: var(--lis-font-display);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.06;
  color: var(--lis-ink-on-cream);
  -webkit-text-stroke: 0.024em currentColor;
  paint-order: stroke fill;
  margin: 4px 0 12px;
}

.st-vintage-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1px solid rgba(157, 109, 52, 0.34);
  padding: 4px 0;
  margin-bottom: 6px;
}

.st-vintage-line span {
  font-size: 0.64rem;
  color: var(--lis-ink-muted-cream);
  white-space: nowrap;
}

.st-vintage-line input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--lis-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lis-ink-on-cream);
  outline: none;
}

.st-vintage-center-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 100%;
}

.st-vintage-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(157, 109, 52, 0.45), transparent);
}

.st-vintage-svg-stamp {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.st-vintage-right textarea {
  width: 100%;
  min-height: 132px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.56);
  resize: none;
  font-family: var(--lis-font-handwriting);
  font-size: 0.9rem;
  line-height: 1.24;
  color: var(--lis-ink-on-cream);
  outline: none;
}

.st-vintage-right small {
  display: block;
  margin-top: 4px;
  font-size: 0.6rem;
  color: var(--lis-ink-muted-cream);
}

@media (max-width: 780px) {
  .st-ch1-live-grid {
    grid-template-columns: 1fr;
  }
  .st-live-device {
    max-width: 280px;
    margin: 0 auto;
  }
  .st-fanned-stage {
    min-height: 0;
    flex-direction: column;
  }
  .st-fanned-env {
    width: 80%;
    transform: rotate(-4deg);
  }
  .st-vintage-card {
    position: relative;
    width: 100%;
    margin-top: -22px;
    transform: rotate(0deg);
  }
  .st-vintage-grid {
    grid-template-columns: 1fr;
  }
  .st-vintage-center-seal {
    display: none;
  }
}

.lb-main[data-viewport="mobile"] .st-ch1-live-grid {
  grid-template-columns: 1fr;
}

.lb-main[data-viewport="mobile"] .st-live-device {
  max-width: 280px;
  margin: 0 auto;
}

.lb-main[data-viewport="mobile"] .st-fanned-stage {
  min-height: 0;
  flex-direction: column;
}

.lb-main[data-viewport="mobile"] .st-fanned-env {
  width: 82%;
  transform: rotate(-4deg);
}

.lb-main[data-viewport="mobile"] .st-vintage-card {
  position: relative;
  width: 100%;
  margin-top: -20px;
  transform: rotate(0deg);
}

.lb-main[data-viewport="mobile"] .st-vintage-grid {
  grid-template-columns: 1fr;
}

.lb-main[data-viewport="mobile"] .st-vintage-center-seal {
  display: none;
}

/* ==================== BLOCK 02: 4 LIVE SURFACE THEMES (SPRUCE / NAVY / CREAM / BURGUNDY) ==================== */
.st-ch2-themes {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(245, 205, 130, 0.26);
}

.st-ch2--cream .st-ch2-themes {
  background: rgba(168, 116, 76, 0.12);
  border-color: rgba(168, 116, 76, 0.34);
}

.st-theme-chip {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
  background: transparent;
  color: rgba(255, 244, 224, 0.84);
  font-family: var(--lis-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.st-theme-chip.is-active {
  background: var(--lis-gold-pill-active);
  color: var(--lis-ink-on-gold);
}

.st-ch2--cream .st-theme-chip {
  color: var(--lis-ink-body-cream);
}

.st-ch2--cream .st-theme-chip.is-active {
  background: var(--lis-burgundy);
  color: #fff8ee;
}

/* 1. Spruce Emerald (Хвойный изумруд — rich festive pine!) */
.st-ch2--spruce {
  background:
    radial-gradient(ellipse 68% 45% at 24% 34%, rgba(245, 205, 130, 0.16), transparent 64%),
    linear-gradient(168deg, #163a2f 0%, #102b23 54%, #091a15 100%);
  color: #fdf6e9;
}

/* 2. Winter Navy (Зимний сапфир — seamless continuation of Hero & /v5 night sky!) */
.st-ch2--navy {
  background:
    radial-gradient(ellipse 68% 45% at 24% 34%, rgba(245, 205, 130, 0.16), transparent 64%),
    linear-gradient(168deg, #102446 0%, #0b1a34 54%, #061022 100%);
  color: #fdf6e9;
}

/* 3. Light Embossed Ivory (Светлый хлопок — airy watercolor editorial!) */
.st-ch2--cream {
  background:
    linear-gradient(174deg, rgba(250, 242, 232, 0.86) 0%, rgba(242, 229, 214, 0.9) 100%),
    url("/src/assets/v5/shutters/emboss-ivory.webp?v=20261124c61") center / cover no-repeat;
  color: var(--lis-ink-on-cream);
}

.st-ch2--cream .st-floor-row {
  border-bottom-color: rgba(168, 116, 76, 0.28);
}

.st-ch2--cream .st-floor-eyebrow {
  color: var(--lis-bronze-kicker);
}

.st-ch2--cream .st-floor-copy h3 {
  color: var(--lis-ink-on-cream);
}

.st-ch2--cream .st-floor-copy p {
  color: var(--lis-ink-body-cream);
}

/* 4. Burgundy Fireplace (Original warm wine for comparison) */
.st-ch2--burgundy {
  background:
    radial-gradient(ellipse 70% 45% at 22% 35%, rgba(242, 166, 72, 0.18), transparent 65%),
    linear-gradient(168deg, #5c0f1e 0%, #440915 52%, #2b050d 100%);
  color: var(--lis-ink-on-burgundy);
}

/* ==================== MOBILE 390px FIXES FOR BLOCK 03 & BLOCK 04 ==================== */
@media (max-width: 720px) {
  .st-ch3 {
    padding: 28px 18px 30px;
  }
  .st-book-tabs {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .st-book-tab {
    font-size: 0.78rem;
  }
  .st-ch3 .st-exlibris-promise--full,
  .lc-compare-grid[data-mode="split"] .st-ch3 .st-exlibris-promise--full {
    padding-right: 0;
    margin-top: 18px;
    align-items: flex-start;
    gap: 12px;
  }
  .st-tree-margin--corner {
    display: none;
  }
}

.lb-main[data-viewport="mobile"] .st-ch3 {
  padding: 26px 16px 28px;
}

.lb-main[data-viewport="mobile"] .st-book-tabs {
  flex-wrap: wrap;
  gap: 6px 12px;
}

.lb-main[data-viewport="mobile"] .st-book-tab {
  font-size: 0.76rem;
}

.lb-main[data-viewport="mobile"] .st-ch3 .st-exlibris-promise--full,
.lb-main[data-viewport="mobile"] .lc-compare-grid[data-mode="split"] .st-ch3 .st-exlibris-promise--full {
  padding-right: 0;
  margin-top: 16px;
  align-items: flex-start;
  gap: 12px;
}

.lb-main[data-viewport="mobile"] .st-postal-seal {
  width: 64px;
  height: 64px;
}

.lb-main[data-viewport="mobile"] .st-tree-margin--corner {
  display: none;
}

.lb-main[data-viewport="mobile"] .st-ch4 {
  padding: 28px 16px;
}

.lb-main[data-viewport="mobile"] .st-desk-cta-strip {
  justify-content: center;
  text-align: center;
}

.lb-main[data-viewport="mobile"] .st-desk-price-hero {
  text-align: center;
}

/* ==================== FULL-WIDTH LIVE LANDING INTEGRATION (/f) ==================== */
.lf-story-section {
  width: 100%;
  padding-top: clamp(56px, 6.5vw, 84px);
  padding-bottom: clamp(56px, 6.5vw, 84px);
}

.lf-story-inner {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
}

.lf-cta-actions-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.st-fanned-stage[data-card-state="tucked"] .st-vintage-card {
  transform: translate(-18%, -10%) rotate(-7deg) scale(0.84);
  opacity: 0.92;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.st-fanned-stage .st-vintage-card {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.lf-story-footer {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(168, 116, 76, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.lf-footer-requisites {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 640px;
  color: var(--lis-ink-body-cream);
  font-size: 0.78rem;
  line-height: 1.5;
}

.lf-footer-requisites p {
  margin: 0;
}

.lf-footer-req-title {
  font-weight: 700;
  color: var(--lis-ink-on-cream);
}

.lf-footer-req-meta {
  color: var(--lis-ink-muted-cream);
}

.lf-footer-req-contacts {
  color: var(--lis-ink-muted-cream);
}

.lf-footer-req-contacts a {
  color: var(--lis-burgundy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lf-story-footer .cream-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
}

.lf-cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(376px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px 12px 16px;
  border-radius: 16px;
  background: rgba(36, 9, 16, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 184, 108, 0.42);
  box-shadow: 0 16px 36px rgba(18, 4, 8, 0.34);
  color: #f9efe0;
}

.lf-cookie-text {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.42;
  color: rgba(252, 241, 224, 0.92);
}

.lf-cookie-text a {
  color: #ffe3a3;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lf-cookie-btn {
  appearance: none;
  flex-shrink: 0;
  border: 1px solid rgba(255, 232, 178, 0.62);
  border-radius: 999px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #f8d98c 0%, #d4963f 100%);
  color: #2c1306;
  font-family: var(--lis-font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.lf-cookie-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

@media (max-width: 640px) {
  .lf-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    width: auto;
    padding: 10px 12px 10px 14px;
    gap: 10px;
  }
  .lf-cookie-text {
    font-size: 0.72rem;
  }
}

@media (max-width: 720px) {
  .lf-story-section {
    padding-top: 42px;
    padding-bottom: 44px;
  }
  .lf-cta-actions-inline {
    width: 100%;
    flex-direction: column;
  }
  .lf-cta-actions-inline .lis-btn {
    width: 100%;
  }
}

/* ==================== RED VELVET BOW / RIBBON + GOLD BELL HEADER CREST ==================== */
.st-ch2-head--flow {
  max-width: 820px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.st-ribbon-crest {
  display: block;
  height: auto;
  margin: 0 auto 6px;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(24, 6, 10, 0.34));
  transition: transform 0.25s ease;
}

.st-ribbon-crest--bow {
  width: min(350px, 84%);
}

.st-ribbon-crest--bell {
  width: min(420px, 92%);
  margin-bottom: 2px;
}

.st-ch2--cream .st-ribbon-crest {
  filter: drop-shadow(0 10px 18px rgba(72, 26, 20, 0.18));
}

.st-ch2-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 8px;
}

.st-ch2-controls .st-ch2-themes {
  margin-top: 0;
}

/* ==================== BLOCK 3 CLOSE-UP ARCHETYPE CAST TRIO (NO WINDOW FRAMES!) ==================== */
.st-title--story-lead {
  max-width: 740px;
  font-size: clamp(1.38rem, 2.35vw, 1.92rem);
  line-height: 1.2;
}

.st-title--story-lead em {
  font-size: 1em;
}

.st-floor-row--cast {
  grid-template-columns: 278px minmax(0, 1fr);
  gap: 28px;
}

.st-cast-trio {
  position: relative;
  width: 274px;
  height: 198px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.st-cast-char {
  position: absolute;
  bottom: 0;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.44));
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.st-ch2--cream .st-cast-char {
  filter: drop-shadow(0 12px 18px rgba(72, 30, 18, 0.22));
}

.st-cast-char--left {
  left: -4px;
  height: 158px;
  z-index: 1;
  transform: rotate(-4deg);
}

.st-cast-char--center {
  left: 50%;
  height: 194px;
  z-index: 3;
  transform: translateX(-50%);
}

.st-cast-char--right {
  right: -4px;
  height: 162px;
  z-index: 2;
  transform: rotate(4deg);
}

.st-cast-trio:hover .st-cast-char--center {
  transform: translateX(-50%) translateY(-4px) scale(1.03);
}

@media (max-width: 720px) {
  .st-floor-row--cast {
    grid-template-columns: 1fr;
  }
  .st-cast-trio {
    width: 256px;
    height: 184px;
  }
  .st-cast-char--center { height: 180px; }
  .st-cast-char--left { height: 146px; }
  .st-cast-char--right { height: 150px; }
}

.lb-main[data-viewport="mobile"] .st-floor-row--cast {
  grid-template-columns: 1fr;
}

.lb-main[data-viewport="mobile"] .st-cast-trio {
  width: 252px;
  height: 180px;
}

/* ==================== FULL-BLEED REALISTIC BURGUNDY VELVET BOW OVER GREEN BLOCK ==================== */
.lf-page {
  overflow-x: clip;
}

.st-ch2--velvet-bleed {
  overflow: visible;
  z-index: 6;
  padding-top: clamp(195px, 19vw, 278px);
}

/* Inside /landing-blocks split panes, clip horizontal overflow cleanly at pane border while still bleeding off left/right! */
.lc-pane .st-ch2--velvet-bleed {
  overflow: hidden;
  padding-top: 204px;
}

.st-velvet-bleed-bow {
  position: absolute;
  top: 0;
  left: 50%;
  width: max(108%, 1180px);
  max-width: none;
  height: auto;
  transform: translate(-50%, -28%);
  z-index: 12;
  pointer-events: none;
  filter: drop-shadow(0 20px 28px rgba(8, 3, 5, 0.46));
}

.st-velvet-bleed-bow[hidden] {
  display: none;
}

.lc-pane .st-velvet-bleed-bow {
  width: 118%;
  transform: translate(-50%, -10%);
}

@media (max-width: 720px) {
  .st-ch2--velvet-bleed {
    padding-top: 152px;
  }
  .st-velvet-bleed-bow {
    width: 780px;
    transform: translate(-50%, -28%);
  }
}

.lb-main[data-viewport="mobile"] .st-ch2--velvet-bleed {
  padding-top: 146px;
}

.lb-main[data-viewport="mobile"] .st-velvet-bleed-bow {
  width: 680px;
  transform: translate(-50%, -14%);
}

/* ==================== BLOCK 3 HORIZONTAL 3:4 REELS/INSTA SWIPEABLE CARDS CAROUSEL ==================== */
.st-title--display-hero {
  margin: 0 auto;
  max-width: 820px;
  font-family: var(--lis-font-display);
  font-size: clamp(2.55rem, 5vw, 3.65rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: 0.015em;
  color: #fff9f0;
  -webkit-text-stroke: 0.028em currentColor;
  paint-order: stroke fill;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.24);
}

.st-ch2--cream .st-title--display-hero {
  color: var(--lis-ink-on-cream);
  text-shadow: none;
}

.st-title--script-hero {
  margin: 0 auto;
  max-width: 820px;
  font-family: var(--lis-font-script);
  font-size: clamp(2.85rem, 5.6vw, 4.3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--lis-gold-bright);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.26);
}

.st-ch2--cream .st-title--script-hero {
  color: var(--lis-burgundy);
  text-shadow: none;
}

.st-reels-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.st-reels-wrap[hidden],
.st-floors[hidden] {
  display: none;
}

/* Generous inner shadow-breathing padding so card shadows NEVER clip at the horizontal scroll boundary! */
.st-reels-track {
  position: relative;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  padding: 28px 44px 52px 24px;
  margin: -22px -24px -38px -24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.st-reels-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.st-reels-track.is-dragging img {
  pointer-events: none;
}

.st-reels-track::-webkit-scrollbar {
  display: none;
}

.st-reel-card {
  flex: 0 0 286px;
  min-height: 404px;
  scroll-snap-align: start;
  border-radius: 26px;
  padding: 20px 18px 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 6px;
  align-items: stretch;
  background:
    radial-gradient(ellipse 84% 52% at 50% 78%, rgba(245, 205, 130, 0.15), transparent 68%),
    linear-gradient(168deg, rgba(255, 250, 240, 0.09) 0%, rgba(7, 20, 16, 0.52) 100%);
  border: 1px solid rgba(245, 205, 130, 0.28);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 248, 224, 0.16);
  overflow: hidden;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.st-reel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 205, 130, 0.58);
}

.st-ch2--navy .st-reel-card {
  background:
    radial-gradient(ellipse 85% 60% at 50% 42%, rgba(245, 205, 130, 0.14), transparent 68%),
    linear-gradient(168deg, rgba(255, 250, 240, 0.1) 0%, rgba(6, 14, 30, 0.62) 100%);
}

.st-ch2--burgundy .st-reel-card {
  background:
    radial-gradient(ellipse 85% 60% at 50% 42%, rgba(245, 205, 130, 0.14), transparent 68%),
    linear-gradient(168deg, rgba(255, 246, 232, 0.1) 0%, rgba(36, 4, 12, 0.62) 100%);
}

.st-ch2--cream .st-reel-card {
  background: linear-gradient(168deg, #fffdf8 0%, #f5e9da 100%);
  border-color: rgba(182, 134, 68, 0.42);
  box-shadow: 0 16px 36px rgba(72, 34, 20, 0.1);
}

.st-reel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.st-reel-badge {
  font-family: var(--lis-font-sc);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 205, 130, 0.16);
  color: var(--lis-gold-bright);
  border: 1px solid rgba(245, 205, 130, 0.34);
}

.st-reel-date {
  font-family: var(--lis-font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255, 244, 224, 0.62);
}

.st-ch2--cream .st-reel-badge {
  background: rgba(124, 24, 40, 0.08);
  color: var(--lis-burgundy);
  border-color: rgba(124, 24, 40, 0.22);
}

.st-ch2--cream .st-reel-date {
  color: var(--lis-ink-muted-cream);
}

.st-reel-visual {
  order: 2;
  align-self: end;
  position: relative;
  width: 100%;
  min-height: 260px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Card 1: 3 Dominant Close-up Archetype Heroes filling the lower stage */
.st-reel-visual--cast {
  align-items: flex-end;
}

.st-reel-cast {
  position: absolute;
  bottom: -4px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.36));
}

.st-reel-cast--l { left: -20px; height: 220px; z-index: 1; transform: rotate(-4deg); }
.st-reel-cast--c { left: 50%; height: 270px; z-index: 3; transform: translateX(-50%); }
.st-reel-cast--r { right: -20px; height: 226px; z-index: 2; transform: rotate(4deg); }

/* Card 2, 3, 4: Enlarged lineless 2.5D cutouts resting cleanly at the card bottom */
.st-reel-visual--writer img,
.st-reel-visual--ritual img,
.st-reel-visual--mood img,
.st-reel-visual--family img {
  width: 112%;
  max-width: 116%;
  max-height: 274px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: -4px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.36));
}

/* Card 2 corgi bust: flush-tuck curved bottom hem cleanly behind card border & match sibling height */
.st-reel-visual--writer img {
  width: auto;
  max-width: none;
  height: 304px;
  max-height: 304px;
  margin-bottom: -32px;
  transform: translateX(3px);
}

.st-reel-visual--shops .st-mini-shops--equal {
  gap: 8px;
  transform: translateY(4px);
}

.st-reel-visual--shops .st-shop-unit--equal,
.st-reel-visual--shops .st-shop-unit--equal img {
  height: 154px;
}

.st-reel-copy {
  order: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding: 0 2px;
}

.st-reel-copy h3 {
  position: relative;
  margin: 0;
  padding-bottom: 11px;
  font-family: var(--lis-font-sans);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffe8b8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.st-reel-copy h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 1.5px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 205, 130, 0.82) 0%, rgba(245, 205, 130, 0.14) 100%);
}

.st-reel-copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.46;
  max-width: none;
  color: rgba(255, 246, 232, 0.9);
}

.st-ch2--cream .st-reel-copy h3 {
  color: var(--lis-ink-on-cream);
}

.st-ch2--cream .st-reel-copy p {
  color: var(--lis-ink-body-cream);
}

/* Carousel Bottom Controls + Ornamental Divider + Coda */
.st-reels-footer {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.st-reels-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.st-reels-arrow {
  appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(245, 205, 130, 0.36);
  background: rgba(255, 248, 232, 0.08);
  color: var(--lis-gold-bright);
  font-size: 0.9rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.st-reels-arrow:hover {
  background: rgba(245, 205, 130, 0.2);
  border-color: var(--lis-gold);
}

.st-ch2--cream .st-reels-arrow {
  border-color: rgba(168, 116, 76, 0.42);
  background: rgba(255, 252, 246, 0.86);
  color: var(--lis-burgundy);
}

.st-reels-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.st-reels-dot {
  appearance: none;
  border: 0;
  padding: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(245, 205, 130, 0.32);
  cursor: pointer;
  transition: width 0.22s ease, background-color 0.22s ease;
}

.st-reels-dot.is-active {
  width: 28px;
  background: var(--lis-gold-foil-shimmer);
  background-size: 240% 100%;
  animation: lisGoldShimmer 6.5s linear infinite;
  box-shadow: var(--lis-gold-foil-glow);
}

.st-ch2--cream .st-reels-dot {
  background: rgba(124, 24, 40, 0.22);
}

.st-ch2--cream .st-reels-dot.is-active {
  background: var(--lis-burgundy);
}

.st-reels-divider {
  width: min(460px, 86%);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--lis-gold);
  font-size: 0.78rem;
}

.st-reels-divider i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 205, 130, 0.48), transparent);
}

.st-ch2--cream .st-reels-divider {
  color: var(--lis-burgundy);
}

.st-ch2--cream .st-reels-divider i {
  background: linear-gradient(90deg, transparent, rgba(168, 116, 76, 0.48), transparent);
}

.st-reels-coda {
  margin: 0;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.48;
  color: rgba(255, 244, 224, 0.86);
}

.st-reels-coda strong {
  color: var(--lis-gold-bright);
  font-weight: 700;
}

.st-ch2--cream .st-reels-coda {
  color: var(--lis-ink-body-cream);
}

.st-ch2--cream .st-reels-coda strong {
  color: var(--lis-burgundy);
}

/* ==================== BONUS DIVIDER & FAMILY EVENING BONUS CARD (BELOW CAROUSEL) ==================== */
@keyframes lisGoldShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 240% 50%; }
}

.st-bonus-divider {
  width: min(920px, 100%);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.st-bonus-divider i {
  flex: 1;
  height: 1.5px;
  background: var(--lis-gold-kicker-rule);
}

.st-bonus-divider span {
  font-family: var(--lis-font-sc);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  background: var(--lis-gold-foil-shimmer);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lisGoldShimmer 6.5s linear infinite;
  filter: drop-shadow(0 2px 10px rgba(245, 208, 122, 0.28));
  white-space: nowrap;
}

.st-ch2--cream .st-bonus-divider i {
  background: linear-gradient(90deg, transparent, rgba(168, 116, 76, 0.5), transparent);
}

.st-ch2--cream .st-bonus-divider span {
  color: var(--lis-burgundy);
}

.st-bonus-card {
  width: min(920px, 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 28%, 248px);
  align-items: center;
  gap: 20px;
  min-height: 132px;
  margin-top: 14px;
  margin-bottom: 10px;
  padding: 16px 20px 16px 34px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 42% 95% at 88% 50%, rgba(245, 205, 130, 0.16), transparent 68%),
    linear-gradient(168deg, rgba(255, 250, 240, 0.09) 0%, rgba(7, 20, 16, 0.52) 100%);
  border: 1px solid rgba(245, 205, 130, 0.3);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 248, 224, 0.16);
}

.st-ch2--cream .st-bonus-card {
  background: linear-gradient(168deg, #fffdf8 0%, #f5e9da 100%);
  border-color: rgba(182, 134, 68, 0.42);
  box-shadow: 0 12px 26px rgba(72, 34, 20, 0.1);
}

.st-bonus-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
  z-index: 2;
}

.st-bonus-art img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 162px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(18, 4, 8, 0.44));
}

.st-bonus-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.st-bonus-copy h3 {
  margin: 0;
  font-family: var(--lis-font-sans);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #fff8ee;
}

.st-bonus-copy p {
  margin: 0;
  max-width: 34ch;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  color: #fff6e8;
}

.st-ch2--cream .st-bonus-copy h3 {
  color: var(--lis-ink-on-cream);
}

.st-ch2--cream .st-bonus-copy p {
  color: var(--lis-ink-body-cream);
}

/* Mobile 390px: 74vw card width -> ~56–64px of Card 2 visibly PEEKS from the right edge, zero shadow clip! */
@media (max-width: 720px) {
  .st-ch2-themes {
    border-radius: 22px;
  }
  .st-title--display-hero {
    font-size: clamp(1.75rem, 7.6vw, 2.25rem);
  }
  .st-title--script-hero {
    font-size: clamp(2.55rem, 11vw, 3.25rem);
  }
  .st-reels-track {
    margin: -18px -16px -34px -16px;
    padding: 22px 22px 46px 18px;
    gap: 14px;
    scroll-padding-left: 18px;
  }
  .st-reel-card {
    flex: 0 0 74vw;
    max-width: 282px;
    min-height: 376px;
    border-radius: 24px;
    padding: 18px 16px 0;
    grid-template-rows: auto 1fr;
    gap: 6px;
  }
  .st-reel-visual {
    min-height: 242px;
    height: 100%;
  }
  .st-reel-cast--c { height: 248px; }
  .st-reel-cast--l { left: -18px; height: 202px; }
  .st-reel-cast--r { right: -18px; height: 208px; }
  .st-reel-visual--writer img,
  .st-reel-visual--ritual img,
  .st-reel-visual--mood img,
  .st-reel-visual--family img {
    width: 112%;
    max-width: 116%;
    max-height: 250px;
    margin-bottom: -4px;
  }
  .st-reel-visual--writer img {
    width: auto;
    max-width: none;
    height: 278px;
    max-height: 278px;
    margin-bottom: -30px;
    transform: translateX(2px);
  }
  .st-reel-copy h3 {
    font-size: 1.06rem;
    padding-bottom: 10px;
  }
  .st-reel-copy h3::after {
    margin-top: 9px;
  }
  .st-reel-copy p {
    font-size: 0.82rem;
    line-height: 1.44;
  }
  .st-reel-visual--shops .st-shop-unit--equal,
  .st-reel-visual--shops .st-shop-unit--equal img {
    height: 148px;
  }
  .st-bonus-card {
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr) clamp(96px, 31vw, 174px);
    align-items: center;
    text-align: left;
    gap: 10px;
    min-height: 98px;
    margin-top: 14px;
    margin-bottom: 10px;
    padding: 14px 10px 14px 14px;
  }
  .st-bonus-art {
    margin: 0;
  }
  .st-bonus-art img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 118px;
  }
  .st-bonus-copy {
    text-align: left;
    align-items: flex-start;
  }
  .st-bonus-copy h3 {
    font-size: 1rem;
  }
  .st-bonus-copy p {
    font-size: clamp(0.74rem, 3.15vw, 0.88rem);
    line-height: 1.42;
    max-width: 34ch;
    text-wrap: pretty;
  }
}

.lb-main[data-viewport="mobile"] .st-reels-track {
  margin-left: -16px;
  margin-right: -16px;
  padding: 4px 18px 12px 18px;
  gap: 14px;
}

.lb-main[data-viewport="mobile"] .st-reel-card {
  flex: 0 0 282px;
}

/* Light Warm Cream Section + Dark Rich Spruce Cards (Block 3 after Burgundy Bow) */
.st-ch2--light-darkcards {
  background: #f8f0e4;
  border: 0;
  padding-bottom: clamp(82px, 9vw, 128px);
  color: var(--lis-ink-on-cream);
}

.lf-page .lf-story-section {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none;
}

.lf-page .st-ch2--light-darkcards {
  background: #f8f0e4;
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(34px, 4vw, 52px);
}

/* Full-bleed edge-to-edge winter spruce branches sitting strictly BELOW 100dvh Hero (zero protrusion into Hero, ZERO bottom shadow-clip seam!) */
.lf-page .st-ch2--spruce-bleed {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  z-index: 6;
  padding-top: 0;
}

.st-spruce-bleed-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: clamp(134px, 10.8vw, 158px);
  margin-bottom: clamp(42px, 5vw, 68px);
  background: transparent;
  overflow: visible;
}

.st-spruce-bleed-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: #030812;
  z-index: 0;
  pointer-events: none;
}

.st-spruce-bleed-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% + 160px);
  height: 100%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  background-image: url("../assets/v5-storybook/v5-decor-spruce-divider-wide.webp?v=20261127f70");
  background-repeat: repeat-x;
  background-position: center center;
  background-size: auto 100%;
  filter: drop-shadow(0 8px 14px rgba(24, 18, 12, 0.14));
}

.lf-page .st-ch4 {
  background: #f8f0e4;
  padding-top: clamp(88px, 9.5vw, 136px);
  padding-bottom: clamp(28px, 3.4vw, 48px);
}

.lf-page .st-ch4--velvet-bleed {
  position: relative;
  overflow: visible;
  z-index: 6;
  padding-top: clamp(195px, 19vw, 278px);
  padding-bottom: clamp(28px, 3.4vw, 48px);
}

.lf-page .st-ch5 {
  background: #f8f0e4;
  padding-top: clamp(28px, 3.4vw, 48px);
  padding-bottom: clamp(56px, 6vw, 84px);
}

@media (max-width: 720px) {
  .lf-page .st-ch2--light-darkcards {
    padding-top: 52px;
    padding-bottom: 34px;
  }
  .lf-page .st-ch2--spruce-bleed {
    padding-top: 0;
  }
  .st-spruce-bleed-band {
    height: 112px;
    margin-bottom: 34px;
  }
  .lf-page .st-ch4 {
    padding-top: 78px;
    padding-bottom: 22px;
  }
  .lf-page .st-ch4--velvet-bleed {
    padding-top: 152px;
    padding-bottom: 22px;
  }
  .lf-page .st-ch5 {
    padding-top: 22px;
  }
}

.st-ch2--light-darkcards .st-title--display-hero {
  color: var(--lis-burgundy);
  text-shadow: none;
}

.st-ch2--light-darkcards .st-reel-card {
  background:
    radial-gradient(ellipse 84% 52% at 50% 78%, rgba(245, 205, 130, 0.17), transparent 68%),
    linear-gradient(168deg, #163a2f 0%, #0f2921 56%, #091914 100%);
  border: 1px solid rgba(196, 150, 74, 0.42);
  box-shadow:
    0 10px 22px rgba(34, 18, 12, 0.14),
    inset 0 1px 0 rgba(255, 248, 224, 0.14);
}

.st-ch2--light-darkcards .st-bonus-card {
  background:
    radial-gradient(ellipse 46% 96% at 86% 52%, rgba(255, 214, 134, 0.16), transparent 68%),
    var(--lis-burgundy-fireplace);
  border: 1.5px solid var(--lis-border-gold-foil);
  box-shadow:
    inset 0 0 0 1px var(--lis-border-on-burgundy),
    0 18px 36px rgba(46, 5, 14, 0.22);
  color: var(--lis-ink-on-burgundy);
}

.st-ch2--light-darkcards .st-bonus-copy p {
  color: var(--lis-ink-on-burgundy);
}

.st-ch2--light-darkcards .st-reels-dot {
  background: rgba(124, 24, 40, 0.22);
}

.st-ch2--light-darkcards .st-reels-dot.is-active {
  background: var(--lis-burgundy);
  box-shadow: 0 4px 12px rgba(124, 24, 40, 0.28);
  animation: none;
}

.st-ch2--light-darkcards .st-bonus-divider i {
  background: linear-gradient(90deg, transparent, rgba(168, 116, 76, 0.55), transparent);
}

.st-ch2--light-darkcards .st-bonus-divider span {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--lis-burgundy);
  filter: none;
  animation: none;
}

@media (max-width: 560px) {
  #buy-advent-title {
    font-size: clamp(1.36rem, 5.6vw, 1.82rem);
    line-height: 1.12;
  }
}

/* Single-Row Segmented Format Toggle ("Для себя" | "В подарок близкому") + Unified Price */
.st-ticket-picker.st-ticket-picker--segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: min(460px, 100%);
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.88);
  border: 1.5px solid rgba(168, 116, 76, 0.34);
  box-shadow: 0 10px 24px rgba(68, 32, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.st-ticket-picker--segmented .st-ticket-opt {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--lis-ink-on-cream);
  font-family: var(--lis-font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.st-ticket-picker--segmented .st-ticket-opt:hover {
  color: var(--lis-burgundy);
  border-color: transparent;
}

.st-ticket-picker--segmented .st-ticket-opt.is-active {
  background: var(--lis-burgundy-fireplace);
  border-color: rgba(245, 205, 130, 0.52);
  color: #fff8ee;
  box-shadow: 0 8px 20px rgba(92, 15, 30, 0.28);
}

.st-ticket-unified-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin-top: -4px;
  max-width: 540px;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--lis-ink-body-cream);
}

.st-ticket-unified-price {
  font-family: var(--lis-font-sans);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--lis-burgundy);
  white-space: nowrap;
}

.st-ticket-unified-sep {
  color: rgba(168, 116, 76, 0.72);
  font-weight: 700;
}

@media (max-width: 720px) {
  .st-ticket-picker.st-ticket-picker--segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(380px, 100%);
    padding: 4px;
    gap: 4px;
  }
  .st-ticket-picker--segmented .st-ticket-opt {
    padding: 11px 8px;
    font-size: 0.82rem;
  }
  .st-ticket-unified-meta {
    flex-direction: column;
    gap: 3px;
    font-size: 0.78rem;
  }
  .st-ticket-unified-sep {
    display: none;
  }
}

.lb-main[data-viewport="mobile"] .st-ticket-picker.st-ticket-picker--segmented {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Automatic Author Invitation Postcard ("Для себя") & Direct CTA Below Postcard */
.st-vintage-static-val {
  font-family: var(--lis-font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lis-ink-on-cream);
  padding: 3px 0;
}

.st-vintage-author-note {
  margin: 0;
  font-family: var(--lis-font-handwriting);
  font-size: 1.06rem;
  line-height: 1.38;
  color: #4a2024;
}

.st-vintage-auto-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-family: var(--lis-font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--lis-bronze-kicker);
}

.st-desk-cta-direct {
  width: min(540px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  text-align: center;
}

.st-desk-checkout-form {
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.st-desk-fields-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 10px;
}

@media (max-width: 560px) {
  .st-desk-fields-row {
    grid-template-columns: 1fr;
  }
}

.st-desk-email-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(196, 150, 74, 0.52);
  background: rgba(255, 252, 246, 0.92);
  color: var(--lis-ink-on-cream);
  font-family: var(--lis-font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 8px 22px rgba(74, 34, 22, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.st-desk-email-input::placeholder {
  color: rgba(114, 92, 80, 0.78);
}

.st-desk-email-input:focus {
  outline: none;
  border-color: var(--lis-burgundy);
  background: #fffdf9;
  box-shadow: 0 0 0 3px rgba(196, 150, 74, 0.28), 0 10px 24px rgba(74, 34, 22, 0.08);
}

.st-desk-fields-hint {
  margin: 0 auto 2px;
  max-width: 460px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.44;
  color: var(--lis-ink-body-cream);
  text-align: center;
  text-wrap: balance;
}

.st-desk-consents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 460px;
  margin: 2px auto 4px;
}

/* Subtle collapsible promo code control (zero distraction for regular buyers) */
.st-desk-promo {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 2px;
}

.st-desk-promo-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 2px 8px;
  font-family: var(--lis-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lis-burgundy);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  cursor: pointer;
  opacity: 0.86;
  transition: opacity 0.16s ease;
}

.st-desk-promo-toggle:hover {
  opacity: 1;
}

.st-desk-promo-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.st-desk-promo-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(196, 150, 74, 0.56);
  background: rgba(255, 252, 246, 0.94);
  color: var(--lis-ink-on-cream);
  font-family: var(--lis-font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.st-desk-promo-input:focus {
  outline: none;
  border-color: var(--lis-burgundy);
  background: #fffdf9;
  box-shadow: 0 0 0 3px rgba(196, 150, 74, 0.25);
}

.st-desk-promo-apply {
  appearance: none;
  flex-shrink: 0;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(196, 150, 74, 0.62);
  background: linear-gradient(135deg, #fff6e4 0%, #f1d9ad 100%);
  color: var(--lis-burgundy-deep);
  font-family: var(--lis-font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.st-desk-promo-apply:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.st-desk-promo-chip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(22, 58, 47, 0.10);
  border: 1px solid rgba(47, 125, 87, 0.34);
  color: #163a2f;
  font-size: 0.8rem;
  font-weight: 700;
}

.st-desk-promo-clear {
  appearance: none;
  border: 0;
  background: transparent;
  color: #163a2f;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 2px 6px;
  cursor: pointer;
}

.st-desk-promo-err {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a62436;
  text-align: center;
}

.st-desk-consent {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  font-size: 0.78rem;
  line-height: 1.44;
  color: var(--lis-ink-muted-cream);
  text-align: left;
  cursor: pointer;
}

.st-desk-consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex-shrink: 0;
  border-radius: 5px;
  border: 1.5px solid rgba(146, 98, 52, 0.78);
  background: #fffbf2;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.st-desk-consent input:checked {
  border-color: #6d1324;
  background: #6d1324;
  box-shadow: 0 0 0 2px rgba(212, 162, 74, 0.28);
}

.st-desk-consent input:checked::after {
  content: "";
  width: 8px;
  height: 4.5px;
  border-left: 2px solid #ffe4a3;
  border-bottom: 2px solid #ffe4a3;
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}

.st-desk-consent a {
  color: var(--lis-burgundy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#pay {
  scroll-margin-top: 24px;
}

.st-desk-cta-pair {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.st-desk-cta-btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  padding: 14px 16px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.st-desk-cta-main {
  min-width: 0;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(92, 15, 30, 0.26), inset 0 1px 0 rgba(255, 224, 172, 0.32);
}

.st-desk-cta-secondary {
  border: 1.5px solid rgba(114, 24, 42, 0.34);
  background: linear-gradient(180deg, #fffaf0 0%, #f5e6cf 100%);
  color: #5c1220;
  box-shadow: 0 8px 20px rgba(84, 34, 20, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.st-desk-cta-secondary:hover {
  border-color: rgba(114, 24, 42, 0.62);
  background: linear-gradient(180deg, #fffdf7 0%, #f1dcbb 100%);
  transform: translateY(-1px);
}

.st-desk-cta-main[disabled],
.st-desk-cta-secondary[disabled] {
  opacity: 0.48;
  filter: saturate(0.65);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.st-desk-cta-main[disabled][data-busy="true"],
.st-desk-cta-secondary[disabled][data-busy="true"] {
  opacity: 0.76;
  cursor: wait;
}

.st-desk-h-checkout {
  width: min(560px, 100%);
  margin: 14px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.st-desk-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--lis-ink-muted-cream);
}

.st-desk-trust-dot {
  color: rgba(168, 116, 76, 0.68);
  font-weight: 700;
}

@media (max-width: 560px) {
  .st-desk-cta-pair {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .st-desk-cta-btn {
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    font-size: 0.92rem;
  }
}

/* Golden Star Divider cleanly bridging Block 2 (Bonus) and Block 3 (5 минут и внутри рождается праздник) */
.st-section-gold-divider {
  background: #f8f0e4;
  padding: 2px 24px 0;
  display: flex;
  justify-content: center;
}

.st-gold-star-divider {
  width: min(420px, 78%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.st-gold-star-divider i {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 150, 74, 0) 0%, rgba(196, 150, 74, 0.72) 100%);
}

.st-gold-star-divider i:last-child {
  background: linear-gradient(90deg, rgba(196, 150, 74, 0.72) 0%, rgba(196, 150, 74, 0) 100%);
}

.st-gold-star-divider span {
  font-size: 0.92rem;
  line-height: 1;
  color: #b78538;
  text-shadow: 0 0 10px rgba(222, 176, 92, 0.36);
}

/* ==================== BLOCK 3: OFFICIAL APPLE iPHONE HERO SHOWCASE (ZERO TECH FRAMES!) ==================== */
.ip-showcase-section {
  position: relative;
  z-index: 4;
  padding: clamp(44px, 5.2vw, 72px) clamp(18px, 4vw, 40px) clamp(110px, 11vw, 152px);
  background:
    radial-gradient(ellipse 68% 48% at 32% 54%, rgba(235, 196, 132, 0.2), transparent 68%),
    #f8f0e4;
  color: var(--lis-ink-on-cream);
}

.ip-container {
  width: min(1020px, 100%);
  margin: 0 auto;
}

.ip-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(26px, 3.6vw, 38px);
}

.ip-title {
  margin: 0 0 10px;
  font-family: var(--lis-font-display);
  font-size: clamp(2.25rem, 4.1vw, 3.2rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0.015em;
  color: var(--lis-burgundy);
  -webkit-text-stroke: 0.028em currentColor;
  paint-order: stroke fill;
  text-wrap: balance;
}

.ip-lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  line-height: 1.52;
  color: var(--lis-ink-body-cream);
  text-wrap: balance;
}

/* 2-Column Hero Stage: Big Real Apple iPhone (Left) + Airy Editorial Steps (Right, Zero Boxes) */
.ip-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(32px, 5.5vw, 72px);
}

.ip-device-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ip-device-glow {
  position: absolute;
  width: 380px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 174, 96, 0.32) 0%, rgba(124, 24, 40, 0.08) 46%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

/* Official Apple iPhone Air Light Gold (1380 x 2880 exact aspect ratio) */
.ip-device {
  position: relative;
  z-index: 2;
  width: min(318px, 100%);
  aspect-ratio: 1380 / 2880;
  filter: drop-shadow(0 30px 48px rgba(42, 22, 14, 0.24)) drop-shadow(0 10px 18px rgba(42, 22, 14, 0.14));
}

/* Official Apple Bezel PNG/WebP sits ABOVE the screen for razor-crisp Dynamic Island & metal frame */
.ip-bezel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  z-index: 20;
  pointer-events: none;
  user-select: none;
}

/* Live interactive screen seated cleanly behind the official Apple bezel aperture */
.ip-screen {
  position: absolute;
  top: 2.25%;
  right: 4.05%;
  bottom: 2.25%;
  left: 4.05%;
  border-radius: 12.8% / 6.1%;
  overflow: hidden;
  background: radial-gradient(ellipse 88% 66% at 50% 42%, #19345e 0%, #0d1f3f 56%, #071227 100%);
  z-index: 5;
}

.ip-screen--video {
  background: #071020;
}

.ip-demo-video-stage {
  position: absolute;
  top: 28px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  background: #071020;
  overflow: hidden;
}

.ip-demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #071020;
}

.ip-video-pause-overlay {
  appearance: none;
  position: absolute;
  inset: 0;
  z-index: 6;
  border: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ip-video-play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 3px;
  background: rgba(14, 20, 36, 0.72);
  border: 1.5px solid rgba(246, 208, 128, 0.78);
  color: #fff6e6;
  font-size: 1.15rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.ip-screen--video.is-video-paused .ip-video-pause-overlay {
  background: rgba(6, 12, 24, 0.24);
}

.ip-screen--video.is-video-paused .ip-video-play-icon {
  opacity: 1;
  transform: scale(1);
}

.ip-snow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* Authentic iOS evening status bar flanking Apple Dynamic Island */
.ip-ios-statusbar {
  position: absolute;
  top: 10px;
  left: 22px;
  right: 20px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 250, 242, 0.94);
  font-family: -apple-system, BlinkMacSystemFont, var(--lis-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.ip-ios-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ip-ios-homebar {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.76);
  z-index: 16;
  pointer-events: none;
}

/* Slides inside the real Apple screen — full-bleed, zero technical top bars! */
.ip-slide {
  padding-top: 0;
  z-index: 4;
}

/* Step 1 sits below the live snow canvas (z-index: 3, pointer-events: none) so snow falls right over the snowy hotel! */
.ip-slide[data-auto-step="0"] {
  z-index: 1;
}

.ip-window-scene {
  padding: 58px 18px 34px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ==================== STEP 1: SNOWY HOTEL FACADE -> TAP WINDOW -> CAMERA ZOOM -> CURTAINS PART ==================== */
.ip-hotel-scene {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.ip-hotel-camera {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
  z-index: 1;
}

.ip-hotel-camera::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background:
    linear-gradient(180deg, rgba(6, 13, 28, 0.42) 0%, rgba(6, 13, 28, 0) 18%, rgba(6, 13, 28, 0) 76%, rgba(6, 13, 28, 0.72) 100%);
}

.ip-hotel-stage {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 16;
  flex-shrink: 0;
  transform-origin: 43.1% 48.4%;
  transform: translate(0%, 0%) scale(1);
  transition: none;
  will-change: transform;
}

/* Keep facade razor-sharp (zero blurry zoom) — gentle luxury breath + golden starburst on Window #1! */
.ip-hotel-scene[data-win-phase="sparkle"] .ip-hotel-stage,
.ip-hotel-scene[data-win-phase="zoom"] .ip-hotel-stage,
.ip-hotel-scene[data-win-phase="open"] .ip-hotel-stage {
  transform: translate(0%, 0%) scale(1.03);
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-hotel-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.86) saturate(0.98);
  transition: filter 0.45s ease;
}

.ip-hotel-scene[data-win-phase="sparkle"] .ip-hotel-img,
.ip-hotel-scene[data-win-phase="zoom"] .ip-hotel-img,
.ip-hotel-scene[data-win-phase="open"] .ip-hotel-img {
  opacity: 1;
  filter: brightness(0.95) saturate(1.04);
}

/* Pixel-locked Window #1 directly inside the golden balcony arch (39.1%..47.1%, 44.3%..52.5%) */
.ip-hotel-win-hotspot {
  appearance: none;
  position: absolute;
  left: 38.9%;
  top: 44.1%;
  width: 8.4%;
  height: 8.6%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  transition: opacity 0.32s ease 0.28s;
}

.ip-hotel-scene[data-win-phase="zoom"] .ip-hotel-win-hotspot,
.ip-hotel-scene[data-win-phase="open"] .ip-hotel-win-hotspot {
  opacity: 1;
  pointer-events: none;
}

.ip-hotel-win-arch {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 2px 2px / 34% 34% 2px 2px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 52%, #ffd780 0%, #9b441f 62%, #3a1412 100%);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}

.ip-hotel-win-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 46% 84% at 50% 50%, rgba(255, 236, 174, 0.95) 0%, transparent 72%);
}

.ip-hotel-win-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 49%;
  background: repeating-linear-gradient(90deg, #b83645 0px, #7b1a28 3px, #cf4f56 6px, #892130 9px);
}

.ip-hotel-win-curtain--l {
  left: 0;
  border-right: 1px solid #f7d98c;
}

.ip-hotel-win-curtain--r {
  right: 0;
  border-left: 1px solid #f7d98c;
}

.ip-hotel-win-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50% 50% 5px 5px / 34% 34% 5px 5px;
  border: 2px solid #ffe49c;
  box-shadow: 0 0 14px rgba(255, 212, 114, 0.9), inset 0 0 8px rgba(255, 214, 120, 0.55);
  animation: ipHotelBeacon 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ipHotelBeacon {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.ip-hotel-win-medal {
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lis-gold-foil);
  color: #361015;
  font-family: var(--lis-font-sc);
  font-size: 0.6rem;
  font-weight: 800;
  border: 1px solid #fff2c8;
  box-shadow: 0 0 10px rgba(255, 214, 118, 0.9), 0 3px 6px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.ip-hotel-tap-ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  margin-top: -13px;
  border-radius: 50%;
  border: 2px solid rgba(255, 232, 168, 0.95);
  background: rgba(255, 224, 148, 0.28);
  opacity: 0;
  pointer-events: none;
}

.pd-auto-slide.is-active .ip-hotel-scene[data-win-phase="hotel"] .ip-hotel-tap-ripple {
  animation: ipHotelTapRipple 1.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ipHotelTapRipple {
  0%, 62% { opacity: 0; transform: scale(0.45); }
  74% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(2.4); }
}

.ip-hotel-ghost-cursor {
  position: absolute;
  left: 62%;
  top: 62%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 224, 0.96) 0%, rgba(255, 214, 122, 0.65) 54%, rgba(255, 214, 122, 0) 76%);
  border: 1.5px solid rgba(255, 246, 214, 0.92);
  box-shadow: 0 0 14px rgba(255, 218, 126, 0.85);
  opacity: 0;
  pointer-events: none;
}

.pd-auto-slide.is-active .ip-hotel-scene[data-win-phase="hotel"] .ip-hotel-ghost-cursor {
  animation: ipHotelCursorTap 1.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ==================== MAGICAL GOLDEN STARBURST ON WINDOW #1 TAP (ZERO BLURRY ZOOM!) ==================== */
.ip-win-magic-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 6;
}

.ip-magic-bloom {
  position: absolute;
  left: -54px;
  top: -54px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.22);
  background: radial-gradient(
    circle,
    rgba(255, 250, 224, 0.96) 0%,
    rgba(255, 218, 128, 0.78) 28%,
    rgba(255, 186, 78, 0.28) 58%,
    rgba(255, 186, 78, 0) 78%
  );
  mix-blend-mode: screen;
}

.ip-magic-ring {
  position: absolute;
  left: -26px;
  top: -26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 236, 174, 0.96);
  box-shadow: 0 0 18px rgba(255, 214, 114, 0.9);
  opacity: 0;
  transform: scale(0.4);
}

.ip-magic-star {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
  color: #fff3c4;
  filter: drop-shadow(0 0 8px rgba(255, 212, 108, 0.96)) drop-shadow(0 0 16px rgba(255, 184, 68, 0.72));
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.2) rotate(0deg);
}

.ip-hotel-scene[data-win-phase="sparkle"] .ip-hotel-win-ring {
  border-color: #fff5d2;
  box-shadow: 0 0 26px rgba(255, 224, 132, 1), inset 0 0 14px rgba(255, 236, 170, 0.85);
}

.ip-hotel-scene[data-win-phase="sparkle"] .ip-magic-bloom {
  animation: ipMagicBloom 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ip-hotel-scene[data-win-phase="sparkle"] .ip-magic-ring {
  animation: ipMagicRing 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ip-hotel-scene[data-win-phase="sparkle"] .ip-magic-star {
  animation: ipMagicStarFly 0.76s cubic-bezier(0.16, 1, 0.3, 1) var(--sd, 0s) forwards;
}

.ip-magic-star--1  { --sx: -56px; --sy: -68px; --ss: 1.15; --sr: 75deg;  --sd: 0s;    color: #fff8dc; }
.ip-magic-star--2  { --sx:  52px; --sy: -72px; --ss: 1.05; --sr: -80deg; --sd: 0.03s; color: #ffe08a; }
.ip-magic-star--3  { --sx:   4px; --sy: -88px; --ss: 1.25; --sr: 90deg;  --sd: 0.05s; color: #fffaf0; }
.ip-magic-star--4  { --sx: -74px; --sy: -18px; --ss: 0.92; --sr: -65deg; --sd: 0.04s; color: #ffd978; }
.ip-magic-star--5  { --sx:  72px; --sy: -22px; --ss: 0.98; --sr: 70deg;  --sd: 0.06s; color: #fff5cc; }
.ip-magic-star--6  { --sx: -46px; --sy:  48px; --ss: 0.82; --sr: 60deg;  --sd: 0.08s; color: #ffe49c; }
.ip-magic-star--7  { --sx:  50px; --sy:  44px; --ss: 0.88; --sr: -72deg; --sd: 0.07s; color: #fff8dc; }
.ip-magic-star--8  { --sx: -24px; --sy: -46px; --ss: 0.72; --sr: 110deg; --sd: 0.11s; color: #ffffff; }
.ip-magic-star--9  { --sx:  30px; --sy: -42px; --ss: 0.74; --sr: -95deg; --sd: 0.12s; color: #ffe391; }
.ip-magic-star--10 { --sx:   0px; --sy:  62px; --ss: 0.78; --sr: 85deg;  --sd: 0.1s;  color: #fff3c4; }

@keyframes ipMagicBloom {
  0%   { opacity: 0; transform: scale(0.22); }
  32%  { opacity: 1; transform: scale(1.65); }
  72%  { opacity: 0.92; transform: scale(2.55); }
  100% { opacity: 0.75; transform: scale(3.15); }
}

@keyframes ipMagicRing {
  0%   { opacity: 0.95; transform: scale(0.45); }
  55%  { opacity: 0.8; transform: scale(2.3); }
  100% { opacity: 0; transform: scale(3.4); }
}

@keyframes ipMagicStarFly {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.25) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: translate3d(calc(var(--sx) * 0.38), calc(var(--sy) * 0.38), 0) scale(var(--ss, 1)) rotate(calc(var(--sr) * 0.35));
  }
  72% {
    opacity: 0.95;
    transform: translate3d(calc(var(--sx) * 0.88), calc(var(--sy) * 0.88), 0) scale(calc(var(--ss, 1) * 0.86)) rotate(calc(var(--sr) * 0.82));
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--sx), var(--sy), 0) scale(0.2) rotate(var(--sr));
  }
}

@keyframes ipHotelCursorTap {
  0% { opacity: 0; transform: translate(26px, 34px) scale(1.1); }
  22% { opacity: 0.95; transform: translate(10px, 14px) scale(1); }
  62% { opacity: 1; transform: translate(-6px, -6px) scale(1); }
  76% { opacity: 1; transform: translate(-6px, -6px) scale(0.76); }
  100% { opacity: 0; transform: translate(-6px, -6px) scale(1.15); }
}

/* Keep waiting viewport parked peacefully on the snowy hotel (no ghost tap firing off-screen) */
#block2-how.is-waiting-viewport .ip-hotel-tap-ripple,
#block2-how.is-waiting-viewport .ip-hotel-ghost-cursor {
  animation: none !important;
  opacity: 0;
}

/* Skipped intermediate close-up window layer: zoom dives directly from the building facade into the cat hero screen */
.ip-closeup-layer {
  display: none !important;
}

.ip-hotel-scene[data-win-phase="zoom"] .ip-closeup-layer,
.ip-hotel-scene[data-win-phase="open"] .ip-closeup-layer {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0) scale(1);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease 0.1s;
}

.ip-closeup-win {
  width: 214px !important;
  animation: none !important;
  transition: filter 0.7s ease;
}

.ip-hotel-scene[data-win-phase="open"] .ip-closeup-win {
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.56)) drop-shadow(0 0 28px rgba(255, 206, 112, 0.54));
}

.ip-curtain-room-peek {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0.75;
  transform: scale(1.12);
  transition: opacity 0.9s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-hotel-scene[data-win-phase="open"] .ip-curtain-room-peek {
  opacity: 1;
  transform: scale(1.02);
}

.ip-hotel-caption {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 8;
  white-space: nowrap;
  max-width: calc(100% - 28px);
}

.ip-screen-caption {
  margin: 0;
  max-width: 248px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(7, 16, 36, 0.64);
  border: 1px solid rgba(255, 236, 200, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.38;
  color: #fff6e6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Step 1: Warm Candle-Backlit Curtains inside the arched window (exact absolute aperture behind v5-win-center-arch.webp!) */
.ip-curtain-glass {
  position: absolute;
  inset: 14% 16% 12% 16%;
  z-index: 1;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 48%, #f8c46c 0%, #9b4822 52%, #3a1714 100%);
}

.ip-curtain-peek-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 52% 82% at 50% 50%, rgba(255, 234, 168, 0.85) 0%, rgba(246, 168, 68, 0.34) 52%, transparent 80%);
  opacity: 0.55;
  mix-blend-mode: screen;
  transition: opacity 0.85s ease;
}

.ip-hotel-scene[data-win-phase="open"] .ip-curtain-peek-glow {
  opacity: 1;
}

.ip-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  z-index: 2;
  background-color: #5b1420;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 0, 0, 0.36);
  transform: translateX(0%) scaleX(1);
  transition: none;
}

.ip-curtain--left {
  left: 0;
  transform-origin: left center;
  background-image: url("../assets/v5/v5-curtain-burgundy-l.webp");
  background-position: right center;
  border-radius: 0 0 12px 0;
}

.ip-curtain--right {
  right: 0;
  transform-origin: right center;
  background-image: url("../assets/v5/v5-curtain-burgundy-r.webp");
  background-position: left center;
  border-radius: 0 0 0 12px;
}

.ip-hotel-scene[data-win-phase="open"] .ip-curtain--left {
  transform: translateX(-70%) scaleX(0.48);
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-hotel-scene[data-win-phase="open"] .ip-curtain--right {
  transform: translateX(70%) scaleX(0.48);
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-screen .pd-real-win-medal {
  background: var(--lis-gold-foil);
  color: #361015;
  box-shadow: var(--lis-gold-foil-glow), 0 6px 14px rgba(0, 0, 0, 0.42);
}

.ip-screen .pd-mini-pill {
  background: var(--lis-gold-foil-shimmer);
  background-size: 220% 100%;
  animation: lisGoldShimmer 5.5s linear infinite;
  color: #2b1106;
  box-shadow: var(--lis-gold-foil-glow);
}

/* Step 2: Lineless 2.5D Hero inside iPhone screen */
.ip-mini-vn {
  position: relative;
  width: 100%;
  height: 100%;
}

.ip-mini-hero {
  position: absolute;
  left: 50%;
  bottom: 132px;
  transform: translateX(-50%);
  height: 58%;
  width: auto;
  max-width: 92%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.48));
}

.ip-mini-chatbox {
  bottom: 24px !important;
  left: 14px !important;
  right: 14px !important;
  border-radius: 18px !important;
  padding: 13px 14px 12px !important;
  background: rgba(26, 12, 18, 0.88) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 205, 130, 0.36) !important;
}

/* Transparent window slides so the deep midnight-blue sky & falling tiny snow dots shine behind Steps 1 & 4 */
.ip-window-scene {
  background: transparent !important;
}

/* Step 4: Warm Storybook Burgundy Brick House Wall bathed in golden window glow (ZERO flat blue void!) */
.ip-window-scene.pd-window-scene--lit {
  background-image:
    radial-gradient(ellipse 78% 54% at 50% 42%, rgba(255, 212, 126, 0.38) 0%, rgba(42, 12, 16, 0.46) 56%, rgba(16, 5, 9, 0.86) 100%),
    url("../assets/v5-storybook/v5-wall-burgundy.webp") !important;
  background-size: cover, 210px 210px !important;
  background-position: center, center !important;
  background-repeat: no-repeat, repeat !important;
}

.ip-window-scene.pd-window-scene--lit .pd-real-win--frameless .pd-real-win-glass--lit {
  border: 7px solid #e7d4b3;
  box-shadow:
    inset 0 0 0 3px #6b3b1e,
    inset 0 6px 20px rgba(0, 0, 0, 0.34),
    0 0 0 1.5px rgba(68, 34, 18, 0.65),
    0 16px 36px rgba(0, 0, 0, 0.58),
    0 0 40px rgba(255, 206, 112, 0.56);
}

.ip-window-scene.pd-window-scene--lit .ip-screen-caption {
  background: rgba(30, 10, 14, 0.8);
  border-color: rgba(245, 205, 130, 0.36);
}

#block2-how.is-waiting-viewport .ip-step.is-step-active .ip-step-rail i {
  animation: none;
  height: 0%;
}

/* Step 3: Softly blurred warm foyer room from Step 2 (seamless transition, zero black void) + Clean Warm Cream Postcard */
.ip-burn-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 50px 12px 30px;
  overflow: hidden;
  background: #140c12 !important;
}

.ip-burn-scene::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: 0;
  background: url("../assets/landing/fire-horse/bg-foyer-9x16.webp") center center / cover no-repeat;
  filter: blur(6px) brightness(0.64) saturate(1.12);
  transform: scale(1.06);
  pointer-events: none;
}

.ip-burn-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 76% 62% at 50% 48%, rgba(255, 214, 134, 0.22) 0%, rgba(28, 12, 18, 0.38) 58%, rgba(12, 6, 12, 0.68) 100%);
  pointer-events: none;
}

.ip-auto-ember .gatefold-paper-emboss {
  display: none !important;
}

.ip-auto-ember .gatefold-center-panel {
  background: #faf2e4 !important;
}

.ip-auto-ember .gatefold-paper-clean-center {
  background: #faf2e4 !important;
  box-shadow: none !important;
}

/* Exact locked 412:582 scaler so the canonical DS postcard renders pixel-for-pixel 1:1 inside the iPhone */
.ip-card-scaler {
  position: relative;
  z-index: 2;
  width: 266px;
  height: 376px;
  flex-shrink: 0;
}

/* True 3D hinged book-door shutter opening inside iPhone (100% matching real product /dom!) */
.ip-auto-ember {
  position: absolute;
  top: 0;
  left: 0;
  width: 412px !important;
  height: 582px !important;
  margin: 0 !important;
  perspective: 1400px !important;
  transform: scale(0.6456);
  transform-origin: top left;
  --card-accent: #4d111a;
  --card-gold: #c99d4a;
  --postcard-emboss-img: url("/src/assets/v5/shutters/emboss-crimson.webp?v=20261124c61");
}

.ip-auto-ember .gatefold-envelope {
  transform: scale(1) !important;
  transform-style: preserve-3d !important;
  perspective: 1400px;
  overflow: visible !important;
  border-radius: 18px;
}

.ip-auto-ember .gatefold-center-paper {
  overflow: hidden;
}

.ip-auto-ember .card-textarea {
  height: 92px;
  overflow: hidden;
  scrollbar-width: none;
}

.ip-auto-shutters .gatefold-shutter {
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.ip-auto-shutters[data-ember-stage="pause"] .gatefold-shutter {
  transform: rotateY(0deg) !important;
  opacity: 1;
  transition: none;
}

.ip-auto-shutters .gatefold-seam-glow {
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 2px;
  transform: translateX(-50%);
  z-index: 5;
  background: linear-gradient(180deg, transparent, rgba(255, 226, 158, 0.72) 50%, transparent);
  opacity: 0.85;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.ip-auto-shutters[data-ember-stage="opened"] .gatefold-seam-glow {
  opacity: 0;
}

.ip-auto-shutters[data-ember-stage="opened"] .gatefold-shutter-left {
  transform: rotateY(-150deg) !important;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.92s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease 0.56s;
}

.ip-auto-shutters[data-ember-stage="opened"] .gatefold-shutter-right {
  transform: rotateY(150deg) !important;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.92s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease 0.56s;
}

.ip-screen .pd-mini-pill,
.ip-auto-ember .gatefold-actions-row .lis-btn {
  cursor: pointer;
}

/* Smooth GPU entrance animations on Step 2 (Hero) & Step 4 (Lit Window) */
.pd-auto-slide.is-active .ip-mini-hero {
  animation: ipHeroFloatIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pd-auto-slide.is-active .ip-mini-chatbox {
  animation: ipChatRiseIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

@keyframes ipHeroFloatIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes ipChatRiseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step 4: Lineless 2.5D cat glowing inside lit window */
.ip-real-win-cat {
  position: absolute;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  height: 76%;
  width: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

/* Shimmering Metallic Gold Light-Sweep over the Velvet Envelope & Sculpted Wax Seal */
.st-fanned-env {
  overflow: hidden;
  border-radius: 22px;
}

.st-fanned-env::after {
  content: "";
  position: absolute;
  inset: -12% -60%;
  background: linear-gradient(
    112deg,
    transparent 38%,
    rgba(255, 244, 204, 0.05) 45%,
    rgba(255, 246, 212, 0.34) 50%,
    rgba(244, 204, 118, 0.14) 54%,
    transparent 62%
  );
  transform: translateX(-45%);
  animation: lisEnvelopeGoldGlint 6.5s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes lisEnvelopeGoldGlint {
  0%, 58% { transform: translateX(-52%); opacity: 0; }
  66% { opacity: 1; }
  88% { transform: translateX(52%); opacity: 0.9; }
  94%, 100% { transform: translateX(52%); opacity: 0; }
}

/* RIGHT COLUMN: Editorial Steps Directly on Cream (Zero White Cards/Frames!) */
.ip-steps-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ip-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ip-step {
  position: relative;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  padding: 13px 8px 13px 0;
  cursor: pointer;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 0.56;
  transition: opacity 0.28s ease, transform 0.24s ease;
}

.ip-step:hover {
  opacity: 0.86;
}

.ip-step.is-step-active {
  opacity: 1;
}

.ip-step-rail {
  position: relative;
  display: block;
  width: 3px;
  height: 100%;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(124, 24, 40, 0.14);
  overflow: hidden;
}

.ip-step-rail i {
  display: block;
  width: 100%;
  height: 0%;
  border-radius: 999px;
  background: linear-gradient(180deg, #8b1e32 0%, #c68d38 55%, #f4d27d 100%);
}

.ip-step.is-step-active .ip-step-rail i {
  animation: ipRailFill var(--ip-step-dur, 4600ms) linear forwards;
}

.ip-steps-list.is-video-sync .ip-step-rail i {
  animation: none !important;
  height: var(--ip-step-pct, 0%);
  transition: height 0.06s linear;
}

.ip-steps-list.is-video-sync .ip-step:not(.is-step-active) .ip-step-rail i {
  height: 0%;
  transition: height 0.16s ease;
}

@keyframes ipRailFill {
  from { height: 0%; }
  to { height: 100%; }
}

.ip-step-body h3 {
  margin: 0 0 5px;
  font-family: var(--lis-font-sans);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.24;
  color: var(--lis-ink-on-cream);
  transition: color 0.22s ease;
}

.ip-step.is-step-active .ip-step-body h3 {
  color: var(--lis-burgundy);
}

.ip-step-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--lis-ink-body-cream);
}

.ip-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-left: 22px;
}

.ip-cta-btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b1e32 0%, #631121 100%);
  color: #fff8ee;
  font-family: var(--lis-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(99, 17, 33, 0.26), inset 0 1px 0 rgba(255, 224, 172, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ip-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(99, 17, 33, 0.34), inset 0 1px 0 rgba(255, 224, 172, 0.36);
}

.ip-footnote {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--lis-ink-muted-cream);
}

/* Mobile-only compact 4-step tabs (hidden on desktop) */
.ip-mobile-tabs {
  display: none;
}

@media (max-width: 860px) {
  .ip-showcase-section {
    padding: 36px 16px 96px;
  }
  .ip-stage {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ip-device {
    width: min(304px, 84vw);
  }
  .ip-card-scaler {
    width: 248px;
    height: 350px;
  }
  .ip-auto-ember {
    transform: scale(0.6019);
  }
  .ip-device-glow {
    width: 300px;
    height: 400px;
  }
  .ip-mobile-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 4px;
    margin-top: 20px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(124, 24, 40, 0.07);
    border: 1px solid rgba(168, 116, 76, 0.24);
  }
  .ip-mob-tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 7px 11px;
    border-radius: 999px;
    font-family: var(--lis-font-sans);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--lis-ink-body-cream);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .ip-mob-tab.is-active {
    background: var(--lis-burgundy);
    color: #fff8ee;
  }
  /* On mobile, show ONLY the active step copy cleanly centered below the tabs — zero long text wall! */
  .ip-steps-list {
    min-height: 76px;
  }
  .ip-step {
    display: none;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4px 10px;
    opacity: 1;
  }
  .ip-step.is-step-active {
    display: block;
  }
  .ip-step-rail {
    display: none;
  }
  .ip-step-body h3 {
    font-size: 1.04rem;
  }
  .ip-step-body p {
    font-size: 0.86rem;
  }
  .ip-actions {
    padding-left: 0;
    align-items: center;
    text-align: center;
  }
  .ip-footnote {
    max-width: 280px;
  }
}
