/* Page-specific styles for help-a-child/index.html. Global styles are in style.css. */
:root {
      --ikw-cobalt: #0047AB;
      --ikw-navy: #08306b;
      --ikw-gold: #f3b624;
      --ikw-cream: #fff8e8;
      --ikw-soft-blue: #eef8ff;
      --ikw-ink: #111827;
      --ikw-muted: #4b5563;
    }

    .brand {
      align-items: center;
    }

    .brand-text {
      align-items: center;
      text-align: center;
      line-height: 1.15;
    }

    .brand-name {
      font-size: 1.18rem;
      color: var(--ikw-cobalt);
      letter-spacing: 0.01em;
    }

    .brand-sub {
      display: block;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-align: center;
      margin-top: 0.12rem;
    }

    .nav-links {
      gap: 0.82rem;
    }

    .nav-links a {
      padding: 0.45rem 0.55rem;
      border-radius: 999px;
    }

    .reader-hero {
      position: relative;
      overflow: hidden;
      min-height: 680px;
      background:
        linear-gradient(90deg, rgba(255,248,232,0.98) 0%, rgba(255,248,232,0.93) 32%, rgba(255,248,232,0.25) 58%, rgba(255,248,232,0.02) 100%),
        url('../images/Reading%20Bella.png') center right / cover no-repeat;
    }

    .reader-hero::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 48px;
      background: linear-gradient(to bottom, rgba(255,248,232,0), #ffffff);
      pointer-events: none;
    }

    .reader-hero .container {
      position: relative;
      z-index: 1;
      padding-top: clamp(3rem, 7vw, 5.6rem);
      padding-bottom: clamp(4rem, 7vw, 6rem);
    }

    .hero-copy {
      max-width: 560px;
      text-align: center;
    }

    .hero-kicker {
      color: var(--ikw-cobalt);
      font-size: clamp(1.05rem, 2vw, 1.55rem);
      font-weight: 900;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      margin-bottom: 0.2rem;
    }

    .script-line {
      font-family: 'Patrick Hand', cursive;
      color: var(--ikw-cobalt);
      font-size: clamp(2.35rem, 5vw, 4rem);
      line-height: 0.95;
      margin-bottom: -0.1rem;
    }

    .hero-copy h1 {
      color: var(--ikw-cobalt);
      font-size: clamp(3.5rem, 8vw, 6.25rem);
      line-height: 0.9;
      font-weight: 900;
      letter-spacing: 0.02em;
      margin: 0 0 0.8rem;
      text-transform: uppercase;
    }

    .doorway-line {
      color: var(--ikw-ink);
      font-size: clamp(1.12rem, 2.2vw, 1.55rem);
      font-weight: 900;
      line-height: 1.25;
      max-width: 500px;
      margin: 0 auto 1rem;
    }

    .gold-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      color: var(--ikw-gold);
      margin: 1rem auto;
      max-width: 420px;
    }

    .gold-divider::before,
    .gold-divider::after {
      content: "";
      height: 2px;
      background: rgba(243, 182, 36, 0.8);
      flex: 1;
    }

    .personal-nudge {
      color: var(--ikw-cobalt);
      font-size: clamp(1.45rem, 3vw, 2.1rem);
      font-weight: 900;
      line-height: 1.15;
      margin: 0 auto 0.6rem;
      max-width: 520px;
    }

    .personal-nudge-sub {
      color: var(--ikw-ink);
      font-size: clamp(1.12rem, 2vw, 1.45rem);
      font-weight: 900;
      line-height: 1.25;
      margin: 0 auto 1.4rem;
      max-width: 450px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      justify-content: center;
      align-items: center;
      margin-top: 1.1rem;
    }

    .btn-two-line {
      line-height: 1.12;
      padding-top: 0.78rem;
      padding-bottom: 0.78rem;
      min-width: 250px;
    }

    .section-title-line {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.8rem;
      margin-bottom: 1.4rem;
      color: var(--ikw-cobalt);
      font-weight: 900;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      text-align: center;
    }

    .section-title-line::before,
    .section-title-line::after {
      content: "";
      height: 2px;
      background: rgba(243, 182, 36, 0.85);
      flex: 1;
      max-width: 300px;
    }

    .literacy-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.2rem;
      margin: 1rem 0 1.1rem;
    }

    .literacy-stat {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.95rem;
      align-items: center;
      background: #ffffff;
      border-right: 1px solid rgba(17,24,39,0.18);
      padding: 0.8rem 1rem;
    }

    .literacy-stat:last-child {
      border-right: none;
    }

    .stat-icon {
      width: 64px;
      height: 64px;
      border-radius: 999px;
      border: 2px solid rgba(0, 71, 171, 0.25);
      display: grid;
      place-items: center;
      color: var(--ikw-cobalt);
      font-size: 2rem;
      background: #fff;
    }

    .literacy-stat strong {
      display: block;
      color: var(--ikw-cobalt);
      font-size: clamp(2.1rem, 3.6vw, 3rem);
      line-height: 1;
      margin-bottom: 0.25rem;
      font-weight: 900;
    }

    .literacy-stat span {
      display: block;
      color: #111827;
      font-weight: 800;
      line-height: 1.35;
      font-size: 0.95rem;
    }

    .literacy-note {
      color: #4b5563;
      font-size: 0.88rem;
      line-height: 1.45;
      text-align: center;
      max-width: 800px;
      margin: 0.5rem auto 0;
    }

    .vision-section {
      background:
        radial-gradient(circle at top left, rgba(0, 71, 171, 0.10), transparent 30%),
        radial-gradient(circle at bottom right, rgba(243, 182, 36, 0.16), transparent 35%),
        var(--ikw-soft-blue);
    }

    .vision-grid {
      display: grid;
      grid-template-columns: 1fr 1.25fr;
      gap: 2rem;
      align-items: center;
    }

    .vision-copy h2 {
      color: var(--ikw-cobalt);
      font-size: clamp(1.65rem, 3vw, 2.4rem);
      line-height: 1.1;
      margin-bottom: 0.9rem;
    }

    .vision-copy p {
      color: #111827;
      font-weight: 700;
      line-height: 1.65;
    }

    .idea-chain {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0.7rem;
    }

    .idea-card {
      background: rgba(255,255,255,0.75);
      border: 1px solid rgba(0,71,171,0.16);
      border-radius: 18px;
      padding: 1rem 0.75rem;
      text-align: center;
      min-height: 175px;
      box-shadow: 0 10px 24px rgba(0,71,171,0.05);
    }

    .idea-icon {
      width: 60px;
      height: 60px;
      border: 2px solid rgba(0,71,171,0.22);
      border-radius: 999px;
      display: grid;
      place-items: center;
      margin: 0 auto 0.7rem;
      font-size: 1.8rem;
      background: #fff;
    }

    .idea-card h3 {
      color: var(--ikw-cobalt);
      font-size: 1rem;
      margin-bottom: 0.45rem;
    }

    .idea-card p {
      color: #111827;
      font-size: 0.86rem;
      line-height: 1.35;
      font-weight: 700;
    }

    .script-close {
      font-family: 'Patrick Hand', cursive;
      color: var(--ikw-cobalt);
      text-align: center;
      font-size: clamp(1.65rem, 3vw, 2.35rem);
      margin-top: 1.4rem;
    }

    .choice-section {
      background: #ffffff;
    }

    .choice-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 0.85rem;
    }

    .choice-card {
      border: 2px solid rgba(0, 71, 171, 0.16);
      border-radius: 18px;
      padding: 1rem 0.8rem;
      text-align: center;
      background: #fff;
      box-shadow: 0 10px 24px rgba(0,71,171,0.05);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 290px;
    }

    .choice-card h3 {
      color: var(--ikw-cobalt);
      font-size: 1.05rem;
      line-height: 1.15;
      margin-bottom: 0.55rem;
    }

    .choice-card p {
      color: #111827;
      font-size: 0.88rem;
      line-height: 1.35;
      font-weight: 650;
      margin-bottom: 0.85rem;
    }

    .choice-card .btn {
      width: 100%;
      font-size: 0.88rem;
      padding: 0.6rem 0.65rem;
    }

    .choice-icon {
      font-size: 2.25rem;
      margin-bottom: 0.45rem;
    }

    .support-note {
      margin-top: 1.1rem;
      text-align: center;
      color: var(--ikw-cobalt);
      font-weight: 900;
    }

    .impact-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
      align-items: stretch;
      margin-top: 1.5rem;
    }

    .impact-panel {
      background: #ffffff;
      border: 2px solid rgba(0, 71, 171, 0.18);
      border-radius: 22px;
      padding: 1.25rem;
      box-shadow: 0 14px 30px rgba(0, 71, 171, 0.08);
    }

    .impact-title {
      color: var(--ikw-cobalt);
      font-weight: 900;
      font-size: 1.18rem;
      margin-bottom: 0.75rem;
    }

    .progress-number {
      color: #111827;
      font-size: clamp(2.1rem, 4vw, 3.2rem);
      font-weight: 900;
      line-height: 1;
    }

    .progress-label {
      color: #4b5563;
      font-weight: 800;
      margin-top: 0.35rem;
    }

    .progress-bar {
      height: 18px;
      background: #e5e7eb;
      border-radius: 999px;
      overflow: hidden;
      margin: 1rem 0 0.45rem;
    }

    .progress-fill {
      width: 0%;
      height: 100%;
      background: var(--ikw-cobalt);
      border-radius: 999px;
      transition: width 0.8s ease;
    }

    .impact-mini-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.75rem;
      margin: 1rem 0;
    }

    .impact-mini-stat {
      background: #fff8e8;
      border: 1px solid rgba(243, 182, 36, 0.65);
      border-radius: 16px;
      padding: 0.85rem 0.7rem;
      text-align: center;
    }

    .impact-mini-stat strong {
      display: block;
      color: var(--ikw-cobalt);
      font-size: clamp(1.45rem, 2.4vw, 2rem);
      line-height: 1;
      font-weight: 900;
      margin-bottom: 0.35rem;
    }

    .impact-mini-stat span {
      display: block;
      color: var(--ikw-ink);
      font-size: 0.82rem;
      line-height: 1.25;
      font-weight: 800;
    }

    .impact-updated {
      color: var(--ikw-muted);
      font-size: 0.82rem;
      font-weight: 700;
      margin-top: 0.7rem;
    }

    .zeffy-frame {
      position: relative;
      overflow: hidden;
      height: 900px;
      width: 100%;
      border-radius: 22px;
      background: #ffffff;
    }

    .zeffy-frame iframe {
      position: absolute;
      border: 0;
      inset: 0;
      width: 100%;
      height: 100%;
    }

    .thermometer-frame {
      position: relative;
      overflow: hidden;
      width: 100%;
      padding-top: 120px;
    }

    .thermometer-frame iframe {
      position: absolute;
      border: 0;
      inset: 0;
      width: 100%;
      height: 120px;
    }

    .closing-callout {
      background: linear-gradient(135deg, #fff8e8, #ffffff);
      border: 2px solid rgba(243, 182, 36, 0.75);
      border-radius: 22px;
      padding: 1.4rem;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1.25rem;
      align-items: center;
    }

    .closing-callout h2 {
      color: var(--ikw-cobalt);
      font-size: clamp(1.8rem, 3.5vw, 2.75rem);
      line-height: 1.05;
      margin: 0;
    }

    .closing-callout p {
      color: #111827;
      font-weight: 750;
      line-height: 1.45;
    }

    .closing-callout .btn {
      justify-self: stretch;
      text-align: center;
    }

    @media (max-width: 1100px) {
      .choice-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .idea-chain {
        grid-template-columns: repeat(5, minmax(120px, 1fr));
        overflow-x: auto;
        padding-bottom: 0.25rem;
      }
    }

    @media (max-width: 900px) {
      .reader-hero {
        min-height: auto;
        background:
          linear-gradient(180deg, rgba(255,248,232,0.98) 0%, rgba(255,248,232,0.9) 50%, rgba(255,248,232,0.22) 100%),
          url('../images/Reading%20Bella.png') center bottom / cover no-repeat;
        padding-bottom: 260px;
      }

      .hero-copy {
        margin: 0 auto;
      }

      .literacy-stats,
      .vision-grid,
      .impact-wrap,
      .impact-mini-grid,
      .closing-callout {
        grid-template-columns: 1fr;
      }

      .literacy-stat {
        border-right: none;
        border-bottom: 1px solid rgba(17,24,39,0.12);
      }

      .literacy-stat:last-child {
        border-bottom: none;
      }

      .choice-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 620px) {
      .reader-hero {
        padding-bottom: 220px;
      }

      .hero-actions {
        flex-direction: column;
      }

      .hero-actions .btn {
        width: 100%;
      }

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

      .choice-card {
        min-height: auto;
      }
    }
