/* =====================================================================
   About page — editorial reskin (pairs with editorial-theme.css)
   Keeps all content/markup; restyles to the "Ledger & Proof" system.
   ===================================================================== */

/* retire the purple particle canvas; the paper graph-grid is the backdrop */
#background-canvas{display:none !important}

/* section frame (About sections aren't .section, so frame them here) */
.about-hero-new,.two-things-section,.why-different,.popular-courses-section,
.story-section,.testimonials-section,.faq-section,.cta-section,.philosophy-section{
  width:100%;max-width:var(--container);margin-inline:auto;
  padding:clamp(3rem,6vw,5rem) 1.5rem;position:relative;
}

/* shared section header */
.section-header{text-align:center;margin-bottom:2.6rem}
.section-header h2{font-size:clamp(1.9rem,3.6vw,2.8rem);max-width:22ch;margin:0 auto;letter-spacing:-.02em}
.section-header h2::after{content:"";display:block;width:48px;height:3px;border-radius:3px;background:var(--amber);margin:1.1rem auto 0}
.section-header p{color:var(--muted);max-width:660px;margin:1rem auto 0;font-size:1.05rem;line-height:1.7}

/* ---------- HERO ---------- */
.about-hero-new{text-align:center;padding-top:clamp(3rem,7vw,5.5rem)}
.about-hero-new .hero-inner{max-width:880px;margin:0 auto;position:relative;z-index:1}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--font-mono);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--amber);font-weight:600;border:1px solid var(--line);background:var(--surface);padding:.45rem .95rem;border-radius:40px;margin-bottom:1.5rem}
.hero-badge svg{width:15px;height:15px}
.about-hero-new h1{font-size:clamp(2.4rem,5.5vw,4rem);line-height:1.05;letter-spacing:-.03em}
.about-hero-new h1 span{color:var(--amber);font-style:italic}
.hero-subtitle{color:var(--muted);font-size:1.15rem;line-height:1.7;max-width:620px;margin:1.4rem auto 0}
.quick-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(1.6rem,6vw,4rem);margin-top:2.8rem}
.fact-item{text-align:center;position:relative}
.fact-number{font-family:var(--font-display);font-weight:600;font-size:clamp(2.2rem,5vw,3.2rem);color:var(--ink);line-height:1}
.fact-label{color:var(--muted);font-size:.78rem;margin-top:.55rem;font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase}

/* ---------- TWO PILLARS ---------- */
.two-pillars{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem}
.pillar-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:clamp(1.6rem,3vw,2.1rem);text-align:center}
.pillar-icon{width:54px;height:54px;border-radius:14px;background:var(--ink);display:flex;align-items:center;justify-content:center;margin:0 auto 1.2rem}
.pillar-icon svg{width:26px;height:26px;stroke:#fff;fill:none}
.pillar-card h3{font-size:1.4rem;margin-bottom:.7rem}
.pillar-card>p{color:var(--muted);line-height:1.7}
.pillar-list{list-style:none;margin-top:1.3rem;display:inline-flex;flex-direction:column;gap:.6rem;text-align:left}
.pillar-list li{position:relative;padding-left:1.6rem;color:var(--ink-soft);font-size:.92rem;line-height:1.5}
.pillar-list li::before{content:"✓";position:absolute;left:0;top:0;color:var(--amber);font-weight:700}

/* ---------- WHY DIFFERENT ---------- */
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.4rem}
.why-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.9rem 1.7rem;text-align:center}
.why-icon{width:48px;height:48px;border-radius:12px;background:var(--amber-tint);color:var(--amber);display:flex;align-items:center;justify-content:center;margin:0 auto 1.1rem}
.why-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2}
.why-card h3{font-size:1.14rem;margin-bottom:.5rem}
.why-card p{color:var(--muted);font-size:.92rem;line-height:1.6}

/* ---------- POPULAR COURSES ---------- */
.courses-showcase{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.6rem}
.course-showcase-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s,border-color .25s}
.course-showcase-card::before{content:"";display:block;height:3px;background:var(--amber);transform:scaleX(0);transform-origin:left;transition:transform .3s}
.course-showcase-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:rgba(180,83,9,.4)}
.course-showcase-card:hover::before{transform:scaleX(1)}
/* the stock course thumbnails are loud kid-brand graphics — drop them for a
   serious, text-forward editorial card (alt text stays in DOM for SEO) */
.course-img-wrapper{position:static;padding:1.5rem 1.5rem 0;text-align:center}
body.editorial .course-img-wrapper img{display:none}
.course-badge-new{position:static;display:inline-flex;align-items:center;background:var(--amber-tint);color:var(--amber);border:1px solid rgba(180,83,9,.25);font-family:var(--font-mono);font-size:.66rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.32rem .75rem;border-radius:30px}
.course-showcase-content{padding:1rem 1.5rem 1.5rem;display:flex;flex-direction:column;flex:1;text-align:center;align-items:center}
.course-showcase-content h3{font-size:1.2rem;margin-bottom:.5rem}
.course-showcase-content p{color:var(--muted);font-size:.9rem;line-height:1.6;flex:1}
.course-meta{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.3rem}
.course-age{font-family:var(--font-mono);font-size:.72rem;color:var(--ink-soft);background:var(--amber-tint);border-radius:6px;padding:.28rem .6rem}
.course-link{color:var(--amber);font-weight:600;text-decoration:none;font-size:.88rem;white-space:nowrap}
.course-link:hover{color:var(--amber-deep)}

/* ---------- OUR STORY ---------- */
.story-section{max-width:860px}
.story-content h2{text-align:center;font-size:clamp(1.9rem,3.6vw,2.8rem)}
.story-content h2::after{content:"";display:block;width:48px;height:3px;border-radius:3px;background:var(--amber);margin:1.1rem auto 2.2rem}
.story-text p{color:var(--ink-soft);line-height:1.85;margin-bottom:1.2rem;font-size:1.05rem}
.story-highlight{border-left:3px solid var(--amber);background:var(--surface);border-radius:0 12px 12px 0;padding:1.5rem 1.7rem;margin:1.9rem 0}
.story-highlight p{font-family:var(--font-display);font-style:italic;font-size:1.22rem;line-height:1.6;color:var(--ink);margin:0}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1.5rem;align-items:start}
.testimonial-card-new{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.8rem 1.7rem;overflow:hidden;display:flex;flex-direction:column;text-align:center}
.testimonial-quote{position:absolute;top:.1rem;right:1.2rem;font-family:var(--font-display);font-size:4.5rem;line-height:1;color:var(--amber-tint-2)}
.t-stars{color:var(--amber);font-size:.95rem;letter-spacing:2px;line-height:1;margin-bottom:.85rem}
.testimonial-text{color:var(--ink-soft);line-height:1.7;font-size:.95rem;position:relative;z-index:1;display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical;overflow:hidden}
.testimonial-author{display:flex;align-items:center;justify-content:center;gap:.9rem;margin-top:1.4rem}
.author-avatar-new{width:46px;height:46px;border-radius:50%;background:var(--ink);color:var(--paper);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:600;font-size:1.1rem;flex-shrink:0;overflow:hidden}
.author-avatar-new img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.author-details h4{font-size:.98rem}
.author-details span{color:var(--muted);font-size:.82rem}
/* Google reviews CTA */
.reviews-google{text-align:center;margin-top:2.4rem}
.reviews-google-trust{font-family:var(--font-mono);font-size:.92rem;color:var(--muted);margin-bottom:1.1rem}
.reviews-google-trust strong{color:var(--ink);font-weight:700}
.reviews-google-trust .t-stars{display:inline;margin:0;font-size:1rem}
.reviews-google-btn{display:inline-flex;align-items:center;gap:.55rem;background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:.85rem 1.6rem;border-radius:11px;font-weight:600;text-decoration:none;transition:border-color .2s,background .2s,transform .2s;box-shadow:var(--shadow-sm)}
.reviews-google-btn:hover{border-color:var(--amber);background:var(--amber-tint);transform:translateY(-2px)}
.reviews-google-btn svg{width:18px;height:18px;flex-shrink:0}

/* ---------- FAQ (accordion) ---------- */
.faq-section{max-width:820px}
.faq-inner{width:100%}
.faq-list{display:flex;flex-direction:column;gap:.8rem;margin-top:.5rem}
.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:border-color .2s}
/* open state is keyed on .open only — the page's scroll-reveal also adds
   .active to every .faq-item, so we must NOT use .active here */
.faq-item.open{border-color:rgba(180,83,9,.4)}
.faq-question{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:none;border:none;cursor:pointer;text-align:left;padding:1.2rem 1.4rem;font-family:var(--font-display);font-weight:600;font-size:1.05rem;color:var(--ink)}
.faq-question svg{width:20px;height:20px;flex-shrink:0;stroke:var(--amber);fill:none;stroke-width:2.5;transition:transform .25s}
.faq-item.open .faq-question svg{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-item.open .faq-answer{max-height:480px}
.faq-answer p{padding:0 1.4rem 1.3rem;color:var(--muted);line-height:1.7;font-size:.95rem;margin:0}

/* ---------- PHILOSOPHY ---------- */
.philosophy-section{max-width:840px;text-align:center;padding-top:clamp(2rem,4vw,3rem)}
.philosophy-section h2{font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:1.1rem}
.philosophy-section p{color:var(--muted);line-height:1.85;margin-bottom:1rem;max-width:720px;margin-inline:auto;font-size:1.02rem}
.philosophy-section p:last-child{color:var(--ink-soft);font-weight:500}

/* ---------- CTA ---------- */
.cta-content{background:var(--ink);color:var(--paper);border-radius:24px;padding:clamp(2.5rem,6vw,4rem) 1.5rem;text-align:center;position:relative;overflow:hidden}
.cta-content::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 80% at 80% 20%,rgba(180,83,9,.22),transparent 70%);pointer-events:none}
.cta-content h2{color:#fff;font-size:clamp(1.8rem,3.6vw,2.6rem);position:relative}
.cta-content>p{color:rgba(255,255,255,.8);max-width:600px;margin:1rem auto 1.9rem;line-height:1.7;position:relative}
.cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;position:relative}
.cta-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.9rem 1.9rem;border-radius:11px;font-weight:600;text-decoration:none;transition:background .2s,color .2s,transform .2s}
.cta-btn-primary{background:var(--amber);color:#fff;border:1px solid var(--amber)}
.cta-btn-primary:hover{background:var(--amber-deep);transform:translateY(-2px)}
.cta-btn-secondary{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35)}
.cta-btn-secondary:hover{background:#fff;color:var(--ink)}

/* ---------- responsive ---------- */
@media (max-width:760px){
  .two-pillars{grid-template-columns:1fr}
}
