/* ============================================================
   TRUE SIGNAL COACHING — HOMEPAGE ADDITIONS
   ------------------------------------------------------------
   Styles used only by the homepage (index.html). The other
   pages keep using styles.css and variables.css unchanged.
   Colours and fonts come from variables.css.
   ============================================================ */


/* ---------- HERO ---------- */

.home-hero {
  background: radial-gradient(ellipse 70% 80% at 85% 40%, #E6F4F3 0%, #F7FAF9 62%);
  padding: 4.5rem 2rem 5rem;
  font-family: var(--font-body);
  color: var(--text-primary);
}

.home-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.home-hero-eyebrow {
  font-size: var(--size-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-deep-button);
  margin-bottom: 1.25rem;
}

.home-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  color: var(--text-primary);
  text-wrap: balance;
}

.home-hero-title em { font-style: italic; color: var(--color-teal-dark); }

.home-hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 34em;
}

.home-hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2rem; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-pill--solid { background: var(--color-deep-button); color: var(--bg-white); border: 1.5px solid var(--color-deep-button); }
.btn-pill--solid:hover { background: var(--color-deep); border-color: var(--color-deep); }
.btn-pill--line { border: 1.5px solid var(--color-deep-button); color: var(--color-deep-button); background: transparent; }
.btn-pill--line:hover { background: rgba(26,92,110,0.06); }

.home-hero-slogan {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text-muted);
  margin: 0;
}
.home-hero-slogan em { color: var(--accent-rose); }

.home-hero-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.capsule {
  width: min(100%, 360px);
  aspect-ratio: 352 / 540;
  border-radius: 999px;
  border: 3px solid var(--accent-emerald);
  padding: 10px;
  box-sizing: border-box;
  background: #F2F9F8;
}
.capsule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 999px;
  display: block;
}

.home-hero-caption { font-size: 0.95rem; color: var(--text-muted); text-align: center; }
.home-hero-caption strong { color: var(--text-primary); font-weight: 600; }


/* ---------- PROBLEM: THREE QUESTIONS ---------- */

.questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }

.questions li {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  line-height: 1.4;
  color: var(--text-primary);
  padding: 1.6rem 0 1.6rem 2.2rem;
  border-top: 1px solid var(--border-soft);
  position: relative;
}
.questions li:last-child { border-bottom: 1px solid var(--border-soft); }
.questions li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 2.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
}
.questions li:nth-child(2)::before { background: var(--accent-rose); }
.questions li:nth-child(3)::before { background: var(--color-teal); }


/* ---------- FREE GUIDE ---------- */

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.guide-top { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 2rem; align-items: center; }
.guide-top .h2 { font-size: clamp(2rem, 3.4vw, 2.5rem); line-height: 1.15; }

/* Placeholder cover drawn in code; swap for the real cover image when supplied */
.guide-cover {
  aspect-ratio: 210 / 297;
  background: #FAF3E8;
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 18px 30px -16px rgba(26,58,66,0.45), inset 6px 0 0 rgba(26,58,66,0.08);
  padding: 16px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.guide-cover-kicker { font-family: ui-monospace, Menlo, monospace; font-size: 7px; letter-spacing: 0.14em; text-transform: uppercase; color: #1D7584; }
.guide-cover-t1 { font-family: var(--font-display); font-size: 18px; line-height: 1; color: var(--color-deep); }
.guide-cover-t2 { font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 0.95; color: var(--color-teal-dark); }
.guide-cover-rule { width: 34px; height: 3px; border-radius: 2px; background: var(--accent-emerald); margin: 4px 0; }
.guide-cover-sub { font-size: 8px; line-height: 1.4; color: var(--text-muted); }

.guide-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: var(--text-primary);
  margin: 1.75rem 0 0;
}

.guide-body { font-size: var(--size-body); line-height: 1.8; color: var(--text-muted); margin: 1.75rem 0 1.25rem; }

.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.guide-list li { position: relative; padding-left: 1.6rem; font-size: var(--size-body); line-height: 1.6; color: var(--text-primary); }
.guide-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-emerald); font-weight: 700; }


/* ---------- HOW IT WORKS: ANIMATED PATH ---------- */

.path { position: relative; }

.path-start {
  max-width: 600px;
  margin: 0 auto 2.75rem;
  background: var(--bg-white);
  border: 1.5px solid rgba(16,201,160,0.55);
  border-radius: 12px;
  padding: 1.6rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px -18px rgba(26,58,66,0.35);
  position: relative;
}
.path-kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #0E8F72; margin-bottom: 0.5rem; }
.path-start h3 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 600; margin: 0 0 0.6rem; color: var(--text-primary); }
.path-start p { font-size: var(--size-body); line-height: 1.6; color: var(--text-muted); margin: 0 0 0.9rem; }
.path-start a { font-weight: 600; color: var(--color-deep-button); text-decoration: none; }
.path-start a:hover { text-decoration: underline; }

.path-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}

.path-steps {
  list-style: none;
  margin: 0;
  padding: 2.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.path-step {
  position: relative;
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border-left: 4px solid var(--accent-emerald);
  background-color: var(--bg-white);
  background-image: linear-gradient(var(--tint-emerald), var(--tint-emerald));
}
.path-step:nth-child(2) { border-left-color: var(--accent-rose); background-image: linear-gradient(var(--tint-rose), var(--tint-rose)); }
.path-step:nth-child(3) { border-left-color: var(--color-teal); background-image: linear-gradient(var(--tint-teal), var(--tint-teal)); }
.path-step:nth-child(4) {
  border-left-color: var(--accent-gold);
  background-image: linear-gradient(135deg, rgba(255,232,168,0.35) 0%, rgba(255,244,204,0.4) 100%);
}
.path-trophy-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }

/* The dot that sits on the line above (or beside) each card */
.path-dot {
  position: absolute;
  left: 50%;
  top: -2.75rem;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  transform: translateY(7px);
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--accent-emerald);
  box-sizing: border-box;
  z-index: 2;
}
.path-step:nth-child(2) .path-dot { border-color: var(--accent-rose); }
.path-step:nth-child(3) .path-dot { border-color: var(--color-teal); }
.path-step:nth-child(4) .path-dot { border-color: var(--accent-gold); }
.path-start .path-dot { display: none; background: var(--accent-emerald); border-color: var(--accent-emerald); }

.path-step .flow-label { font-size: 0.7rem; }
.path-step:nth-child(2) .flow-label { color: var(--accent-rose); }
.path-step:nth-child(3) .flow-label { color: var(--color-teal); }
.path-step:nth-child(4) .flow-label { color: #B08A00; }
.path-step h3 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--text-primary); position: relative; }
.path-step p { font-size: var(--size-body); line-height: 1.5; margin: 0; color: var(--text-muted); position: relative; }

.path-trophy { position: absolute; top: -8px; right: -12px; font-size: 4rem; line-height: 1; opacity: 0.22; }

/* Line and travelling light: positioned by the script, hidden without it */
.path-line, .path-sweep, .path-ring { position: absolute; display: none; pointer-events: none; z-index: 1; }
.path.has-line .path-line, .path.has-line .path-sweep { display: block; }
.path-line { border-radius: 2px; }
.path-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid var(--accent-gold); box-sizing: border-box; opacity: 0; }

/* Desktop: horizontal line */
.path-line { height: 2px; background: linear-gradient(90deg, #10C9A0 0%, #E8527A 36%, #3BA8B8 68%, #FFD966 100%); transform-origin: left center; }
.path-sweep { height: 6px; width: 90px; margin: -3px 0 0 -90px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.95)); box-shadow: 0 0 14px 4px rgba(16,201,160,0.45); opacity: 0; }

/* Animation: only when the script has prepared the section */
@keyframes path-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes path-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes path-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes path-pop { from { opacity: 0; transform: translateY(7px) scale(0.2); } to { opacity: 1; transform: translateY(7px) scale(1); } }
@keyframes path-trophy { 0% { opacity: 0; transform: scale(0.4) rotate(-12deg); } 70% { opacity: 0.32; transform: scale(1.12) rotate(4deg); } 100% { opacity: 0.22; transform: none; } }
@keyframes path-ring { 0% { opacity: 0.7; transform: scale(0.3); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes path-sweep-x { 0% { left: var(--sx0); opacity: 0; } 6% { opacity: 1; } 58% { left: var(--sx1); opacity: 1; } 64%, 100% { left: var(--sx1); opacity: 0; } }
@keyframes path-sweep-y { 0% { top: var(--sy0); opacity: 0; } 6% { opacity: 1; } 58% { top: var(--sy1); opacity: 1; } 64%, 100% { top: var(--sy1); opacity: 0; } }
@keyframes path-gold { 0%, 52% { box-shadow: 0 0 0 0 rgba(255,217,102,0); } 60% { box-shadow: 0 0 0 6px rgba(255,217,102,0.45); } 76%, 100% { box-shadow: 0 0 0 14px rgba(255,217,102,0); } }

.path.is-ready .path-start,
.path.is-ready .path-label,
.path.is-ready .path-step,
.path.is-ready .path-dot,
.path.is-ready .path-trophy { opacity: 0; }
.path.is-ready .path-line { transform: scaleX(0); }

.path.is-in .path-start { animation: path-up 0.7s ease-out 0.2s both; }
.path.is-in .path-line { animation: path-draw-x 2.4s cubic-bezier(0.45, 0, 0.25, 1) 0.9s both; }
.path.is-in .path-label { animation: path-up 0.6s ease-out 0.75s both; }
.path.is-in .path-step:nth-child(1) { animation: path-up 0.6s ease-out 1.05s both; }
.path.is-in .path-step:nth-child(2) { animation: path-up 0.6s ease-out 1.75s both; }
.path.is-in .path-step:nth-child(3) { animation: path-up 0.6s ease-out 2.45s both; }
.path.is-in .path-step:nth-child(4) { animation: path-up 0.6s ease-out 3.15s both, path-gold 6s ease-in-out 4.6s infinite; }
.path.is-in .path-step:nth-child(1) .path-dot { animation: path-pop 0.35s ease-out 1.0s both; }
.path.is-in .path-step:nth-child(2) .path-dot { animation: path-pop 0.35s ease-out 1.7s both; }
.path.is-in .path-step:nth-child(3) .path-dot { animation: path-pop 0.35s ease-out 2.4s both; }
.path.is-in .path-step:nth-child(4) .path-dot { animation: path-pop 0.35s ease-out 3.1s both; }
.path.is-in .path-trophy { animation: path-trophy 0.9s ease-out 3.45s both; }
.path.is-in .path-ring { animation: path-ring 1.1s ease-out 3.45s both; }
.path.is-in .path-sweep { animation: path-sweep-x 6s ease-in-out 4.6s infinite; }

@media (prefers-reduced-motion: reduce) {
  .path.is-ready .path-start, .path.is-ready .path-label, .path.is-ready .path-step,
  .path.is-ready .path-dot, .path.is-ready .path-trophy { opacity: 1; animation: none; }
  .path.is-ready .path-trophy { opacity: 0.22; }
  .path.is-ready .path-line { transform: none; animation: none; }
  .path-sweep, .path-ring { display: none !important; }
}


/* ---------- TESTIMONIALS ---------- */

.voices-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.voices-grid .testi-snippet { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.voices-grid .testi-snippet-text { margin: 0; }
.testi-snippet-who { display: flex; flex-direction: column; line-height: 1.35; }
.testi-snippet-who .testi-snippet-name { color: var(--text-primary); font-weight: 600; }
.testi-snippet-title { font-size: 0.85rem; color: var(--text-muted); }


/* ---------- WORK WITH ME ---------- */

.paths-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.paths-grid .way-card { justify-content: space-between; }


/* ---------- CONTACT FORM IN THE CLOSING CALL TO ACTION ---------- */

button.footer-cta-btn { font-size: var(--size-body); }

.cta-extra { margin: 1.75rem 0 0; font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.9; }
.cta-extra a { color: var(--bg-white); }

.contact-form {
  max-width: 520px;
  margin: 2rem auto 0;
  text-align: left;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.contact-form[hidden] { display: none; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 500; margin: 0 0 0.35rem; color: rgba(255,255,255,0.9); }
.contact-form input, .contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.3);
  background: var(--bg-white);
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .footer-cta-btn { width: 100%; }


/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .home-hero-figure { order: 2; }
  .capsule { width: min(100%, 260px); }
  .guide-grid { grid-template-columns: 1fr; gap: 2rem; }
  .voices-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .home-hero { padding: 2.5rem 1.5rem 3rem; }
  .home-hero-sub { font-size: 1.05rem; }
  .paths-grid { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }
  .guide-top { grid-template-columns: 130px minmax(0, 1fr); gap: 1.25rem; }

  /* Path turns vertical: line on the left, starting at the discovery call */
  .path { padding-left: 30px; }
  .path-start { text-align: left; margin: 0 0 1rem; padding: 1.25rem 1.25rem; }
  .path-start .path-dot { display: block; left: -30px; top: 1.6rem; margin-left: 4px; }
  .path-label { text-align: left; margin: 0 0 1rem; }
  .path-steps { grid-template-columns: 1fr; gap: 16px; padding-top: 0; }
  .path-dot { left: -30px; top: 1.6rem; margin-left: 4px; }
  .path-line { width: 2px; height: auto; background: linear-gradient(180deg, #10C9A0 0%, #10C9A0 30%, #E8527A 55%, #3BA8B8 78%, #FFD966 100%); transform-origin: center top; }
  .path-sweep { width: 6px; height: 70px; margin: -70px 0 0 -3px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.95)); box-shadow: 0 0 12px 3px rgba(16,201,160,0.45); }
  .path.is-ready .path-line { transform: scaleY(0); }
  .path.is-in .path-line { animation-name: path-draw-y; }
  .path.is-in .path-sweep { animation-name: path-sweep-y; }
  .path.is-in .path-start .path-dot { animation: path-pop 0.35s ease-out 0.5s both; }
}

@media (max-width: 480px) {
  .home-hero-actions { flex-direction: column; }
  .home-hero-actions .btn-pill { width: 100%; }
}


/* ---------- WHY TRUE SIGNAL: white card with emerald outline ---------- */

#why-true-signal { background: var(--bg-white); }
#why-true-signal .wrap {
  background: var(--bg-white);
  border: 1.5px solid rgba(16,201,160,0.55);
  border-radius: 12px;
  padding: 3rem 3.5rem;
  box-shadow: 0 10px 30px -18px rgba(26,58,66,0.35);
  box-sizing: border-box;
}
@media (max-width: 768px) {
  #why-true-signal .wrap { padding: 2rem 1.5rem; }
}


/* ---------- HERO: THREADS GATHER INTO THE SIGNAL ---------- */

.home-hero { position: relative; overflow: hidden; }
.hero-flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.home-hero-inner { position: relative; z-index: 1; }
.fys { display: inline-block; white-space: nowrap; transform-origin: 30% 70%; }
.fys.pop { animation: fys-pop 1.6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fys-pop {
  0%   { transform: scale(1); color: var(--text-muted); text-shadow: none; }
  18%  { transform: scale(1.07); color: var(--text-primary); text-shadow: 0 0 18px rgba(232,82,122,0.55), 0 0 2px rgba(255,255,255,0.9); }
  100% { transform: scale(1); color: var(--text-primary); text-shadow: 0 0 10px rgba(232,82,122,0.12); }
}
.home-hero-slogan em { transition: text-shadow 1.2s ease; }
.home-hero-slogan em.lit { text-shadow: 0 0 14px rgba(232,82,122,0.35); }
@media (prefers-reduced-motion: reduce) { .fys.pop { animation: none; color: var(--text-primary); } }
.home-hero-slogan { margin-bottom: 2.5rem; }


/* ---------- IF NOTHING CHANGES: THE SIGNAL FADING ---------- */

#failure .stakes {
  background: var(--bg-white);
  border: 1.5px solid rgba(115,138,149,0.4);
  border-radius: 12px;
  box-shadow: 0 10px 30px -18px rgba(26,58,66,0.3);
  padding: 2.5rem 3rem;
}
#failure .stakes-glow { display: none; }

.fade-line { display: flex; align-items: center; gap: 1.1rem; margin: 0 0 1.4rem !important; font-size: 1.05rem !important; }
.fade-line .sig { flex: 0 0 auto; }
.fade-line .sig rect { fill: #DCE6E8; }
.fade-line--3 .sig rect { fill: var(--color-teal); }
.fade-line--2 .sig rect:nth-child(-n+2) { fill: #6FA9B3; }
.fade-line--1 .sig rect:nth-child(1) { fill: #9DB4BA; }

.fade-line--3, .fade-line--3 .lead-in { color: var(--text-primary) !important; }
.fade-line--2, .fade-line--2 .lead-in { color: #3E6A72 !important; }
.fade-line--1, .fade-line--1 .lead-in { color: #587A81 !important; }

#failure .stakes-close { border-top-color: rgba(115,138,149,0.25); }
#failure .stakes-close p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.45;
  color: var(--text-primary);
}
#failure .stakes-close .soft { color: var(--text-primary); font-style: italic; }

@media (max-width: 768px) {
  #failure .stakes { padding: 1.75rem 1.4rem; }
  .fade-line { align-items: flex-start; }
  .fade-line .sig { margin-top: 0.2rem; }
}


/* ---------- THE THREE QUESTIONS: STAGGERED SPEECH BUBBLES ---------- */

.bubbles { list-style: none; margin: 0 auto; padding: 0.5rem 0 1rem; max-width: 880px; }
.bubble {
  position: relative;
  max-width: 66%;
  box-sizing: border-box;
  padding: 1.6rem 1.9rem;
  border-radius: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--text-primary);
  background: #FFFFFF;
  border: 1.5px solid;
  box-shadow: 0 14px 30px -20px rgba(26,58,66,0.35);
}
.bubble + .bubble { margin-top: -0.6rem; }
.bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: inherit;
  border: inherit;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.bubble--1 { margin-right: auto; background-color: #EAFAF5; border-color: rgba(16,201,160,0.55); z-index: 3; }
.bubble--2 { margin-left: auto;  background-color: #FDEEF2; border-color: rgba(232,82,122,0.5); z-index: 2; margin-top: 1.4rem !important; }
.bubble--3 { margin-left: 8%;    background-color: #EAF5F7; border-color: rgba(58,168,184,0.55); z-index: 1; margin-top: 1.4rem !important; }
.bubble--1::after, .bubble--3::after { left: 2.2rem; }
.bubble--2::after { right: 2.2rem; transform: rotate(45deg); }

@keyframes bubble-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.bubbles.is-ready .bubble { opacity: 0; }
.bubbles.is-in .bubble--1 { animation: bubble-in 0.7s ease-out 0.1s both; }
.bubbles.is-in .bubble--2 { animation: bubble-in 0.7s ease-out 0.7s both; }
.bubbles.is-in .bubble--3 { animation: bubble-in 0.7s ease-out 1.3s both; }

@media (max-width: 768px) {
  .bubble { max-width: 90%; padding: 1.25rem 1.35rem; border-radius: 20px; }
  .bubble--3 { margin-left: 0; }
}


/* ---------- FREE GUIDE: COVER ON A TABLET ---------- */

.tablet-wrap { position: relative; padding: 0.5rem 0.75rem 1rem 0.25rem; }
.tablet-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -10% -6% -10%;
  background: radial-gradient(closest-side, rgba(16,201,160,0.35), rgba(16,201,160,0));
  z-index: 0;
}
.tablet {
  position: relative;
  z-index: 1;
  background: #1F2A2E;
  border-radius: 14px;
  padding: 7px;
  box-shadow: 0 22px 40px -18px rgba(26,58,66,0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
  transform: perspective(900px) rotateY(10deg) rotateZ(-2deg);
}
.tablet img { display: block; width: 100%; height: auto; border-radius: 8px; }


/* ---------- WHAT BECOMES POSSIBLE: WHITE CARDS, BOLD OUTLINES ---------- */

#possible .possible-card {
  background: var(--bg-white);
  backdrop-filter: none;
  border: 2px solid var(--accent-emerald);
  box-shadow: 0 16px 34px -22px rgba(16,201,160,0.7);
}
#possible .possible-card:nth-child(2) { border-color: var(--accent-rose); box-shadow: 0 16px 34px -22px rgba(232,82,122,0.7); }
#possible .possible-card:nth-child(3) { border-color: var(--color-teal); box-shadow: 0 16px 34px -22px rgba(58,168,184,0.75); }
#possible .possible-close {
  border: 2px solid transparent;
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(90deg, var(--accent-emerald), var(--accent-rose)) border-box;
  box-shadow: 0 16px 34px -24px rgba(26,58,66,0.45);
}


/* ---------- AS FEATURED IN ---------- */

.featured-strip {
  background: var(--bg-white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 1.1rem 1.5rem;
  text-align: center;
}
.featured-strip p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }
.featured-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.75rem;
}
.featured-strip a { color: var(--text-primary); text-decoration: none; }
.featured-strip a strong { font-weight: 600; margin-right: 0.4rem; }
.featured-title { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--color-teal-dark); }
.featured-strip a:hover .featured-title { text-decoration: underline; }
@media (max-width: 768px) {
  .featured-label { display: block; margin: 0 0 0.25rem; }
}

footer.with-cta .cta-extra { margin-top: 1.75rem; }


/* ---------- THE REALITY: READ LIKE A SUBTITLE ---------- */

.bubbles.read-ready .kw { color: #8FAAAF; transition: color 0.35s ease, text-shadow 0.6s ease; }
.bubbles.read-ready .kw.is-read, .bubbles.read-done .kw { color: var(--text-primary); }
/* Key phrases: set a little heavier from the start (so nothing shifts), then switch to a
   strong, saturated brand colour with a brief glow as they light up */
.bubble .kp { font-weight: 600; }
.bubbles .bubble--1 .kp .kw.is-read, .bubbles.read-done .bubble--1 .kp .kw { color: #00916E; }
.bubbles .bubble--2 .kp .kw.is-read, .bubbles.read-done .bubble--2 .kp .kw { color: #D81E55; }
.bubbles .bubble--3 .kp .kw.is-read, .bubbles.read-done .bubble--3 .kp .kw { color: #0A7F92; }
.bubbles .kp .kw.is-read { animation: kp-glow 1.2s ease-out both; }
@keyframes kp-glow { 0% { text-shadow: 0 0 14px currentColor; } 100% { text-shadow: 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .bubbles .kp .kw.is-read { animation: none; } }


/* ---------- SUBTITLE READING: POSSIBLE TITLES, CLOSING LINE, MOTTO ---------- */

[data-read-group].read-ready .kw { color: #8FAAAF; transition: color 0.35s ease; }
[data-read-group].read-ready .kw.is-read, [data-read-group].read-done .kw { color: inherit; }
/* Coloured words light up with a brief glow, like the key phrases in the questions */
[data-read-group] .mark-emerald .kw.is-read, [data-read-group] .mark-rose .kw.is-read,
[data-read-group] .mark-teal .kw.is-read, [data-read-group] .mark-rose-i .kw.is-read, [data-read-group] .italic-rose .kw.is-read { animation: kp-glow 1.2s ease-out both; }
/* "liberating" pulses twice, then settles with a soft glow */
.read-pulse { display: inline-block; transform-origin: 50% 60%; }
.read-pulse.is-pulsing { animation: lib-pulse 2.2s ease-in-out both; }
@keyframes lib-pulse {
  0%   { transform: scale(1);    text-shadow: 0 0 0 transparent; }
  20%  { transform: scale(1.14); text-shadow: 0 0 16px rgba(232,82,122,0.55); }
  40%  { transform: scale(1);    text-shadow: 0 0 6px rgba(232,82,122,0.25); }
  60%  { transform: scale(1.1);  text-shadow: 0 0 14px rgba(232,82,122,0.5); }
  100% { transform: scale(1);    text-shadow: 0 0 8px rgba(232,82,122,0.18); }
}
@media (prefers-reduced-motion: reduce) {
  .read-pulse.is-pulsing, [data-read-group] .kw.is-read { animation: none; }
}


/* ---------- IF NOTHING CHANGES: faded accent word, one even weight for the lines ---------- */
.italic-faded { font-style: italic; color: #8FAAAF; }
#failure .fade-line .lead-in { font-weight: 300; }


/* ---------- WHY TRUE SIGNAL: THE VOICE LINE, READ LIKE A SUBTITLE ---------- */
.mission-voice { margin: 2rem 0 0; }
.mission-voice p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.5;
  color: var(--text-primary); margin: 0 0 1rem;
}
.mission-voice .mark-emerald, .mission-voice .mark-rose, .mission-voice .mark-teal { font-weight: 600; }
/* The noise: set in italic from the start; it turns dark like the rest once read */
.mission-voice .noise { font-style: italic; }
.mission-voice .mark-teal.read-pulse.is-pulsing { animation: amp-pulse 2.2s ease-in-out both; }
@keyframes amp-pulse {
  0%   { transform: scale(1);    text-shadow: 0 0 0 transparent; }
  25%  { transform: scale(1.08); text-shadow: 0 0 16px rgba(58,168,184,0.6); }
  100% { transform: scale(1);    text-shadow: 0 0 8px rgba(58,168,184,0.15); }
}
/* Last beat: "Just true signal." */
.mission-voice-close { font-weight: 600 !important; }
.mission-voice.read-ready .signal-glow .kw.is-read, .mission-voice.read-done .signal-glow .kw { color: var(--accent-emerald); }  /* the logo's "Signal" green */
.signal-glow.read-pulse.is-pulsing { animation: sig-glow 2.6s ease-out both; }
@keyframes sig-glow {
  0%   { transform: scale(1);    text-shadow: 0 0 0 transparent; }
  30%  { transform: scale(1.12); text-shadow: 0 0 22px rgba(16,201,160,0.7); }
  55%  { transform: scale(1);    text-shadow: 0 0 10px rgba(16,201,160,0.35); }
  75%  { transform: scale(1.06); text-shadow: 0 0 18px rgba(16,201,160,0.55); }
  100% { transform: scale(1);    text-shadow: 0 0 10px rgba(16,201,160,0.25); }
}
@media (prefers-reduced-motion: reduce) {
  .mission-voice .read-pulse.is-pulsing { animation: none; }
}
