/* =========================================================
   Book League Storytime Adventures — shared stylesheet v3
   ========================================================= */

*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Nunito',sans-serif;background:#0d3333;color:#f0f4f8;overflow-x:hidden;min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
a{color:inherit}

/* Top social bar */
.social-bar{background:#0a2626;border-bottom:1px solid rgba(255,255,255,0.06);padding:0.45rem 2rem;display:flex;align-items:center;justify-content:flex-end;gap:1rem}
.social-bar-label{font-size:10px;font-weight:700;color:rgba(255,255,255,0.25);letter-spacing:0.08em;text-transform:uppercase;margin-right:0.25rem}
.sicon{color:rgba(255,255,255,0.4);text-decoration:none;display:flex;align-items:center;transition:color 0.2s}
.sicon:hover{color:#2dd4bf}
.sicon svg{width:16px;height:16px;fill:currentColor}

/* Nav */
nav.site-nav{display:flex;align-items:center;justify-content:space-between;padding:0.85rem 2rem;background:rgba(10,38,38,0.97);border-bottom:1px solid rgba(255,255,255,0.07);position:sticky;top:0;z-index:100;gap:1rem;flex-wrap:wrap}
.nav-left{display:flex;align-items:center;gap:10px;text-decoration:none}
.nav-logo{width:42px;height:42px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.nav-logo img{width:100%;height:100%;object-fit:contain;display:block}
.brand-name{font-weight:900;font-size:14px;line-height:1.1;color:white}
.brand-sub{color:#2dd4bf;font-size:10px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase}
.nav-right{display:flex;align-items:center;gap:1.5rem}
.nav-links{display:flex;gap:1.2rem;align-items:center;flex-wrap:wrap}
.nav-links a{font-size:12px;font-weight:700;color:rgba(255,255,255,0.55);text-decoration:none;transition:color 0.2s}
.nav-links a:hover{color:white}
.nav-links a.active{color:white}
.nav-cta{background:linear-gradient(135deg,#2dd4bf,#818cf8);color:white!important;padding:0.5rem 1.1rem;border-radius:20px;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,0.2)}

/* Hero */
.hero{position:relative;width:100%;min-height:620px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0d3333}
.hero-bg{position:absolute;inset:0;background:radial-gradient(ellipse at 25% 40%,rgba(45,212,191,0.22) 0%,transparent 55%),radial-gradient(ellipse at 75% 60%,rgba(129,140,248,0.18) 0%,transparent 55%),#0a2626}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,transparent 0%,rgba(13,51,51,0.3) 70%,#0d3333 100%)}
.hero-inner{position:relative;z-index:2;max-width:1000px;width:100%;padding:5rem 2rem;display:grid;grid-template-columns:300px 1fr;gap:3.5rem;align-items:center;justify-content:center}
.hero-logo{width:300px;height:300px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.hero-logo img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 16px 36px rgba(0,0,0,0.4))}
.hero-text{max-width:560px}
.hero-text h1{font-family:'Lora',serif;font-size:clamp(2.4rem,5.2vw,3.8rem);font-weight:700;color:white;line-height:1.15;margin-bottom:0.85rem;text-shadow:0 2px 12px rgba(0,0,0,0.4)}
.hero-text h1 em{color:#2dd4bf;font-style:italic;font-weight:600}
.hero-text p.tagline-sub{font-family:'Lora',serif;font-style:italic;color:rgba(255,255,255,0.85);font-size:clamp(1.1rem,1.6vw,1.3rem);margin-bottom:2rem;text-shadow:0 1px 6px rgba(0,0,0,0.4)}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap}
.hero-trust{margin-top:2rem;font-size:13px;color:rgba(255,255,255,0.55);font-weight:700;letter-spacing:0.04em;text-transform:uppercase}

/* Hero buttons */
.btn-hero{background:linear-gradient(135deg,#2dd4bf,#818cf8);color:#fff;font-weight:900;font-size:16px;padding:1rem 2rem;border-radius:999px;letter-spacing:0.01em;box-shadow:0 10px 28px rgba(45,212,191,0.35),inset 0 1px 0 rgba(255,255,255,0.25);text-shadow:0 1px 2px rgba(0,0,0,0.18);text-decoration:none;display:inline-block;transition:transform 0.2s,box-shadow 0.2s;border:0;cursor:pointer}
.btn-hero:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(45,212,191,0.45),inset 0 1px 0 rgba(255,255,255,0.3)}
.btn-hero.btn-hero-secondary{background:rgba(255,255,255,0.1);border:1.5px solid rgba(255,255,255,0.35);box-shadow:0 6px 18px rgba(0,0,0,0.2)}
.btn-hero.btn-hero-secondary:hover{background:rgba(255,255,255,0.18);border-color:rgba(255,255,255,0.5)}

/* Buttons */
.btn-primary{background:linear-gradient(135deg,#2dd4bf,#818cf8);color:#fff;padding:0.8rem 1.8rem;border-radius:30px;font-weight:800;font-size:14px;text-decoration:none;display:inline-block;transition:transform 0.2s,box-shadow 0.2s;text-shadow:0 1px 2px rgba(0,0,0,0.18);box-shadow:0 6px 18px rgba(45,212,191,0.3);border:0;cursor:pointer}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(45,212,191,0.4)}
.btn-secondary{background:rgba(255,255,255,0.14);color:#fff;padding:0.8rem 1.8rem;border-radius:30px;font-weight:800;font-size:14px;text-decoration:none;border:1.5px solid rgba(255,255,255,0.3);display:inline-block;transition:background 0.2s,border-color 0.2s;cursor:pointer}
.btn-secondary:hover{background:rgba(255,255,255,0.22);border-color:rgba(45,212,191,0.5)}

/* Section / divider */
.divider{height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.1),transparent);margin:0 2rem}
.section{padding:4rem 2rem;max-width:1100px;margin:0 auto}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:0.1em;text-transform:uppercase;color:#2dd4bf;margin-bottom:0.4rem}
.sec-title{font-family:'Lora',serif;font-size:clamp(1.5rem,3.5vw,2.1rem);font-weight:700;margin-bottom:0.6rem;color:white}
.sec-sub{color:rgba(255,255,255,0.55);font-size:14px;font-weight:600;margin-bottom:2.5rem;max-width:560px;line-height:1.75}

/* Playlists */
.playlists-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:1rem}
.pcard{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:14px;overflow:hidden;transition:transform 0.2s,border-color 0.2s;text-decoration:none;color:inherit;display:block}
.pcard:hover{transform:translateY(-4px);border-color:rgba(45,212,191,0.4)}
.pthumb{height:100px;display:flex;align-items:center;justify-content:center}
.plogo{width:64px;height:64px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 4px 12px rgba(0,0,0,0.3))}
.plogo img{width:100%;height:100%;object-fit:contain;display:block}
.pt1{background:linear-gradient(135deg,#0d4f4f,#1a7a7a)}
.pt2{background:linear-gradient(135deg,#1e3a8a,#4c1d95)}
.pt3{background:linear-gradient(135deg,#5b21b6,#db2777)}
.pt4{background:linear-gradient(135deg,#78350f,#b45309)}
.pt5{background:linear-gradient(135deg,#064e3b,#1e40af)}
.pt6{background:linear-gradient(135deg,#831843,#6d28d9)}
.pt7{background:linear-gradient(135deg,#1e3a5f,#065f46)}
.pt8{background:linear-gradient(135deg,#312e81,#0f766e)}
.pt9{background:linear-gradient(135deg,#7c2d12,#be185d)}
.pt10{background:linear-gradient(135deg,#0f766e,#854d0e)}
.pinfo{padding:0.75rem}
.pname{font-weight:800;font-size:12px;margin-bottom:0.2rem;color:white;line-height:1.35}
.pdesc{font-size:11px;color:rgba(255,255,255,0.45);font-weight:600}
.browse-all{text-align:center;margin-top:1.75rem}

/* Mission + Rich 2-col */
.mission-rich{margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;max-width:1100px;padding:0 2rem}
.mr-card{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.12);border-radius:20px;padding:3rem 2.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:1rem}
.mr-rules-numbers{display:flex;flex-wrap:wrap;justify-content:center;gap:0.5rem;margin-bottom:0.4rem}
.mr-rules-numbers span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:rgba(45,212,191,0.12);border:1.5px solid rgba(45,212,191,0.4);color:#2dd4bf;font-size:11px;font-weight:900}
.mr-card .eyebrow{margin-bottom:0}
.mr-card h2{font-family:'Lora',serif;font-size:clamp(1.5rem,3vw,1.9rem);color:white;margin-bottom:0.3rem}
.mr-card p{color:rgba(255,255,255,0.65);font-size:14px;font-weight:600;line-height:1.85;max-width:380px;margin-bottom:0.8rem}
.mr-rules{background:linear-gradient(135deg,rgba(45,212,191,0.08),rgba(129,140,248,0.08));border-color:rgba(45,212,191,0.22)}
.mr-rich-logo{width:140px;height:140px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 6px 16px rgba(0,0,0,0.3))}
.mr-rich-logo img{width:100%;height:100%;object-fit:contain;display:block}
.mr-rich-name{font-family:'Lora',serif;font-size:1.6rem;color:white;font-weight:700;margin-top:0.2rem}
.mr-rich-roles{display:flex;flex-wrap:wrap;justify-content:center;gap:0.4rem 1rem;color:#2dd4bf;font-size:11px;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;max-width:340px;margin:0.4rem 0 0.6rem}
.mr-rich-roles span{display:inline-block}

/* Rules full block */
.rules-box{margin:0 2rem;border:1px solid rgba(255,255,255,0.1);border-radius:20px;overflow:hidden;background:rgba(0,0,0,0.15)}
.rules-intro{padding:2.5rem 2rem 1.5rem;border-bottom:1px solid rgba(255,255,255,0.08)}
.rules-list{padding:1.5rem 2rem 2.5rem}
.rule-item{display:flex;gap:1.25rem;align-items:baseline;padding:0.95rem 0;border-bottom:1px solid rgba(255,255,255,0.06)}
.rule-item:last-child{border-bottom:none}
.rule-num{font-size:11px;font-weight:800;color:rgba(255,255,255,0.2);letter-spacing:0.08em;min-width:24px;flex-shrink:0}
.rule-title{font-size:11px;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;margin-bottom:0.3rem}
.rule-line{font-family:'Lora',serif;font-size:16px;color:rgba(255,255,255,0.92);line-height:1.5;font-style:italic}
.rule-kicker{font-size:11px;font-weight:800;margin-top:0.35rem;opacity:0.85}

/* Testimonials */
.testimonials{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}
.tcard{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:14px;padding:1.25rem;display:flex;flex-direction:column;gap:0.75rem}
.ttext{font-size:13px;color:rgba(255,255,255,0.75);line-height:1.8;font-style:italic;font-family:'Lora',serif}
.tauthor{font-size:11px;color:#2dd4bf;font-weight:800}

/* Shop + Educators parallel callouts */
.callout-pair{margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;max-width:1100px;padding:0 2rem}
.cp-card{border-radius:20px;padding:3rem 2.5rem;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;min-height:340px}
.cp-icon{width:64px;height:64px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 4px 12px rgba(0,0,0,0.3))}
.cp-icon img{width:100%;height:100%;object-fit:contain;display:block}
.cp-card .eyebrow{margin-bottom:0}
.cp-card h2{font-family:'Lora',serif;font-size:clamp(1.5rem,2.8vw,1.8rem);color:white;margin-bottom:0.3rem}
.cp-card p{color:rgba(255,255,255,0.65);font-size:14px;font-weight:600;max-width:420px;line-height:1.8;margin-bottom:0.5rem}
.cp-card p em{color:#2dd4bf;font-style:normal;font-weight:800}
.cp-shop{background:linear-gradient(135deg,rgba(45,212,191,0.1),rgba(129,140,248,0.1));border:1px solid rgba(45,212,191,0.22)}
.cp-edu{background:linear-gradient(135deg,rgba(129,140,248,0.12),rgba(45,212,191,0.08));border:1px solid rgba(129,140,248,0.28)}

/* Coming soon badge */
.coming-soon-badge{display:inline-block;padding:0.6rem 1.4rem;border-radius:999px;background:rgba(45,212,191,0.12);border:1.5px dashed rgba(45,212,191,0.5);color:#2dd4bf;font-size:12px;font-weight:800;letter-spacing:0.1em;text-transform:uppercase;margin-top:0.5rem}

/* Page header */
.page-header{padding:5rem 2rem 3rem;text-align:center;max-width:780px;margin:0 auto}
.page-header h1{font-family:'Lora',serif;font-size:clamp(2rem,4.5vw,2.8rem);color:white;margin-bottom:0.85rem;line-height:1.2}
.page-header p{color:rgba(255,255,255,0.7);font-size:15px;line-height:1.85;font-weight:600}
.page-header .header-note{background:rgba(45,212,191,0.08);border:1px solid rgba(45,212,191,0.22);border-radius:12px;padding:0.85rem 1.25rem;font-size:14px;line-height:1.7;color:rgba(255,255,255,0.82);margin-top:1.25rem;font-weight:600;text-align:left}
.page-header .header-note strong{color:#2dd4bf;font-weight:800}
.page-header .header-note a{color:#2dd4bf;font-weight:800}

/* About Rich */
.rich-bio{padding:1rem 2rem 3rem;max-width:780px;margin:0 auto}
.rich-bio-inner{display:flex;flex-direction:column;align-items:center;gap:1.25rem}
.rich-bio-avatar{width:180px;height:180px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 10px 24px rgba(0,0,0,0.35));overflow:hidden;border-radius:50%}
.rich-bio-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.rich-bio-roles{display:flex;flex-wrap:wrap;justify-content:center;gap:0.5rem 1.2rem;color:#2dd4bf;font-size:11px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;max-width:520px}
.rich-story{max-width:760px;margin:0 auto;padding:1.5rem 2rem}
.rich-story h2{font-family:'Lora',serif;font-size:1.7rem;color:white;margin-bottom:1rem}
.rich-story p{color:rgba(255,255,255,0.72);font-size:15px;line-height:1.9;font-weight:600;margin-bottom:1rem}
.rich-story p strong{color:rgba(255,255,255,0.95);font-weight:800}
.rich-links{max-width:900px;margin:2rem auto;padding:2rem 2rem 1rem}
.rich-links h2{font-family:'Lora',serif;font-size:1.5rem;color:white;text-align:center;margin-bottom:1.5rem}
.rich-links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.rich-link-card{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.12);border-radius:16px;padding:1.5rem 1.25rem;text-align:center;text-decoration:none;color:inherit;display:flex;flex-direction:column;align-items:center;gap:0.5rem;transition:transform 0.2s,border-color 0.2s}
.rich-link-card:hover{transform:translateY(-3px);border-color:rgba(45,212,191,0.45)}
.rich-link-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#2dd4bf}
.rich-link-icon svg{width:24px;height:24px;fill:currentColor}
.rich-link-name{font-weight:800;font-size:14px;color:white}
.rich-link-handle{font-size:12px;color:rgba(255,255,255,0.5);font-weight:700}
.rich-links-note{text-align:center;color:rgba(255,255,255,0.4);font-size:12px;font-weight:600;font-style:italic;margin-top:1.25rem}

/* Forms */
.form-wrap{max-width:680px;margin:0 auto 4rem;padding:0 2rem}
.form-card{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.1);border-radius:20px;padding:2.5rem}
.form-row{display:flex;flex-direction:column;gap:0.4rem;margin-bottom:1.25rem}
.form-row.split{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:0}
.form-row.split>div{display:flex;flex-direction:column;gap:0.4rem;margin-bottom:1.25rem}
.form-row label{font-size:11px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:#2dd4bf}
.form-row input,.form-row textarea,.form-row select{background:rgba(0,0,0,0.25);border:1px solid rgba(255,255,255,0.15);border-radius:10px;padding:0.85rem 1rem;color:white;font-family:inherit;font-size:14px;font-weight:600;transition:border-color 0.2s,background 0.2s}
.form-row input:focus,.form-row textarea:focus,.form-row select:focus{outline:none;border-color:#2dd4bf;background:rgba(0,0,0,0.35)}
.form-row textarea{min-height:140px;resize:vertical;line-height:1.6}
.form-row select{cursor:pointer}
.form-row select option{background:#0a2626;color:white}
.form-help{font-size:12px;color:rgba(255,255,255,0.45);font-weight:600;margin-top:-0.6rem;margin-bottom:1rem;font-style:italic}
.form-disclaimer{font-size:12px;color:rgba(255,255,255,0.5);font-weight:600;text-align:center;margin-top:1rem}
.form-submit{display:flex;justify-content:center;margin-top:1rem}
.form-success{background:rgba(45,212,191,0.12);border:1px solid rgba(45,212,191,0.4);border-radius:14px;padding:1.5rem;text-align:center;color:white;font-weight:700;display:none}
.form-success.show{display:block}

/* Footer */
footer.site-footer{padding:2.5rem 2rem;border-top:1px solid rgba(255,255,255,0.08);margin-top:4rem;background:#0a2626}
.footer-inner{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:1.25rem}
.footer-logo-row{display:flex;align-items:center;gap:8px}
.footer-logo-sm{width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.footer-logo-sm img{width:100%;height:100%;object-fit:contain;display:block}
.footer-brand{font-weight:900;font-size:13px;color:rgba(255,255,255,0.6)}
.footer-socials{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap;justify-content:center}
.fsoc{display:flex;flex-direction:column;align-items:center;gap:0.35rem;text-decoration:none;transition:transform 0.2s}
.fsoc:hover{transform:translateY(-2px)}
.fsoc-ring{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;transition:border-color 0.2s;flex-shrink:0}
.fsoc:hover .fsoc-ring{border-color:rgba(45,212,191,0.5)}
.fsoc-ring svg{width:16px;height:16px;fill:rgba(255,255,255,0.5)}
.fsoc:hover .fsoc-ring svg{fill:#2dd4bf}
.fsoc-label{font-size:9px;font-weight:800;color:rgba(255,255,255,0.25);letter-spacing:0.05em;text-transform:uppercase}
.footer-links{display:flex;gap:1.5rem;flex-wrap:wrap;justify-content:center}
.footer-links a{font-size:12px;color:rgba(255,255,255,0.32);text-decoration:none;font-weight:700;transition:color 0.2s}
.footer-links a:hover{color:rgba(255,255,255,0.85)}
.footer-copy{font-size:11px;color:rgba(255,255,255,0.22);font-weight:600}

/* Mobile */
@media (max-width:760px){
  .hero-inner{grid-template-columns:1fr;text-align:center;padding:3rem 1.25rem}
  .hero-logo{margin:0 auto;width:180px;height:180px}
  .hero-ctas{justify-content:center}
  .mission-rich{grid-template-columns:1fr;margin:0 1rem;padding:0}
  .callout-pair{grid-template-columns:1fr;margin:0 1rem;padding:0}
  .form-row.split{grid-template-columns:1fr}
  nav.site-nav{padding:0.7rem 1rem}
  .nav-links{gap:0.7rem;font-size:11px}
  .social-bar{padding:0.4rem 1rem}
  .section{padding:3rem 1rem}
  .rules-box{margin:0 1rem}
  .form-wrap{padding:0 1rem}
  .form-card{padding:1.5rem}
}

/* Why Book League section (landing page) */
.why-section{max-width:760px;margin:0 auto;padding:3.5rem 2rem;text-align:center}
.why-section .eyebrow{margin-bottom:0.4rem}
.why-section h2{font-family:'Lora',serif;font-size:clamp(1.8rem,3.5vw,2.4rem);color:white;margin-bottom:1.5rem;line-height:1.2}
.why-section p{color:rgba(255,255,255,0.72);font-size:15px;line-height:1.9;font-weight:600;margin-bottom:1rem;text-align:left}
.why-section p strong{color:white;font-weight:800}

/* About Rich photo gallery */
.rich-gallery{max-width:1100px;margin:1rem auto 2rem;padding:0 2rem}
.rich-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem}
.rich-gallery-item{margin:0;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,0.1);background:rgba(255,255,255,0.04);display:flex;flex-direction:column}
.rich-gallery-item img{width:100%;height:340px;object-fit:cover;display:block}
.rich-gallery-item figcaption{padding:0.85rem 1rem;font-size:13px;font-weight:700;color:rgba(255,255,255,0.65);text-align:center}
.rich-gallery-item figcaption em{color:#2dd4bf;font-style:italic}

@media (max-width:760px){
  .why-section{padding:2.5rem 1rem}
  .rich-gallery{padding:0 1rem}
  .rich-gallery-item img{height:260px}
}
