/* Copyright © 2026 Peiter Gregory LLC. All rights reserved. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --serif: 'Instrument Serif', serif;
  --body: 'Roboto', sans-serif;
  --hand: 'Caveat', cursive;
  --ink: #171717;
  --ink-deep: #0B0705;
  --gray: #828282;
  --cream: #f4f2f0;
}

body {
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-family: var(--body);
  overflow-x: hidden;
  color: var(--ink);
  position: relative;
}

/* ══════════════════════════════════
   LAYOUT VARIABLES
══════════════════════════════════ */
:root {
  --content-width: 580px;
  --content-padding: 32px;
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  text-align: center;
  padding: 128px var(--content-padding);
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  /* Fluid scaling: 44px at 320px viewport, 72px at 680px+ */
  font-size: clamp(44px, 10vw, 72px);
  line-height: 0.85;
  letter-spacing: normal;
  color: var(--ink);
  margin-bottom: 26px;
}

.hero-headline em {
  font-style: italic;
  position: relative;
  display: inline-block;
}

.hero-headline em::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  height: 1.5px;
  background: var(--ink);
  opacity: 0.35;
}

.hero-sub {
  font-family: var(--body);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  max-width: 440px;
  margin: 0 auto;
}

/* ══════════════════════════════════
   CONTENT SECTIONS
══════════════════════════════════ */
.content-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 96px var(--content-padding);
}

/* First section after hero: less top padding since it's at the fold */
.content-section-first {
  padding-top: 64px;
}

.content-label {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

.content-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--ink);
  margin-bottom: 20px;
}

.content-body {
  font-family: var(--body);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.36px;
  color: var(--ink);
  max-width: 500px;
}

/* ══════════════════════════════════
   TWO WEEKS LATER (OUTCOMES)
══════════════════════════════════ */
.section-outcomes {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 96px var(--content-padding);
}

.section-label {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--ink);
  margin-bottom: 32px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.outcome-card {
  position: relative;
  cursor: default;
  overflow: hidden;
}

.outcome-icon {
  width: 32px; height: 32px;
  margin-bottom: 14px;
  opacity: 0.3;
}

.outcome-text {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
}

/* ── Checkmarks layout ── */
.outcomes-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.outcomes-checks .outcome-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.outcomes-checks .check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ink);
  opacity: 0.4;
}

.outcomes-checks .outcome-text {
  font-family: var(--body);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
}

/* ── Variant A: GIF overlay on cards ── */
.outcome-card-a {
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 24px 20px;
  background: rgba(0,0,0,0.01);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.outcome-card-a:hover {
  border-color: rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
}

.outcome-gif {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.outcome-card-a:hover .outcome-gif { opacity: 1; }

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

.outcome-gif-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,14,0.92) 0%, rgba(12,12,14,0.4) 50%, rgba(12,12,14,0.15) 100%);
  z-index: 1;
}

.outcome-gif-text {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  z-index: 2;
  font-family: var(--hand);
  font-size: 20px;
  color: #fff;
  line-height: 1.3;
}

/* ── Variant B: "walk into" click trigger ── */
.walk-into-trigger {
  display: inline;
  position: relative;
  cursor: pointer;
  background-image: linear-gradient(to right, rgba(23,23,23,0.25) 50%, transparent 50%);
  background-size: 8px 1.5px;
  background-repeat: repeat-x;
  background-position: bottom;
  padding-bottom: 3px;
  transition: background-size 0.3s;
}

.walk-into-trigger:hover {
  background-image: linear-gradient(to right, rgba(23,23,23,0.5) 50%, transparent 50%);
}

.walk-into-hint {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  font-family: var(--hand);
  font-size: 15px;
  color: rgba(23,23,23,0.25);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.walk-into-trigger:hover .walk-into-hint { opacity: 1; }

/* ── "Feels right" emoji trigger ── */
.feels-right-trigger {
  cursor: pointer;
  position: relative;
  display: inline;
  background-image: linear-gradient(to right, rgba(23,23,23,0.25) 50%, transparent 50%);
  background-size: 6px 1.5px;
  background-repeat: repeat-x;
  background-position: bottom;
  padding-bottom: 2px;
  transition: background-size 0.3s, color 0.3s;
}

.feels-right-trigger:hover {
  background-image: linear-gradient(to right, rgba(23,23,23,0.5) 50%, transparent 50%);
}

.emoji-pile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  pointer-events: none;
  z-index: 400;
  overflow: visible;
}

.emoji-particle {
  position: fixed;
  font-size: 28px;
  pointer-events: none;
  z-index: 401;
  user-select: none;
  transition: none;
}

.emoji-particle.falling {
  transition: transform 0.1s linear;
}

.emoji-particle.piled {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.emoji-particle.fading-out {
  opacity: 0;
  transform: scale(0.5) translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* ── Variant D: Text Rotator (Slot Machine) ── */
.text-rotator {
  cursor: pointer;
  position: relative;
  display: inline-block;
  min-width: 120px;
  text-align: left;
  overflow: hidden;
  height: 1.2em;
  vertical-align: baseline;
}

.text-rotator-reel {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 0.05em;
}

.text-rotator-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  height: 1.2em;
  flex-shrink: 0;
}

.text-rotator-text {
  display: inline;
  background-image: linear-gradient(to right, rgba(23,23,23,0.25) 50%, transparent 50%);
  background-size: 6px 1.5px;
  background-repeat: repeat-x;
  background-position: bottom;
  padding-bottom: 1px;
  transition: background-size 0.3s;
}

.text-rotator:hover .text-rotator-text {
  background-image: linear-gradient(to right, rgba(23,23,23,0.5) 50%, transparent 50%);
}

.text-rotator-emoji {
  display: inline;
  font-style: normal;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text-rotator-emoji.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Variant B: "differently" styled word ── */
.differently-word {
  font-style: italic;
  position: relative;
}

.differently-word::after {
  display: none;
}

/* ══════════════════════════════════
   GIF EXPLOSION
══════════════════════════════════ */
.gif-explosion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: none;
  cursor: default;
  pointer-events: none;
  overflow: visible;
}

.gif-explosion.active { display: block; }

.gif-backdrop {
  position: absolute; inset: 0;
  background: transparent;
  pointer-events: none;
}

/* No backdrop opacity change needed */

.gif-tile {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  opacity: 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  transform: scale(0) rotate(var(--rot));
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  will-change: transform;
  pointer-events: auto;
}

.gif-tile.landed {
  opacity: 1;
  transform: scale(1) rotate(var(--rot)) translate(0, 0);
}

.gif-tile.dragging {
  cursor: grabbing;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  z-index: 600 !important;
  transition: box-shadow 0.15s ease;
}

.gif-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.gif-tile.wide-gif { min-width: 240px; }
.gif-tile.wide-gif img { object-fit: contain; background: #111; }

/* ══════════════════════════════════
   CTA CARD
══════════════════════════════════ */
.cta-zone {
  background: var(--cream);
  margin: clamp(120px, 18vh, 224px) 32px clamp(80px, 12vh, 144px);
  padding: clamp(64px, 10vh, 112px) 48px;
  border-radius: 32px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner {
  max-width: 500px;
  margin: 0 auto;
}

.cta-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 5.7vw, 82.4px);
  line-height: 0.85;
  letter-spacing: normal;
  color: var(--ink-deep);
  text-align: center;
  margin-bottom: 28px;
}

.cta-headline em {
  font-style: italic;
  position: relative;
  display: inline-block;
}

.cta-sub {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  text-align: center;
  max-width: 380px;
  margin: 0 auto 52px;
}

.cta-divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin-bottom: 52px;
  max-width: 480px;
}

.cta-form-intro {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.36px;
  color: var(--ink);
  margin-bottom: 26px;
  max-width: 480px;
}

.cta-form { display: flex; flex-direction: column; gap: 20px; max-width: 480px; }

.fg { display: flex; flex-direction: column; gap: 8px; }
.fg label {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.fg .input-wrap {
  background: #fff;
  border-radius: 2px;
  height: 44px;
  display: flex;
  align-items: center;
}

.fg input {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  padding: 12px;
  background: transparent;
  border: none;
  color: var(--ink);
  outline: none;
  width: 100%;
  height: 100%;
}

.fg input::placeholder { color: #bbb; font-weight: 400; }

.cta-btn {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  padding: 0 18px;
  height: 40px;
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 8px;
  width: auto;
  align-self: flex-start;
}

.cta-btn:hover { background: var(--ink); color: #fff; }
.cta-btn svg { transition: transform 0.25s ease; }
.cta-btn:hover svg { transform: translateX(3px); }

/* ══════════════════════════════════
   CTA SPLIT (LEFT-RIGHT LAYOUT)
══════════════════════════════════ */
.cta-split {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
}

.cta-split-left {
  padding: 20px 24px 20px 0;
}

.cta-split-divider {
  background: rgba(0,0,0,0.08);
}

.cta-split-right {
  padding: 20px 0 20px 24px;
}

.cta-split-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  color: var(--ink-deep);
  margin-bottom: 24px;
}

.cta-split-headline em {
  font-style: italic;
}

.cta-split-body {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray);
}

.cta-split-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-split-btn {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  padding: 18px 28px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}

.cta-split-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,24,21,0.2);
}

.cta-split-note {
  font-family: var(--body);
  font-size: 14px;
  color: var(--gray);
  text-align: center;
  margin-top: 20px;
}

/* ══════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════ */

/* Mobile: when viewport can't fit 600px content + padding */
@media (max-width: 680px) {
  :root {
    --content-width: 100%;
    --content-padding: 32px;
  }

  .hero {
    padding: 90px var(--content-padding);
  }

  .hero-headline {
    font-size: 56px;
    margin-bottom: 26px;
    text-wrap: balance;
  }

  .hero-sub {
    font-size: 20px;
    max-width: 100%;
    margin-bottom: 90px;
  }

  .content-section,
  .section-outcomes {
    padding: 44px var(--content-padding);
  }

  .content-section-first {
    padding-top: 32px;
  }

  .section-outcomes {
    padding-bottom: 0;
  }

  .content-headline,
  .section-headline {
    font-size: 32px;
    margin-bottom: 18px;
  }

  .content-label,
  .section-label {
    margin-bottom: 16px;
  }

  .content-body,
  .outcomes-checks .outcome-text {
    font-size: 20px;
  }

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

  .cta-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-split-divider {
    height: 1px;
    width: 100%;
    margin: 24px 0;
  }

  .cta-split-left,
  .cta-split-right {
    padding: 0;
  }

  .cta-zone {
    margin: 48px 16px 36px;
    padding: 40px 24px;
    border-radius: 20px;
  }

  /* TV responsive - Hero + TV layout for above-the-fold */
  .retro-tv-container {
    width: 95vw;
  }

  /* Mobile wrapper adjustments */
  .hero-tv-wrapper {
    padding: 16px 0;
  }

  /* Hero short: tighter spacing on mobile */
  .hero-short {
    padding: 0 24px 12px;
  }

  .tv-section {
    padding: 0 16px 0;
  }

  .tv-inline-container {
    width: 100%;
  }
}

/* ══════════════════════════════════
   MOBILE GIF STRIP
══════════════════════════════════ */
.gif-strip {
  display: none;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin-top: 32px;
  margin-left: calc(-1 * var(--content-padding));
  margin-right: calc(-1 * var(--content-padding));
  scrollbar-width: none;
}

.gif-strip::-webkit-scrollbar {
  display: none;
}

.gif-strip-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 var(--content-padding);
  height: 240px;
}

.gif-strip-item {
  flex-shrink: 0;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.gif-strip-item img {
  height: 100%;
  width: auto;
  display: block;
}

@media (max-width: 680px) {
  .gif-strip {
    display: block;
  }
}

/* ══════════════════════════════════
   VARIANT E: RETRO TV VIDEO PLAYER
══════════════════════════════════ */

/* TV trigger link */
.tv-trigger {
  cursor: pointer;
  position: relative;
  display: inline;
  background-image: linear-gradient(to right, rgba(23,23,23,0.25) 50%, transparent 50%);
  background-size: 6px 1.5px;
  background-repeat: repeat-x;
  background-position: bottom;
  padding-bottom: 2px;
  transition: background-size 0.3s, color 0.3s;
}

.tv-trigger:hover {
  background-image: linear-gradient(to right, rgba(23,23,23,0.5) 50%, transparent 50%);
}

/* Overlay */
.retro-tv-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.retro-tv-overlay.active {
  opacity: 1;
  visibility: visible;
}

.retro-tv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

/* TV Container - Image-based */
.retro-tv-container {
  position: relative;
  z-index: 1;
  width: 700px;
  max-width: 90vw;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.retro-tv-overlay.active .retro-tv-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* TV Frame image */
.tv-frame-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Video wrapper - positioned BEHIND the transparent frame */
.tv-video-wrapper {
  position: absolute;
  /* Position to fit inside the TV screen area for TV.png */
  top: 6%;
  left: 5%;
  width: 68%;
  height: 82%;
  z-index: 1;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

/* Video iframe */
.tv-video {
  width: 100%;
  height: 100%;
  border: none;
}

/* YouTube facade: thumbnail + play button */
.tv-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.tv-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  pointer-events: none;
}

.tv-play-btn svg {
  display: block;
}

.tv-play-btn .tv-play-bg {
  fill: #f00;
}

/* Scanlines effect */
.tv-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1) 0px,
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0.4;
}

/* Close button */
.tv-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.tv-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* Responsive - handled by main mobile breakpoint */

/* ══════════════════════════════════
   VARIANT F: INLINE EMBEDDED TV
══════════════════════════════════ */

/* Hero + TV wrapper: full viewport height, centers content */
.hero-tv-wrapper {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}

/* Shorter hero to make room for TV */
.hero-short {
  padding: 0 32px clamp(24px, 4vh, 48px);
}

/* TV Section container */
.tv-section {
  padding: 0 32px 0;
  display: flex;
  justify-content: center;
}

/* Inline TV container */
.tv-inline-container {
  position: relative;
  width: 560px;
  max-width: 90vw;
}

/* Video wrapper - positioned BEHIND the transparent frame */
.tv-inline-video-wrapper {
  position: absolute;
  /* Same positioning as overlay TV */
  top: 6%;
  left: 5%;
  width: 68%;
  height: 82%;
  z-index: 1;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

/* TV Frame image for inline version */
.tv-inline-frame {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* ══════════════════════════════════
   ROUGH.JS UNDERLINE FOR HERO
══════════════════════════════════ */
.rough-underline {
  position: relative;
  display: inline-block;
}

.rough-underline svg {
  position: absolute;
  left: 0;
  pointer-events: none;
}

/* Remove the default em underline from styles.css */
.hero-headline .rough-underline::after {
  display: none;
}

/* ══════════════════════════════════
   HIGHLIGHTER INTERACTIVE TRIGGERS
══════════════════════════════════ */
.highlight-trigger {
  cursor: pointer;
  display: inline;
  background: linear-gradient(to top, rgba(255, 220, 0, 0.35) 60%, transparent 60%);
  transition: background 0.2s ease;
  padding: 0 2px;
}

.highlight-trigger:hover {
  background: linear-gradient(to top, rgba(255, 220, 0, 0.55) 60%, transparent 60%);
}

/* ══════════════════════════════════
   PRICE TAG PARTICLES
══════════════════════════════════ */
.price-tag {
  position: fixed;
  pointer-events: none;
  z-index: 401;
  user-select: none;
  font-family: var(--body);
  font-weight: 500;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  padding: 4px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.price-tag::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 50%;
}

.price-tag.piled {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.price-tag.fading-out {
  opacity: 0;
  transform: scale(0.5) translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* ══════════════════════════════════
   TV SECTION ADJUSTMENTS
══════════════════════════════════ */
/* Pull TV up closer to hero */
.tv-inline-container {
  margin-top: -20px;
}

/* ══════════════════════════════════
   CTA STICKY SECTION
══════════════════════════════════ */
.cta-sticky-wrapper {
  position: relative;
}

.cta-sticky-container {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  overflow: visible;
}

/* CSS owns: transitions, base color, z-index, pointer-events.
   JS owns: width, height, border-radius, max-width, position, top, left, transform.
   See initCtaStickyAnimation() in app.js for the full animation logic. */
.cta-bg-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--cream);
  transition: width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              height 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-radius 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              max-width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  pointer-events: none;
}

.cta-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  padding: 88px 80px;
}

.cta-card-inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 64px;
  align-items: center;
}

.cta-card-left h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 10vw, 72px);
  line-height: 0.85;
  color: var(--ink-deep);
  margin-bottom: 24px;
}

.cta-card-left h2 em { font-style: italic; }

.cta-card-left .subtitle {
  font-family: var(--body);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
}

.cta-card-divider {
  background: rgba(0,0,0,0.08);
  height: 100%;
  min-height: 200px;
}

.cta-card-right .form-intro {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}

.cta-card-right .form-sub {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 300;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: 36px;
  line-height: 1.5;
}

/* Success state */
.success-text {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}

.cta-card-right form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-card-right .fg { display: flex; flex-direction: column; gap: 10px; }
.cta-card-right .fg label {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.cta-card-right .fg .input-wrap {
  background: #fff;
  border-radius: 6px;
  height: 44px;
  display: flex;
  align-items: center;
}
.cta-card-right .fg input {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 400;
  padding: 12px;
  background: transparent;
  border: none;
  color: var(--ink);
  outline: none;
  width: 100%;
  height: 100%;
}
.cta-card-right .fg input::placeholder { color: #aaa; font-weight: 400; }

.cta-card-right .submit-btn {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  padding: 18px 28px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}

.cta-card-right .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,24,21,0.2);
}

@media (max-width: 1024px) {
  .cta-card {
    padding: 0 var(--content-padding) 48px;
    max-width: var(--content-width);
  }

  .cta-card-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-card-left {
    text-align: center;
    padding-top: 88px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 32px;
  }

  .cta-card-left .subtitle {
    margin-bottom: 0;
  }

  .cta-card-divider {
    display: none;
  }
}


@media (max-width: 680px) {
  .gif-strip {
    margin-top: 64px;
    margin-bottom: 88px;
  }

  .cta-card-left h2 {
    font-size: 56px;
  }

  .cta-card-left .subtitle {
    font-size: 20px;
  }
}

/* ══════════════════════════════════
   CTA DARK VARIANT (alt.html)
══════════════════════════════════ */
.cta-dark .cta-bg-layer {
  background: var(--ink);
}

.cta-dark .cta-card-left h2 {
  color: #fff;
}

.cta-dark .cta-card-left .subtitle {
  color: rgba(255,255,255,0.85);
}

.cta-dark .cta-card-divider {
  background: rgba(255,255,255,0.15);
}

.cta-dark .cta-card-right .form-intro {
  color: #fff;
}

.cta-dark .cta-card-right .form-sub {
  color: rgba(255,255,255,0.85);
}

.cta-dark .success-text {
  color: #fff;
}

.cta-dark .cta-card-right .fg label {
  color: #fff;
}

.cta-dark .cta-card-right .fg .input-wrap {
  background: rgba(255,255,255,0.12);
}

.cta-dark .cta-card-right .fg input {
  color: #fff;
}

.cta-dark .cta-card-right .fg input::placeholder {
  color: rgba(255,255,255,0.5);
}

.cta-dark .cta-card-right .submit-btn {
  background: #fff;
  color: var(--ink);
}

.cta-dark .cta-card-right .submit-btn:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

@media (max-width: 1024px) {
  .cta-dark .cta-card-left {
    border-bottom-color: rgba(255,255,255,0.15);
  }
}

/* ══════════════════════════════════
   CTA WHITE VARIANT (alt2.html)
   White footer on cream background
══════════════════════════════════ */
.cta-white .cta-bg-layer {
  background: #fff;
}

.cta-white .cta-card-right .fg .input-wrap {
  background: var(--cream);
}
