/* ===== Real Life Series Styles ===== */
/* Extends style.css, style-new.css, missions.css for Welcome to Real Life */

:root {
  --color-kit: #E8621A;
  --color-tashi: #5C7A8A;
  --color-ren: #C85A3A;
  --color-mission-cream: #F2E5CC;
  --color-parent-blue: #E5F4FF;
  --color-dyk-yellow: #FFF8E1;
  --color-real-talk-coral: #FFE0D6;
  --color-amber-warm: #F4E8D4;
  --color-sage-soft: #C8D5C4;
}

/* Real Life hero trio - small, in-line in the corner. No change to hero height. */
.hero-trio {
  position: absolute;
  bottom: 12px;
  right: 6%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  pointer-events: none;
  z-index: 2;
}
.hero-trio img {
  width: auto;
  height: 90px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}
/* Lead character slightly larger & fully opaque so the chapter's guide reads as primary */
.hero-trio .trio-lead {
  height: 105px;
  opacity: 1;
  z-index: 3;
}
.hero-trio .trio-support {
  z-index: 2;
}

/* On the trio-themed hero (Ch 10 finale), all three the same size */
.mission-hero.trio .hero-trio .trio-lead,
.mission-hero.trio .hero-trio .trio-support {
  height: 95px;
  opacity: 1;
}

/* Hide the single char-img when trio is present */
.mission-hero:has(.hero-trio) .char-img {
  display: none;
}

@media (max-width: 640px) {
  .hero-trio {
    right: 4%;
    bottom: 8px;
  }
  .hero-trio img { height: 70px; }
  .hero-trio .trio-lead { height: 82px; }
}

/* Real Life hero background - amber/sage warmth */
.mission-hero.kit .hero-bg {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(232, 98, 26, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(232, 98, 26, 0.1) 0%, transparent 40%);
}
.mission-hero.tashi .hero-bg {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(92, 122, 138, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(92, 122, 138, 0.1) 0%, transparent 40%);
}
.mission-hero.ren .hero-bg {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(200, 90, 58, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(200, 90, 58, 0.1) 0%, transparent 40%);
}
.mission-hero.trio .hero-bg {
  background:
    radial-gradient(ellipse at 20% 40%, rgba(232, 98, 26, 0.22) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 70%, rgba(92, 122, 138, 0.22) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 40%, rgba(200, 90, 58, 0.22) 0%, transparent 45%);
}

.mission-hero.kit .chapter-label {
  background: rgba(232, 98, 26, 0.2);
  color: #FDBA74;
  border: 1px solid rgba(232, 98, 26, 0.4);
}
.mission-hero.tashi .chapter-label {
  background: rgba(92, 122, 138, 0.22);
  color: #CBD5E1;
  border: 1px solid rgba(92, 122, 138, 0.5);
}
.mission-hero.ren .chapter-label {
  background: rgba(200, 90, 58, 0.2);
  color: #FCA5A5;
  border: 1px solid rgba(200, 90, 58, 0.4);
}
.mission-hero.trio .chapter-label {
  background: rgba(244, 232, 212, 0.2);
  color: #FDE68A;
  border: 1px solid rgba(244, 232, 212, 0.45);
}

/* Mission content styling - warm cream mode for Real Life */
.mission-content.kit,
.mission-content.tashi,
.mission-content.ren,
.mission-content.trio {
  background: #FEFBF5;
}

.kit .step-number { background: var(--color-kit); }
.tashi .step-number { background: var(--color-tashi); }
.ren .step-number { background: var(--color-ren); }
.trio .step-number { background: linear-gradient(135deg, var(--color-kit), var(--color-tashi), var(--color-ren)); }

/* Character quotes for Real Life */
.character-quote.kit {
  background: linear-gradient(135deg, #FFF4E8, #FDE3CC);
  border: 1px solid #F59E0B;
}
.character-quote.tashi {
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  border: 1px solid #94A3B8;
}
.character-quote.ren {
  background: linear-gradient(135deg, #FEE2E2, #FCA5A5);
  border: 1px solid #DC2626;
}

.character-quote.kit blockquote { color: #9A3412; }
.character-quote.tashi blockquote { color: #334155; }
.character-quote.ren blockquote { color: #7F1D1D; }

/* Mission nav colored links for Real Life */
.mission-nav-links a.kit { border-color: var(--color-kit); }
.mission-nav-links a.kit:hover { background: rgba(232, 98, 26, 0.2); }
.mission-nav-links a.tashi { border-color: var(--color-tashi); }
.mission-nav-links a.tashi:hover { background: rgba(92, 122, 138, 0.2); }
.mission-nav-links a.ren { border-color: var(--color-ren); }
.mission-nav-links a.ren:hover { background: rgba(200, 90, 58, 0.2); }

/* ===== THE PRINTABLE WORKSHEET ===== */
/* The star of every Real Life challenge page */

.printable-sheet {
  background: var(--color-mission-cream);
  border: 3px dashed #D4A574;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin: var(--space-2xl) 0;
  position: relative;
  box-shadow: 0 10px 40px rgba(212, 165, 116, 0.25);
}

.printable-sheet::before {
  content: "✂ Printable worksheet - print this page or fill in on screen";
  display: block;
  position: absolute;
  top: -14px;
  left: var(--space-xl);
  background: #FEFBF5;
  padding: 0.2rem 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: #9A7444;
  letter-spacing: 0.03em;
}

.printable-sheet h2 {
  font-family: var(--font-heading);
  color: #4A3820;
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

.printable-sheet .sheet-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: #4A3820;
  margin-bottom: var(--space-xl);
}

.printable-sheet label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #4A3820;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.printable-sheet input[type="text"],
.printable-sheet input[type="date"],
.printable-sheet input[type="number"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  border-bottom: 2px solid #B89058;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #2D1F0C;
  margin-bottom: var(--space-md);
}

.printable-sheet input:focus,
.printable-sheet textarea:focus {
  outline: none;
  border-bottom-color: var(--color-kit);
  background: rgba(255, 255, 255, 0.4);
}

.printable-sheet textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.75rem;
  border: 2px solid #D4A574;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 1rem;
  color: #2D1F0C;
  margin-bottom: var(--space-md);
  resize: vertical;
}

/* Venn diagram for Ch 1 Strengths Map */
.venn-wrapper {
  position: relative;
  max-width: 540px;
  margin: var(--space-xl) auto;
  aspect-ratio: 1 / 1;
}
.venn-wrapper svg {
  width: 100%;
  height: auto;
}
.venn-label {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #4A3820;
  pointer-events: none;
  text-align: center;
}

/* Tracker tables */
.tracker-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.tracker-table th {
  background: var(--color-kit);
  color: white;
  padding: 0.6rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.02em;
}
.tracker-table.tashi th { background: var(--color-tashi); }
.tracker-table.ren th { background: var(--color-ren); }
.tracker-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid #D4A574;
  font-size: 0.95rem;
  color: #2D1F0C;
}
.tracker-table td input,
.tracker-table td textarea {
  border: none;
  background: transparent;
  padding: 0.25rem;
  margin: 0;
  width: 100%;
  border-bottom: 1px dotted #B89058;
}
.tracker-table td textarea {
  min-height: 40px;
}

/* Fillable line - for simple named prompts */
.fill-line {
  display: block;
  margin-bottom: var(--space-md);
}
.fill-line label {
  display: block;
  margin-bottom: 0.25rem;
}
.fill-line input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #B89058;
  padding: 0.3rem 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
}

/* Checkbox list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.4rem 0;
  color: #4A3820;
}
.check-list input[type="checkbox"] {
  margin-top: 0.3rem;
  flex-shrink: 0;
  accent-color: var(--color-kit);
  width: 18px;
  height: 18px;
}

/* Stationery style for Ch 10 letter */
.stationery {
  background: #FFFDF7;
  border: 2px solid #D4A574;
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  font-family: Georgia, 'Palatino Linotype', serif;
  color: #2D1F0C;
  line-height: 1.8;
  box-shadow: inset 0 0 40px rgba(212, 165, 116, 0.08);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 34px,
    rgba(180, 144, 88, 0.12) 34px,
    rgba(180, 144, 88, 0.12) 35px
  );
}
.stationery textarea {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.8;
  width: 100%;
  min-height: 300px;
  color: inherit;
  padding: 0;
  box-shadow: none;
}
.stationery textarea:focus {
  outline: none;
}

/* Print button + download buttons */
.sheet-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--space-xl) 0;
}
.btn-print,
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-print {
  background: var(--color-kit);
  color: white;
}
.btn-print:hover {
  background: #C85210;
}
.btn-download {
  background: white;
  color: var(--color-kit);
  border-color: var(--color-kit);
}
.btn-download:hover {
  background: #FFF4E8;
}

/* Character cameo - small character image floated in the content */
.char-cameo {
  width: 120px;
  height: auto;
  float: right;
  margin: 0 0 var(--space-md) var(--space-md);
  opacity: 0.95;
}
.char-cameo.left {
  float: left;
  margin: 0 var(--space-md) var(--space-md) 0;
}

/* ===== PRINT STYLES - print just the worksheet ===== */
@media print {
  /* Hide everything except the printable */
  .header,
  .mission-hero,
  .pro-tip,
  .parent-note,
  .needs-box,
  .step,
  .success-box,
  .character-quote,
  .troubleshoot,
  .talk-about,
  .mission-nav,
  .back-to-hub,
  footer,
  .sheet-actions {
    display: none !important;
  }
  .printable-sheet {
    background: white !important;
    border: 1px solid #999 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    page-break-inside: avoid;
  }
  .printable-sheet::before { display: none !important; }
  .tracker-table { background: white !important; }
  .tracker-table th {
    background: #E8E8E8 !important;
    color: black !important;
  }
  .stationery {
    box-shadow: none !important;
    background: white !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
  h2, h3, label { color: black !important; }
}

/* ===== REALLIFE LANDING / HUB PAGES ===== */

.reallife-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
  background: #2B1D0F;
  overflow: hidden;
  text-align: center;
}

.reallife-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/reallife/hero-environment.png");
  background-size: cover;
  background-position: center center;
  opacity: 0.70;
  pointer-events: none;
  z-index: 0;
}

.reallife-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(232, 98, 26, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(92, 122, 138, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(43, 29, 15, 0.45) 0%, transparent 55%),
    linear-gradient(180deg, rgba(43, 29, 15, 0.10) 0%, rgba(43, 29, 15, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.reallife-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.reallife-hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #F7C68A;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-md);
}

.reallife-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  font-weight: 700;
  color: #FDFAF4;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.55);
}

.reallife-hero-subtitle,
.reallife-hero .hero-subtitle {
  font-size: 1.15rem;
  color: rgba(253, 250, 244, 0.92);
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.reallife-hero-subtitle em,
.reallife-hero .hero-subtitle em {
  color: #F7C68A;
  font-style: normal;
}

.reallife-hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.reallife-trio {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  margin-top: var(--space-xl);
  position: relative;
}
.reallife-trio img {
  width: clamp(110px, 16vw, 200px);
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reallife-trio img:hover {
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  .reallife-hero {
    min-height: 75vh;
    padding: 100px 0 60px;
  }
  .reallife-trio img {
    width: clamp(80px, 24vw, 130px);
  }
  .reallife-hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
}

.challenge-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  text-align: center;
  border-top: 5px solid transparent;
  display: flex;
  flex-direction: column;
}
.challenge-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.challenge-card.kit { border-top-color: var(--color-kit); }
.challenge-card.tashi { border-top-color: var(--color-tashi); }
.challenge-card.ren { border-top-color: var(--color-ren); }
.challenge-card.trio {
  border-top-color: transparent;
  border-image: linear-gradient(90deg, var(--color-kit), var(--color-tashi), var(--color-ren)) 1;
  border-top-style: solid;
  border-top-width: 5px;
}

/* Trio row for the Ch 10 card - three characters side by side, clean */
.challenge-card .card-trio {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  height: 80px;
  margin: 0 auto var(--space-sm);
}
.challenge-card .card-trio img {
  width: auto;
  height: 80px;
  margin: 0;
  object-fit: contain;
}
.challenge-card .card-trio img:nth-child(2) {
  margin: 0 -14px;
  z-index: 2;
  position: relative;
}

.challenge-card img {
  width: 80px;
  height: auto;
  margin: 0 auto var(--space-sm);
}
.challenge-card .ch-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #78624A;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}
.challenge-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #4A3820;
  margin-bottom: var(--space-sm);
  min-height: 3.2rem;
}
.challenge-card p {
  font-size: 0.95rem;
  color: #5E4A2E;
  line-height: 1.5;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}
.challenge-card .card-btn {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  transition: all var(--transition-base);
}
.challenge-card.kit .card-btn { background: var(--color-kit); }
.challenge-card.kit .card-btn:hover { background: #C85210; }
.challenge-card.tashi .card-btn { background: var(--color-tashi); }
.challenge-card.tashi .card-btn:hover { background: #48616E; }
.challenge-card.ren .card-btn { background: var(--color-ren); }
.challenge-card.ren .card-btn:hover { background: #A84828; }
.challenge-card.trio .card-btn { background: linear-gradient(90deg, var(--color-kit), var(--color-ren)); }

.toolkit-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}
.toolkit-row-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid #F4E8D4;
  transition: all var(--transition-base);
}
.toolkit-row-card:hover {
  border-color: var(--color-kit);
  transform: translateY(-4px);
}
.toolkit-row-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #4A3820;
  margin-bottom: var(--space-sm);
}
.toolkit-row-card p {
  font-size: 0.9rem;
  color: #78624A;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}
.toolkit-row-card a {
  color: var(--color-kit);
  font-weight: 600;
  text-decoration: none;
}
.toolkit-row-card a:hover {
  text-decoration: underline;
}

/* Real Life series card on homepage/books page */
.rl-series-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #FFF4E8 0%, #F4E8D4 100%);
}
.rl-series-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.rl-series-card .cover-wrapper {
  text-align: center;
}
.rl-series-card .cover-wrapper img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(74, 56, 32, 0.3);
}
.rl-series-card .rl-badge {
  display: inline-block;
  background: var(--color-kit);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.rl-series-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #4A3820;
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}
.rl-series-card .rl-subtitle {
  font-size: 1.1rem;
  color: #5E4A2E;
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}
.rl-series-card .rl-desc {
  font-size: 1rem;
  color: #78624A;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}
.rl-series-card .rl-coming-soon {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: #78624A;
  color: white;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: default;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .rl-series-card {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  .char-cameo {
    float: none;
    display: block;
    margin: var(--space-md) auto;
  }
}

/* ===== Homepage Real Life Series Block ===== */
/* Lives on the Pax Ember homepage as a peer to the AI Generation series.
   Sits on the dark Pax Ember chrome, but introduces warm Real Life accents
   so the world is recognizable without breaking the unified site feel. */

.rl-home-series {
  padding: var(--space-2xl) 0;
  background:
    linear-gradient(180deg, rgba(26, 15, 8, 0.45) 0%, rgba(26, 15, 8, 0.62) 100%),
    url("../images/reallife/hero-environment.png") center/cover no-repeat,
    var(--color-bg-dark);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

.rl-home-series::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 25%, rgba(232, 98, 26, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 65%, rgba(92, 122, 138, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.rl-home-series .container {
  position: relative;
  z-index: 2;
}

.rl-eyebrow {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #FDBA74;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.rl-home-title {
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.rl-tagline {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #F4E8D4;
  margin-bottom: var(--space-lg);
  font-style: italic;
  font-weight: 500;
}

.rl-home-intro {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
  font-size: 1.05rem;
  line-height: 1.7;
}

.rl-home-guides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.rl-home-guide {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.rl-home-guide:hover {
  transform: translateY(-8px);
}

.rl-home-guide.kit-guide:hover {
  box-shadow: 0 20px 40px rgba(232, 98, 26, 0.3);
  border-color: rgba(232, 98, 26, 0.45);
}

.rl-home-guide.tashi-guide:hover {
  box-shadow: 0 20px 40px rgba(92, 122, 138, 0.4);
  border-color: rgba(92, 122, 138, 0.55);
}

.rl-home-guide.ren-guide:hover {
  box-shadow: 0 20px 40px rgba(200, 90, 58, 0.3);
  border-color: rgba(200, 90, 58, 0.45);
}

.rl-home-guide-img {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.rl-home-guide:hover .rl-home-guide-img {
  transform: translateY(-4px) rotate(-3deg);
}

.rl-home-guide-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rl-home-guide h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.rl-home-guide.kit-guide h3 { color: #FDBA74; }
.rl-home-guide.tashi-guide h3 { color: #CBD5E1; }
.rl-home-guide.ren-guide h3 { color: #FCA5A5; }

.rl-home-guide-role {
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rl-home-guide-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Animation delays for staggered entry */
.rl-home-guide:nth-child(1) { transition-delay: 0ms; }
.rl-home-guide:nth-child(2) { transition-delay: 100ms; }
.rl-home-guide:nth-child(3) { transition-delay: 200ms; }

/* Showcase block - book + intro + CTAs */
.rl-home-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-3xl);
  align-items: center;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid rgba(232, 98, 26, 0.2);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.rl-home-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(232, 98, 26, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.rl-home-showcase > * {
  position: relative;
  z-index: 2;
}

.rl-home-cover {
  position: relative;
}

.rl-home-cover img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(232, 98, 26, 0.2);
}

.rl-home-coming {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: 0.4rem 0.9rem;
  background: rgba(0, 0, 0, 0.85);
  color: #FDBA74;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(232, 98, 26, 0.6);
}

.rl-home-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: #FDBA74;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.rl-home-showcase-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.rl-home-showcase-text p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.rl-home-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Real Life CTA buttons - warm amber, distinct from AI Gen cyan */
.btn-rl-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-kit) 0%, var(--color-ren) 100%);
  color: white;
  border: 2px solid var(--color-kit);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.btn-rl-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232, 98, 26, 0.4);
}

.btn-rl-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-text-light);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.btn-rl-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-text-light);
}

/* Hero secondary link - tiny "also from Pax Ember" pointer */
.hero-secondary-link {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-secondary-link a {
  color: #FDBA74;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.hero-secondary-link a:hover {
  color: var(--color-kit);
}

/* Parents section CTA row - both toolkits side by side */
.parents-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Responsive */
@media (max-width: 1024px) {
  .rl-home-guides {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-3xl);
  }

  .rl-home-showcase {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-xl);
  }

  .rl-home-cover {
    max-width: 280px;
    margin: 0 auto;
  }

  .rl-home-cta {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .rl-home-cta {
    flex-direction: column;
  }

  .rl-home-cta .btn-rl-primary,
  .rl-home-cta .btn-rl-secondary {
    width: 100%;
  }

  .parents-cta-row {
    flex-direction: column;
  }

  .parents-cta-row .btn {
    width: 100%;
  }
}

/* ===== Family Conversation Starter Guide (Real Life landing) ===== */

.family-guide-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, #F2E5CC 0%, #E8D9BC 100%);
  position: relative;
}

.family-guide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.family-guide-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  color: #4A3820;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.family-guide-text p {
  color: #5E4A2E;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.family-guide-text em {
  color: var(--color-kit);
  font-style: normal;
  font-weight: 600;
}

.family-guide-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.family-guide-text ul li {
  color: #5E4A2E;
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
}

.family-guide-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-kit);
  font-weight: 700;
  font-size: 1.1rem;
}

.family-guide-form {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(74, 56, 32, 0.15);
}

.family-guide-form form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.family-guide-form input[type="email"] {
  padding: 0.95rem 1.15rem;
  border: 2px solid #E2D4B8;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.family-guide-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-kit);
}

.family-guide-form .btn-rl-primary {
  width: 100%;
  text-align: center;
}

.family-guide-form .form-note {
  font-size: 0.85rem;
  color: #78624A;
  text-align: center;
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .family-guide-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ===== Featured Parent Corner Band (Real Life landing) ===== */

.rl-parent-featured {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #F4E8D4 0%, #E5F4FF 100%);
  position: relative;
  overflow: hidden;
}

.rl-parent-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.rl-parent-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #3A6A94;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-sm);
}

.rl-parent-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
  color: #2A3E54;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.rl-parent-lead {
  font-size: 1.1rem;
  color: #3F5066;
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.rl-parent-lead em {
  color: var(--color-kit);
  font-style: normal;
  font-weight: 600;
}

.rl-parent-extra {
  font-size: 1rem;
  color: #5F6F82;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.rl-parent-cta {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.rl-parent-chars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  position: relative;
}

.rl-parent-char {
  width: clamp(100px, 16vw, 170px);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(42, 62, 84, 0.22));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rl-parent-char.kit   { transform: translateY(0); }
.rl-parent-char.tashi { transform: translateY(-16px); }
.rl-parent-char.ren   { transform: translateY(-4px); }

.rl-parent-char.kit:hover   { transform: translateY(-12px) rotate(-1deg); }
.rl-parent-char.tashi:hover { transform: translateY(-28px) rotate(-1deg); }
.rl-parent-char.ren:hover   { transform: translateY(-14px) rotate(1deg); }

.toolkit-row.toolkit-row-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .rl-parent-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .rl-parent-chars { margin-top: var(--space-xl); }
  .rl-parent-char { width: clamp(75px, 22vw, 120px); }
  .toolkit-row.toolkit-row-two {
    grid-template-columns: 1fr;
  }
}

/* ===== Card spring animation polish (April 22, 2026) ===== */
/* Bring the cubic-bezier spring curve used on the hero trio to every card
   and challenge block so the Real Life surface has one consistent bounce. */

.challenge-card,
.bonus-card,
.rl-home-guide,
.toolkit-row-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.toolkit-row-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(74, 56, 32, 0.12);
  border-color: var(--color-kit);
}

.challenge-card:hover {
  transform: translateY(-8px);
}

.bonus-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.rl-home-guide:hover {
  transform: translateY(-10px);
}

