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

:root {
      --teal:   #2D9C8E;
      --orange: #E8873A;
      --cream:  #FDFAF5;
      --warm:   #F5EFE4;
      --dark:   #2C3635;
      --mid:    #5C7170;
    }

html { overflow-x: hidden; }

body { font-family: 'Georgia', serif; background: var(--cream); color: var(--dark); }

/* ── NAV ── */
    nav {
      background: #fff;
      box-shadow: none;
      padding: 0 40px;
      height: 94px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
      overflow: visible;
    }

img { max-width: 100%; }

nav img { height: 173px; width: auto; cursor: pointer; }

.nav-links a {
      color: var(--mid);
      text-decoration: none;
      font-family: 'Verdana', sans-serif;
      font-size: .87rem;
      font-weight: 600;
      letter-spacing: .03em;
      margin-left: 26px;
      padding-bottom: 3px;
      border-bottom: 2px solid transparent;
      transition: color .2s, border-color .2s;
      cursor: pointer;
    }

.nav-links a:hover,
    .nav-links a.active { color: #2563EB; border-bottom-color: var(--orange); }

/* Mobile hamburger — hidden on desktop */
    .nav-burger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 34px;
      height: 34px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      flex-shrink: 0;
    }

.nav-burger span {
      display: block;
      width: 24px;
      height: 2.5px;
      background: var(--teal);
      border-radius: 2px;
      transition: transform .2s, opacity .2s;
    }

.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }

.nav-burger.open span:nth-child(2) { opacity: 0; }

.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #fff;
      box-shadow: 0 10px 24px rgba(0,0,0,.12);
      padding: 6px 0;
      z-index: 99;
    }

.mobile-menu.open { display: flex; }

.mobile-menu a {
      color: var(--mid);
      text-decoration: none;
      font-family: 'Verdana', sans-serif;
      font-size: .95rem;
      font-weight: 600;
      padding: 15px 24px;
      border-bottom: 1px solid var(--warm);
      cursor: pointer;
    }

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a:hover { color: #2563EB; }

/* ── TABS ── */
    .tab { display: none; }

.tab.active { display: block; }

/* ── SHARED ── */
    .btn {
      display: inline-block;
      background: var(--orange);
      color: #2C3635;
      padding: 13px 32px;
      border-radius: 50px;
      text-decoration: none;
      font-family: 'Verdana', sans-serif;
      font-weight: 700;
      font-size: .9rem;
      letter-spacing: .04em;
      transition: background .2s, transform .15s;
      box-shadow: 0 4px 14px rgba(232,135,58,.3);
      cursor: pointer;
      border: none;
    }

.btn:hover { background: #d4752c; transform: translateY(-2px); }

.btn-outline {
      background: transparent;
      color: var(--teal);
      border: 2px solid var(--teal);
      box-shadow: none;
      margin-left: 14px;
    }

.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

footer {
      background: var(--dark);
      color: #aaa;
      text-align: center;
      padding: 28px 20px;
      font-family: 'Verdana', sans-serif;
      font-size: .8rem;
    }

footer a { color: #2563EB; text-decoration: none; }

/* ═══════════════════════════
       TAB: HOME
    ═══════════════════════════ */
    .hero {
      background: linear-gradient(135deg, #E8F7F5 0%, #FEF4EA 100%);
      text-align: center;
      padding: 60px 20px 70px;
      position: relative;
      overflow: hidden;
    }

.hero-logo { display: block; height: 247px; width: auto; margin: 0 auto 26px; position: relative; z-index: 2; }

.hero h1, .hero p, .hero .btn, .hero .btn-outline { position: relative; z-index: 2; }

.hero-deco {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      opacity: 1;
      pointer-events: none;
      height: auto;
    }

.deco-left  { left: 114px;  width: 750px; }

.deco-right { right: 114px; width: 750px; }

@media (max-width: 900px) { .hero-deco { display: none; } }

.hero h1 { font-size: 2.5rem; color: #24445C; line-height: 1.25; max-width: 660px; margin: 0 auto 16px; }

.hero h1 span { color: var(--orange); }

.hero p { font-size: 1.1rem; color: var(--mid); max-width: 520px; margin: 0 auto 34px; line-height: 1.75; }

.home-featured {
      padding: 60px 40px;
      background: var(--cream);
    }

.home-featured h2 { text-align: center; font-size: 1.6rem; color: #24445C; margin-bottom: 36px; }

.featured-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 22px;
      max-width: 1000px;
      margin: 0 auto 36px;
    }

.home-featured .sub { text-align:center; color:var(--mid); max-width:620px; margin:0 auto 30px; }

.value-spot { padding: 60px 40px; background: var(--cream); text-align: center; }

.value-spot h2 { font-size: 1.6rem; color: #24445C; margin-bottom: 14px; }

.value-spot p { max-width: 680px; margin: 0 auto; color: var(--mid); font-size: 1.05rem; line-height: 1.7; }

.usage-spot { padding: 60px 40px; background: var(--warm); text-align: center; }

.usage-spot h2 { font-size: 1.6rem; color: #24445C; margin-bottom: 14px; }

.usage-spot > p { max-width: 680px; margin: 0 auto 32px; color: var(--mid); font-size: 1.05rem; line-height: 1.7; }

.usage-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; max-width: 900px; margin: 0 auto; }

.usage-item { flex: 1; min-width: 220px; max-width: 260px; }

.usage-item h3 { color: #24445C; font-size: 1.05rem; margin-bottom: 6px; }

.usage-item p { color: var(--mid); font-size: .92rem; margin: 0; }

.testimonial-spot {
      padding: 60px 40px;
      background: var(--warm);
    }

.testimonial-card {
      max-width: 780px;
      margin: 0 auto;
      background: #fff;
      border-radius: 20px;
      padding: 48px 52px;
      box-shadow: 0 3px 16px rgba(0,0,0,.07);
      text-align: center;
    }

.testimonial-stars { color: var(--orange); font-size: 1.3rem; letter-spacing: 4px; margin-bottom: 18px; }

.testimonial-quote { font-size: 1.2rem; font-style: italic; color: var(--dark); line-height: 1.75; margin-bottom: 26px; }

.testimonial-meta { display: flex; align-items: center; justify-content: center; gap: 14px; }

.testimonial-meta img { width: 44px; height: auto; aspect-ratio: 8.5/11; object-fit: cover; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }

.testimonial-name { font-family: 'Verdana', sans-serif; font-weight: 700; font-size: .85rem; color: var(--dark); text-align: left; }

.testimonial-name span { display: block; font-weight: 400; color: var(--mid); font-size: .75rem; margin-top: 2px; }

.testimonial-link { display: inline-block; margin-top: 22px; font-family: 'Verdana', sans-serif; font-size: .78rem; font-weight: 700; color: #2563EB; text-decoration: none; }

.testimonial-link:hover { color: var(--orange); }

.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }

.testimonial-grid .testimonial-card { max-width: none; }

@media (max-width: 640px) { .testimonial-card { padding: 36px 26px; } }

@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }

.newsletter-strip {
      background: linear-gradient(135deg, #E8F7F5 0%, #FEF4EA 100%);
      padding: 56px 40px;
      color: var(--dark);
      position: relative;
      overflow: hidden;
    }

.newsletter-deco {
      position: absolute;
      right: 84px;
      bottom: 103px;
      width: 190px;
      opacity: 1;
      pointer-events: none;
      z-index: 0;
    }

.newsletter-inner {
      max-width: 640px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 22px;
      position: relative;
      z-index: 1;
    }

.newsletter-text h2 { font-size: 2.1rem; line-height: 1.3; margin-bottom: 0; color: #24445C; }

.newsletter-text h2 .brand { color: var(--orange); }

.newsletter-text p { font-size: 1rem; color: var(--mid); line-height: 1.65; max-width: 480px; margin: 14px auto 0; }

.newsletter-form { display: flex; gap: 12px; flex-shrink: 0; justify-content: center; }

.newsletter-form input {
      padding: 13px 18px;
      border-radius: 50px;
      border: none;
      font-size: .95rem;
      width: 240px;
      outline: none;
      font-family: 'Georgia', serif;
      color: var(--dark);
    }

@media (max-width: 700px) {
      .newsletter-inner { flex-direction: column; text-align: center; }
      .newsletter-text p { max-width: 100%; }
      .newsletter-form { flex-direction: column; width: 100%; }
      .newsletter-form input { width: 100%; }
      .newsletter-form .btn { width: 100%; text-align: center; }
      .newsletter-deco { display: none; }
    }

/* ═══════════════════════════
       TAB: BOOKS
    ═══════════════════════════ */
    .books-page { padding: 60px 40px; }

.books-page h1 { text-align: center; font-size: 2rem; color: #24445C; margin-bottom: 8px; }

.books-page .sub { text-align: center; color: var(--mid); margin-bottom: 50px; font-size: 1rem; }

.series-banner {
      background: linear-gradient(135deg, #E8F7F5 0%, #FEF4EA 100%);
      border-radius: 20px;
      padding: 32px 40px;
      margin: 0 auto 56px;
      max-width: 1100px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 36px;
    }

.series-badge {
      display: inline-block;
      font-family: 'Verdana', sans-serif;
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: #fff;
      background: var(--orange);
      padding: 5px 12px;
      border-radius: 20px;
      margin-bottom: 10px;
    }

.series-banner-text h2 { color: #24445C; font-size: 1.3rem; margin-bottom: 8px; }

.series-banner-text p { color: var(--mid); font-size: .95rem; line-height: 1.65; max-width: 420px; }

.series-link { display: inline-block; margin-top: 14px; font-family: 'Verdana', sans-serif; font-size: .8rem; font-weight: 700; color: #2563EB; text-decoration: none; }

.series-link:hover { color: var(--orange); }

.series-thumbs { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; max-width: 460px; justify-content: flex-end; }

.series-thumbs img {
      width: 78px;
      height: auto;
      aspect-ratio: 8.5/11;
      object-fit: cover;
      border-radius: 6px;
      box-shadow: 0 3px 10px rgba(0,0,0,.18);
      border: 2px solid #fff;
      transition: transform .15s ease, box-shadow .15s ease;
    }

.series-thumbs a { display: block; border-radius: 6px; cursor: pointer; }

.series-thumbs a:hover img, .series-thumbs a:focus-visible img {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 6px 16px rgba(0,0,0,.25);
    }

@media (max-width: 760px) {
      .series-banner { flex-direction: column; text-align: center; }
      .series-banner-text p { max-width: 100%; }
      .series-thumbs { justify-content: center; flex-wrap: wrap; max-width: 100%; }
    }

.book-category { margin-bottom: 52px; max-width: 1100px; margin-left: auto; margin-right: auto; }

.category-header {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 26px;
    }

.category-header h2 { font-size: 1.3rem; color: var(--dark); }

.category-line { flex: 1; height: 2px; background: var(--warm); border-radius: 2px; }

.category-icon { font-size: 1.5rem; }

.books-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
      gap: 24px;
    }

.book-card {
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 3px 14px rgba(0,0,0,.08);
      transition: transform .2s, box-shadow .2s;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
    }

.book-card:hover { transform: translateY(-5px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }

.book-card img { width: 100%; height: auto; aspect-ratio: 8.5/11; object-fit: cover; display: block; }

.book-info { padding: 13px 15px 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

.book-info h3 { font-size: .88rem; color: var(--dark); line-height: 1.4; margin-bottom: 9px; }

.amazon-link { font-family: 'Verdana', sans-serif; font-size: .73rem; font-weight: 700; color: var(--orange); text-decoration: none; }

.amazon-link:hover { color: #2563EB; }

/* ═══════════════════════════
       TAB: OUR STORY
    ═══════════════════════════ */
    .story-hero {
      background: linear-gradient(135deg, #E8F7F5 0%, #FEF4EA 100%);
      text-align: center;
      padding: 60px 20px 50px;
    }

.story-hero h1 { font-size: 2.3rem; color: #24445C; }

.story-hero h1 span { color: var(--orange); }

.story-body {
      max-width: 720px;
      margin: 0 auto;
      padding: 60px 40px 80px;
      position: relative;
    }

.story-photos img {
      position: absolute;
      width: 328px;
      height: auto;
      background: #fff;
      padding: 16px 16px 53px;
      border-radius: 3px;
      box-shadow: 0 14px 32px rgba(0,0,0,.2);
      z-index: 1;
    }

.story-photos .photo-1 { left: -396px; top: 40px;   transform: rotate(-8deg); }

.story-photos .photo-2 { right: -408px; top: 360px; transform: rotate(6deg); }

.story-photos .photo-3 { left: -372px; top: 700px;  transform: rotate(5deg); }

.story-photos .photo-4 { right: -384px; top: 1040px; transform: rotate(-6deg); }

.story-photos .photo-5 { left: -390px; top: 1550px;  transform: rotate(7deg); }

.story-photos .photo-6 { right: -400px; top: 1600px; transform: rotate(-6deg); }

.story-photo-mobile { display: none; }

@media (max-width: 1600px) {
      .story-photos img { display: none; }
      .story-photo-mobile {
        display: block;
        width: 75%;
        max-width: 300px;
        height: auto;
        margin: 30px auto;
        background: #fff;
        padding: 12px 12px 40px;
        border-radius: 3px;
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
      }
      .story-photo-mobile.rot-1 { transform: rotate(-6deg); }
      .story-photo-mobile.rot-2 { transform: rotate(5deg); }
      .story-photo-mobile.rot-3 { transform: rotate(-4deg); }
      .story-photo-mobile.rot-4 { transform: rotate(6deg); }
      .story-photo-mobile.rot-5 { transform: rotate(-5deg); }
      .story-photo-mobile.rot-6 { transform: rotate(4deg); }
    }

.story-body h2 { font-size: 1.4rem; color: #24445C; margin-bottom: 20px; }

.story-body p { font-size: 1.08rem; color: var(--mid); line-height: 1.9; margin-bottom: 18px; }

.story-divider {
      width: 60px; height: 3px;
      background: var(--orange);
      border-radius: 4px;
      margin: 44px 0;
    }

.story-tagline {
      font-size: 1.4rem;
      color: var(--teal);
      font-style: italic;
      margin-bottom: 20px;
    }

.story-signature {
      margin-top: 44px;
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--dark);
      font-style: italic;
      border-top: 2px solid var(--warm);
      padding-top: 24px;
    }

.story-signature span {
      font-size: 1rem;
      font-weight: 500;
      color: var(--mid);
      font-style: normal;
    }

/* ═══════════════════════════
       TAB: CONTACT
    ═══════════════════════════ */
    .contact-body { max-width: 560px; margin: 0 auto; padding: 60px 40px 90px; text-align: center; }

.contact-photo {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      object-fit: cover;
      box-shadow: 0 8px 24px rgba(0,0,0,.18);
      margin-bottom: 28px;
    }

.contact-body p { color: var(--mid); font-size: 1.08rem; line-height: 1.8; margin-bottom: 30px; }

.contact-email {
      display: inline-block;
      background: var(--teal);
      color: #fff;
      padding: 14px 32px;
      border-radius: 50px;
      font-family: 'Verdana', sans-serif;
      font-weight: 700;
      font-size: .95rem;
      text-decoration: none;
      box-shadow: 0 4px 14px rgba(45,156,142,.3);
      transition: background .2s, transform .15s;
    }

.contact-email:hover { background: #24897b; transform: translateY(-2px); }

.contact-social {
      display: block;
      margin-top: 22px;
      font-family: 'Verdana', sans-serif;
      font-size: .82rem;
      font-weight: 700;
      color: var(--orange);
      text-decoration: none;
    }

.contact-social:hover { color: #2563EB; }

/* ═══════════════════════════
       TAB: FOR TEACHERS
    ═══════════════════════════ */
    .teachers-hero {
      background: linear-gradient(135deg, #E8F7F5 0%, #FEF4EA 100%);
      text-align: center;
      padding: 60px 20px 50px;
    }

.teachers-hero h1 { font-size: 2.2rem; color: #24445C; margin-bottom: 14px; }

.teachers-hero h1 span { color: var(--orange); }

.teachers-hero p { font-size: 1.1rem; color: var(--mid); max-width: 540px; margin: 0 auto; line-height: 1.75; }

.teachers-body { max-width: 860px; margin: 0 auto; padding: 60px 40px; }

.who-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 14px;
      margin-bottom: 52px;
    }

.who-item {
      background: #fff;
      border-radius: 12px;
      padding: 18px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,.06);
      font-size: .95rem;
      color: var(--dark);
    }

.who-item .icon { font-size: 1.4rem; }

.form-card {
      background: #fff;
      border-radius: 20px;
      padding: 44px 48px;
      box-shadow: 0 3px 16px rgba(0,0,0,.07);
    }

.form-card h2 { color: #24445C; font-size: 1.5rem; margin-bottom: 8px; }

.form-card > p { color: var(--mid); margin-bottom: 28px; line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-group { margin-bottom: 18px; }

label { display: block; font-family: 'Verdana', sans-serif; font-size: .8rem; font-weight: 700; color: var(--dark); margin-bottom: 7px; letter-spacing: .03em; }

input, select, textarea {
      width: 100%; padding: 12px 16px;
      border: 2px solid #E0EAE9; border-radius: 10px;
      font-size: .95rem; font-family: 'Georgia', serif;
      color: var(--dark); background: var(--cream);
      outline: none; transition: border-color .2s;
    }

input:focus, select:focus, textarea:focus { border-color: var(--teal); }

a:focus-visible, button:focus-visible, .btn:focus-visible,
    input:focus-visible, select:focus-visible, textarea:focus-visible,
    .book-option:focus-visible, .series-thumbs a:focus-visible {
      outline: 3px solid var(--teal);
      outline-offset: 2px;
    }

input:focus, select:focus, textarea:focus {
      box-shadow: 0 0 0 3px rgba(45,156,142,.25);
    }

textarea { resize: vertical; min-height: 90px; }

.books-pick {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
      gap: 12px;
      margin-top: 8px;
    }

.book-option {
      cursor: pointer;
      display: block;
      border: 3px solid #E0EAE9;
      border-radius: 10px;
      overflow: hidden;
      transition: border-color .2s, transform .15s;
      font-weight: normal;
      font-size: .7rem;
      color: var(--mid);
      text-align: center;
    }

.book-option:hover { border-color: var(--teal); transform: translateY(-2px); }

.book-option.selected { border-color: var(--orange); }

.book-option img { width: 100%; height: auto; aspect-ratio: 8.5/11; object-fit: cover; display: block; }

.book-option span { display: block; padding: 6px 4px; }

.submit-btn {
      width: 100%; margin-top: 24px;
      padding: 15px; background: var(--orange); color: #fff;
      border: none; border-radius: 50px;
      font-family: 'Verdana', sans-serif; font-weight: 700; font-size: .95rem;
      cursor: pointer; letter-spacing: .04em;
      box-shadow: 0 4px 14px rgba(232,135,58,.35);
      transition: background .2s, transform .15s;
    }

.submit-btn:hover { background: #d4752c; transform: translateY(-2px); }

.form-note { margin-top: 14px; font-size: .8rem; color: var(--mid); text-align: center; line-height: 1.6; }

@media (max-width: 640px) {
      nav { padding: 12px 18px; }
      nav img { height: 60px; width: auto; }
      .nav-links { display: none; }
      .nav-burger { display: flex; }
      .hero h1, .story-hero h1, .teachers-hero h1 { font-size: 1.8rem; }
      .hero-logo { height: 130px; }
      .books-page, .story-body, .teachers-body { padding: 40px 20px; }
      .form-row { grid-template-columns: 1fr; }
      .form-card { padding: 28px 22px; }

      /* Our Story — interleaved mobile photos */
      .story-photo-mobile {
        display: block;
        width: 75%;
        max-width: 300px;
        margin: 30px auto;
        background: #fff;
        padding: 12px 12px 40px;
        border-radius: 3px;
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
      }
      .story-photo-mobile.rot-1 { transform: rotate(-6deg); }
      .story-photo-mobile.rot-2 { transform: rotate(5deg); }
      .story-photo-mobile.rot-3 { transform: rotate(-4deg); }
      .story-photo-mobile.rot-4 { transform: rotate(6deg); }
      .story-photo-mobile.rot-5 { transform: rotate(-5deg); }
      .story-photo-mobile.rot-6 { transform: rotate(4deg); }
    }

/* ═══════════════════════════
       TAB: GALLERY
    ═══════════════════════════ */
    .gallery-page { padding: 60px 40px 90px; }

.gallery-page h1 { text-align: center; font-size: 2rem; color: #24445C; margin-bottom: 8px; }

.gallery-page .sub { text-align: center; color: var(--mid); margin-bottom: 46px; font-size: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 26px;
      max-width: 1100px;
      margin: 0 auto;
      user-select: none;
      -webkit-user-select: none;
      -webkit-touch-callout: none;
    }

.gallery-item {
      background-size: cover;
      background-position: center;
      aspect-ratio: 0.75/1;
      border-radius: 14px;
      box-shadow: 0 4px 18px rgba(0,0,0,.12);
      pointer-events: none;
    }

.gallery-note {
      text-align: center;
      margin-top: 40px;
      color: var(--mid);
      font-size: 1.7rem;
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }

/* ═══ AUDIT FIXES — added block, additive only ═══ */
    .testimonial-card { display:flex; flex-direction:column; }

.testimonial-meta { margin-top:auto; }

.book-card { box-shadow: 0 4px 18px rgba(0,0,0,.10); }

.amazon-link { margin-top:auto; }

.age-label { display:block; width:fit-content; margin:2px 0 0; background:var(--warm); color:var(--mid); font-size:.72rem; padding:2px 10px; border-radius:10px; }

.gallery-fig { margin:0; display:flex; flex-direction:column; }

.gallery-fig img { width:100%; height:auto; aspect-ratio:0.76/1; object-fit:cover; border-radius:14px; box-shadow:0 4px 18px rgba(0,0,0,.12); display:block; }

.gallery-caption { margin-top:8px; font-size:.8rem; color:var(--mid); text-align:center; line-height:1.4; }

.gallery-caption a { color:#2563EB; text-decoration:none; font-weight:600; }

.gallery-caption a:hover { text-decoration:underline; }

.gallery-caption .needs-check { color:var(--orange); font-size:.72rem; }

.privacy-page { max-width:760px; margin:0 auto; padding:70px 40px; line-height:1.75; }

.privacy-page h1 { text-align:center; font-size:2rem; color:#24445C; margin-bottom:28px; }

.privacy-page h2 { font-size:1.15rem; color:#24445C; margin:32px 0 10px; }

.privacy-page p { margin-bottom:14px; }

.privacy-page a { color:#2563EB; }

.gallery-img-link { display:block; cursor:pointer; }

.gallery-caption { margin-top:14px; display:flex; flex-direction:column; gap:3px; }

.gallery-caption .gallery-title { color:#2563EB; font-weight:700; text-decoration:none; display:block; font-size:.95rem; }

.gallery-caption .gallery-title:hover { text-decoration:underline; }

.gallery-caption .gallery-type { color:#4B5563; font-size:.85rem; display:block; }

/* --- EXPLORE THE STORIES --- */
    .explore-stories { padding: 60px 24px 10px; }

.explore-stories h2 { text-align:center; font-size:1.7rem; color:#24445C; margin-bottom:8px; }

.explore-stories .sub { text-align:center; color:var(--mid); max-width:620px; margin:0 auto 36px; }

.story-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:28px; max-width:1000px; margin:0 auto; }

.story-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 3px 14px rgba(0,0,0,.08); width:300px; max-width:100%; display:flex; flex-direction:column; transition:transform .2s, box-shadow .2s; }

.story-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,.12); }

.story-card img { width:100%; height:auto; aspect-ratio:8.5/11; object-fit:cover; display:block; }

.story-card .story-info { padding:18px 20px 22px; display:flex; flex-direction:column; flex:1; }

.story-card h3 { color:#24445C; font-size:1.1rem; margin:8px 0 8px; }

.story-card p { color:var(--dark); font-size:.9rem; margin-bottom:10px; }

.story-card ul { margin:0 0 16px 0; padding-left:18px; color:var(--dark); font-size:.85rem; line-height:1.5; }

.story-card ul li { margin-bottom:4px; }

.story-card .btn { margin-top:auto; align-self:flex-start; padding:11px 24px; font-size:.85rem; }

.story-card .btn-secondary { background:transparent; color:#24445C; border:2px solid #24445C; box-shadow:none; padding:9px 22px; }

.story-card .btn-secondary:hover { background:rgba(36,68,92,.08); color:#24445C; }

:root {
      --orange: #E8873A;
      --cream: #FDFAF5;
      --warm: #F5EFE4;
      --dark: #2C3635;
      --mid: #5C7170;
      --navy: #24445C;
      --link: #2563EB;
    }

body { font-family: 'Georgia', serif; background: var(--cream); color: var(--dark); line-height: 1.6; }

a { color: var(--link); }

img { max-width: 100%; display: block; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* --- NAV --- */
    nav {
      background: #fff;
      box-shadow: none;
      padding: 0 40px;
      height: 94px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
    }

nav .logo-link { display: flex; align-items: center; }

nav img.logo { height: 173px; width: auto; cursor: pointer; }

/* duplicate legacy rule removed 2026-07-17 — was overriding mobile .nav-links{display:none} causing hamburger + full menu to show together */

.nav-links a {
      color: var(--mid);
      text-decoration: none;
      font-family: 'Verdana', sans-serif;
      font-size: 0.95rem;
      font-weight: 600;
    }

.nav-links a:hover { color: var(--navy); }

/* --- HERO --- */
    .hero {
      background: linear-gradient(135deg, #E8F7F5 0%, #FEF4EA 100%);
      padding: 60px 24px 50px;
      text-align: center;
    }

.eyebrow {
      display: inline-block;
      font-family: 'Verdana', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: #fff;
      background: var(--orange);
      padding: 6px 14px;
      border-radius: 20px;
      margin-bottom: 18px;
    }

h1 {
      color: var(--navy);
      font-size: 2.4rem;
      margin-bottom: 20px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

.hero p {
      max-width: 820px;
      margin: 0 auto;
      color: var(--dark);
      font-size: 1.05rem;
    }

/* --- SECTION HEADINGS --- */
    h2 {
      color: var(--navy);
      font-size: 1.6rem;
      text-align: center;
      margin-bottom: 8px;
    }

.section-sub {
      text-align: center;
      color: var(--mid);
      max-width: 620px;
      margin: 0 auto 36px;
      font-size: 0.98rem;
    }

section { padding: 56px 24px; }

/* --- SCENES --- */
    .scenes-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      max-width: 1100px;
      margin: 0 auto;
    }

.scene-card {
      background: #fff;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 4px 14px rgba(0,0,0,.08);
    }

.scene-card img { width: 100%; height: auto; aspect-ratio: 620/930; object-fit: cover; }

.scene-caption {
      padding: 14px 16px 18px;
      font-size: 0.9rem;
      color: var(--mid);
      text-align: center;
    }

/* --- FREE DOWNLOAD --- */
    .free-download {
      background: var(--warm);
      border-radius: 20px;
      max-width: 1000px;
      margin: 0 auto;
      padding: 44px;
      display: flex;
      align-items: center;
      gap: 44px;
    }

.free-download .preview-col { flex-shrink: 0; width: 240px; }

.free-download .preview-col img {
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0,0,0,.15);
      border: 4px solid #fff;
    }

.free-download .text-col h2 { text-align: left; margin-bottom: 12px; }

.free-download .text-col p { color: var(--dark); margin-bottom: 22px; }

.btn {
      display: inline-block;
      background: var(--orange);
      color: #2C3635;
      font-family: 'Verdana', sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      padding: 14px 28px;
      border-radius: 30px;
      text-decoration: none;
      border: none;
      cursor: pointer;
    }

.btn:hover { opacity: .92; }

/* --- FULL BOOK --- */
    .full-book {
      display: flex;
      align-items: center;
      gap: 50px;
      max-width: 1000px;
      margin: 0 auto;
    }

.full-book .cover-col { flex-shrink: 0; width: 220px; }

.full-book .cover-col img { border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }

.full-book .text-col h2 { text-align: left; }

.full-book .text-col p { margin-bottom: 22px; }

/* --- HOW TO USE --- */
    .use-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      max-width: 1000px;
      margin: 0 auto;
    }

.use-card {
      background: #fff;
      border-radius: 14px;
      padding: 28px 24px;
      box-shadow: 0 4px 14px rgba(0,0,0,.06);
    }

.use-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 10px; }

.use-card p { color: var(--dark); font-size: 0.95rem; }

/* --- EXPLORE MORE --- */
    .explore-more { text-align: center; }

.explore-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 10px; }

.explore-links a {
      text-decoration: none;
      font-weight: 700;
      font-family: 'Verdana', sans-serif;
      font-size: 0.92rem;
    }

footer {
      background: var(--dark);
      color: #aaa;
      text-align: center;
      padding: 28px 24px;
      font-size: 0.85rem;
    }

footer a { color: #aaa; }

@media (max-width: 760px) {
      nav { padding: 0 18px; }
      .nav-links { gap: 14px; }
      .nav-links a { font-size: 0.82rem; }
      h1 { font-size: 1.7rem; }
      .scenes-grid { grid-template-columns: repeat(2, 1fr); }
      .free-download, .full-book { flex-direction: column; text-align: center; }
      .free-download .text-col h2, .full-book .text-col h2 { text-align: center; }
      .use-grid { grid-template-columns: 1fr; }
    }

@media (max-width: 640px) {
      nav { flex-wrap: wrap; height: auto; padding: 10px 16px; row-gap: 6px; }
      nav .logo-link { flex-shrink: 0; }
      nav img.logo { height: 48px; width: auto; }
      .nav-links { flex-wrap: wrap; justify-content: center; gap: 8px 14px; width: 100%; margin: 0; }
      .nav-links a { margin-left: 0; font-size: 0.78rem; padding-bottom: 1px; }
    }

.brand { color: var(--orange); }

.btn-outline {
      background: transparent;
      color: var(--navy);
      border: 2px solid var(--navy);
      box-shadow: none;
    }

.breadcrumb-nav { max-width: 1100px; margin: 0 auto; padding: 14px 40px; font-family: Verdana, sans-serif; font-size: .8rem; color: var(--mid); background: transparent; height: auto; display: block; position: static; box-shadow: none; }

.breadcrumb-nav a { color: var(--mid); text-decoration: none; }

.breadcrumb-nav a:hover { text-decoration: underline; }

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }

.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 34px; }

.diff-card { background: #fff; border-radius: 16px; padding: 26px 24px; box-shadow: 0 3px 14px rgba(0,0,0,.06); }

.diff-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--teal); }

.diff-card p { font-family: Verdana, sans-serif; font-size: .87rem; line-height: 1.6; color: var(--mid); }

.free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; margin-top: 30px; }

.free-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 3px 14px rgba(0,0,0,.08); display: flex; flex-direction: column; }

.free-card img { width: 100%; height: auto; aspect-ratio: 620/930; object-fit: cover; display: block; }

.free-card-info { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }

.free-card-info .free-label { font-family: Verdana, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }

.free-card-info h3 { font-size: 1rem; margin-bottom: 12px; color: var(--dark); }

.free-card-info .btn { margin-bottom: 10px; text-align: center; }

.free-card-info .see-more { font-family: Verdana, sans-serif; font-size: .8rem; color: var(--teal); text-decoration: none; font-weight: 600; }

.free-card-info .see-more:hover { text-decoration: underline; }

.books-grid-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; margin-top: 30px; }

.book-card-hub { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 3px 14px rgba(0,0,0,.08); display: flex; flex-direction: column; }

.book-card-hub img { width: 100%; height: auto; aspect-ratio: 8.5/11; object-fit: cover; display: block; }

.book-card-hub .book-card-info { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }

.book-card-hub .age-label { font-family: Verdana, sans-serif; font-size: .72rem; font-weight: 700; color: var(--teal); margin-bottom: 6px; }

.book-card-hub h3 { font-size: 1rem; margin-bottom: 8px; color: var(--dark); }

.book-card-hub p { font-family: Verdana, sans-serif; font-size: .82rem; line-height: 1.5; color: var(--mid); margin-bottom: 14px; flex: 1; }

.book-card-hub .book-btn-row { display: flex; flex-direction: column; gap: 8px; }

.book-card-hub .book-btn-row a { text-align: center; }

.faq-list { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }

.faq-item h3 { font-size: 1rem; color: var(--teal); margin-bottom: 8px; }

.faq-item p { font-family: Verdana, sans-serif; font-size: .88rem; line-height: 1.6; color: var(--mid); }

.closing-cta { background: var(--warm); padding: 56px 40px; text-align: center; margin-top: 20px; }

.closing-cta .cta-title { font-family: Georgia, serif; font-size: 1.6rem; color: var(--dark); margin-bottom: 12px; }

.closing-cta p.cta-sub { font-family: Verdana, sans-serif; font-size: .95rem; color: var(--mid); margin-bottom: 22px; }

.section-block { padding: 54px 24px; }

.section-block.alt { background: var(--warm); }

.section-block .wrap { padding: 0; }

@media (max-width: 640px) { .breadcrumb-nav, section.wrap-section { padding-left: 20px; padding-right: 20px; } .hero-cta-row { flex-direction: column; } }

.free-download .preview-col img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0,0,0,.15);
      border: 4px solid #fff;
    }

.full-book .cover-col img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }

/* --- FAQ (Noah's Ark pilot) --- */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  text-align: left;
}

.faq-item h3 { color: var(--navy); font-size: 1.1rem; margin: 0 0 8px; }

.faq-item p { color: var(--dark); font-size: 0.95rem; margin: 0; line-height: 1.65; }

/* --- RELATED BIBLE STORIES (Noah's Ark pilot) --- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.related-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  text-align: left;
}

.related-card h3 { color: var(--navy); font-size: 1.1rem; margin: 0 0 8px; }

.related-card p { color: var(--mid); font-size: 0.9rem; margin: 0; line-height: 1.6; }

@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
}
