/*
Theme Name: STEM Smart Enliven Memory
Theme URI: https://smartenlivenmemory.com/
Author: STEM - Smart Enliven Memory
Author URI: https://smartenlivenmemory.com/
Description: Child-friendly, subtle, and professional educational WordPress theme for STEM - Smart Enliven Memory (Abacus, Speed Maths, Resources, and Career/Franchise pages) with live social media links (YouTube, Facebook, Instagram, LinkedIn) and JSON-LD SEO/GEO schema.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stem-enliven
*/

.stem-theme-wrap {
  --stem-primary: #134e3a;
  --stem-primary-dark: #0c3628;
  --stem-primary-soft: #eef5ed;
  --stem-leaf: #8cb83e;
  --stem-leaf-soft: #f4f8ee;
  --stem-accent: #e87d24;
  --stem-accent-dark: #cf6815;
  --stem-accent-soft: #fff4e8;
  --stem-gold: #f5be41;
  --stem-ink: #24342d;
  --stem-muted: #56685f;
  --stem-surface: #ffffff;
  --stem-bg-soft: #f9fbf8;
  --stem-border: #e1ebe2;
  --stem-shadow-sm: 0 4px 14px rgba(19, 78, 58, 0.045);
  --stem-shadow-md: 0 10px 28px rgba(19, 78, 58, 0.07);
  --stem-radius-sm: 10px;
  --stem-radius-md: 16px;
  --stem-radius-lg: 22px;
  --stem-radius-pill: 999px;

  color: var(--stem-ink);
  font-family: "Plus Jakarta Sans", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--stem-surface);
  -webkit-font-smoothing: antialiased;
}
.stem-theme-wrap *, .stem-theme-wrap *::before, .stem-theme-wrap *::after { box-sizing: border-box; }
.stem-theme-wrap a { text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.stem-theme-wrap h1, .stem-theme-wrap h2, .stem-theme-wrap h3, .stem-theme-wrap h4 {
  font-family: "Nunito", "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.015em;
}
.stem-container { max-width: 1260px; margin: 0 auto; width: 100%; }
.stem-section { padding: 64px clamp(20px, 4.5vw, 56px); background: var(--stem-surface); }
.stem-band { padding: 64px clamp(20px, 4.5vw, 56px); background: var(--stem-leaf-soft); border-top: 1px solid var(--stem-border); border-bottom: 1px solid var(--stem-border); }
.stem-pt-0 { padding-top: 0; }
.stem-pb-0 { padding-bottom: 0; }

.stem-eyebrow { font-size: 11.5px; letter-spacing: 1.8px; font-weight: 800; color: var(--stem-accent); text-transform: uppercase; margin: 0 0 8px; }
.stem-section-center { text-align: center; max-width: 740px; margin: 0 auto 38px; }
.stem-section-center h2, .stem-card h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.22; color: var(--stem-primary); margin: 4px 0 10px; font-weight: 800; }
.stem-section-center p:not(.stem-eyebrow) { color: var(--stem-muted); margin: 0; font-size: 15.5px; }

/* Header & Social Media */
.stem-site-header { position: relative; z-index: 30; background: var(--stem-surface); }
.stem-topline { background: var(--stem-leaf-soft); border-bottom: 1px solid var(--stem-border); }
.stem-top-inner { max-width: 1320px; margin: 0 auto; padding: 10px clamp(18px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stem-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--stem-primary); font-family: "Nunito", sans-serif; font-size: 24px; font-weight: 900; line-height: 1; }
.stem-brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.stem-brand small { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 9.5px; letter-spacing: 1.4px; color: var(--stem-muted); font-weight: 700; margin-top: 4px; }
.stem-top-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.stem-top-contact { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--stem-muted); }
.stem-top-contact a { color: var(--stem-ink); font-weight: 600; }
.stem-top-contact a:hover { color: var(--stem-accent); }
.stem-dot { opacity: .45; }
.stem-top-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.stem-top-portal { background: var(--stem-primary-soft); color: var(--stem-primary); padding: 6px 14px; border-radius: var(--stem-radius-pill); font-size: 12px; font-weight: 700; border: 1px solid #cfe2cf; }
.stem-top-portal:hover { background: var(--stem-primary); color: #fff; border-color: var(--stem-primary); }
.stem-top-oah { background: var(--stem-accent-soft); color: var(--stem-accent-dark); padding: 6px 14px; border-radius: var(--stem-radius-pill); font-size: 12px; font-weight: 700; border: 1px solid #f4d3b3; }
.stem-top-oah:hover { background: var(--stem-accent); color: #fff; border-color: var(--stem-accent); }

.stem-social-row { display: inline-flex; align-items: center; gap: 7px; }
.stem-social-btn { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #ffffff; color: var(--stem-primary); border: 1px solid var(--stem-border); box-shadow: 0 2px 6px rgba(19, 78, 58, 0.05); }
.stem-social-btn svg { width: 14px; height: 14px; }
.stem-social-btn:hover { transform: translateY(-2px); color: #fff; }
.stem-soc-yt:hover { background: #dc2626; border-color: #dc2626; }
.stem-soc-fb:hover { background: #1877f2; border-color: #1877f2; }
.stem-soc-ig:hover { background: #d62976; border-color: #d62976; }
.stem-soc-li:hover { background: #0a66c2; border-color: #0a66c2; }

.stem-mainnav { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 12px clamp(18px, 4vw, 48px); background: var(--stem-surface); border-bottom: 1px solid var(--stem-border); flex-wrap: wrap; }
.stem-mainnav a { font-size: 13.5px; color: var(--stem-ink); font-weight: 600; padding: 4px 2px; border-bottom: 2px solid transparent; }
.stem-mainnav a:hover, .stem-mainnav a.is-active { color: var(--stem-primary); border-bottom-color: var(--stem-leaf); }
.stem-mainnav a.stem-nav-cta { background: var(--stem-primary); color: #fff; padding: 8px 18px; border-radius: var(--stem-radius-pill); font-size: 13px; font-weight: 700; border-bottom: 0; }
.stem-mainnav a.stem-nav-cta:hover { background: var(--stem-primary-dark); color: #fff; transform: translateY(-1px); }

/* Buttons */
.stem-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; border-radius: var(--stem-radius-pill); font-size: 14px; font-weight: 700; cursor: pointer; border: 2px solid transparent; font-family: inherit; }
.stem-btn-sm { padding: 9px 18px; font-size: 13px; }
.stem-btn-primary { background: var(--stem-primary) !important; color: #fff !important; border-color: var(--stem-primary) !important; box-shadow: 0 6px 16px rgba(19, 78, 58, 0.16); }
.stem-btn-primary:hover { background: var(--stem-primary-dark) !important; border-color: var(--stem-primary-dark) !important; transform: translateY(-1px); }
.stem-btn-accent { background: var(--stem-accent) !important; color: #fff !important; border-color: var(--stem-accent) !important; box-shadow: 0 6px 16px rgba(232, 125, 36, 0.2); }
.stem-btn-accent:hover { background: var(--stem-accent-dark) !important; border-color: var(--stem-accent-dark) !important; transform: translateY(-1px); }
.stem-btn-soft { background: #fff !important; color: var(--stem-primary) !important; border-color: #c8dbc9 !important; }
.stem-btn-soft:hover { background: var(--stem-primary-soft) !important; border-color: var(--stem-primary) !important; }
.stem-btn-outline { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,0.85) !important; }
.stem-btn-outline:hover { background: #fff !important; color: var(--stem-primary) !important; }
.stem-btn-light-warm { background: var(--stem-gold) !important; color: var(--stem-primary-dark) !important; border-color: var(--stem-gold) !important; }
.stem-btn-tour { background: linear-gradient(135deg, #f1f8e9, #fff6e5); color: var(--stem-primary); border: 2px solid #c3db96; box-shadow: var(--stem-shadow-sm); }
.stem-btn-tour:hover { background: #e6f2d4; border-color: var(--stem-leaf); transform: translateY(-1px); }
.stem-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.stem-text-link { display: inline-block; color: var(--stem-primary); font-size: 13.5px; font-weight: 700; margin-top: 12px; }
.stem-text-link:hover { color: var(--stem-accent); }
.stem-center-cta { text-align: center; margin-top: 30px; }

/* Badges */
.stem-badge { display: inline-block; align-self: flex-start; background: var(--stem-primary-soft); color: var(--stem-primary); font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 5px 12px; border-radius: var(--stem-radius-pill); margin-bottom: 12px; }
.stem-badge-orange { background: var(--stem-accent-soft); color: var(--stem-accent-dark); }

/* Home Hero */
.stem-hero { width: 100%; min-height: clamp(470px, 35vw, 600px); position: relative; display: flex; align-items: center; background-color: #fbf7ef; background-position: center center; background-size: cover; background-repeat: no-repeat; }
.stem-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 247, 239, 0.94) 0%, rgba(251, 247, 239, 0.82) 48%, rgba(251, 247, 239, 0.15) 100%); }
.stem-hero-content { position: relative; z-index: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 52px clamp(20px, 4.5vw, 56px); }
.stem-hero-left { width: min(580px, 100%); text-align: left; }
.stem-hero-kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 2px; font-weight: 800; color: var(--stem-primary); margin: 0 0 10px; }
.stem-hero-kicker::after { content: ""; flex: 1; max-width: 120px; height: 2px; background: var(--stem-leaf); border-radius: 2px; }
.stem-hero h1 { margin: 0; line-height: 1.08; font-weight: 900; }
.stem-hero-dark { display: block; font-size: clamp(30px, 3.4vw, 46px); color: var(--stem-primary); }
.stem-hero-orange { display: block; font-size: clamp(42px, 4.8vw, 62px); color: var(--stem-accent); }
.stem-hero-swoosh { width: min(290px, 80%); height: 15px; display: block; margin: 6px 0 16px; }
.stem-hero-sub { margin: 0 0 18px; padding-left: 14px; border-left: 3px solid var(--stem-accent); font-size: clamp(14.5px, 1.2vw, 16.5px); font-weight: 500; color: var(--stem-ink); max-width: 500px; }
.stem-hero-ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0 0 24px; max-width: 460px; font-size: 13.5px; font-weight: 700; color: var(--stem-primary); }
.stem-hero-buttons { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Subpage Hero */
.stem-page-hero { background: linear-gradient(125deg, #134e3a 0%, #1d644b 65%, #2a7c5e 100%); color: #fff; padding: 62px clamp(20px, 4.5vw, 56px); }
.stem-page-hero-warm { background: linear-gradient(125deg, #134e3a 0%, #1d644b 58%, #b85d19 100%); }
.stem-page-hero h1 { font-size: clamp(30px, 4vw, 48px); color: #fff; margin: 6px 0 14px; font-weight: 900; line-height: 1.12; }
.stem-page-lead { font-size: 17px; color: #eff7f2; max-width: 820px; margin: 0 0 12px; font-weight: 500; }
.stem-page-sublead { font-size: 15px; color: #d5e8dd; max-width: 820px; margin: 0 0 26px; }
.stem-hero-points { padding-left: 20px; margin: 0 0 26px; max-width: 840px; display: grid; gap: 9px; color: #ebf5ef; font-size: 15px; }

/* Impact Strip */
.stem-impact-strip { background: var(--stem-primary); color: #fff; padding: 22px clamp(20px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; text-align: center; }
.stem-impact-item strong { display: block; font-family: "Nunito", sans-serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; color: var(--stem-gold); line-height: 1.15; }
.stem-impact-item span { font-size: 12.5px; color: #e5f1ea; font-weight: 600; }

/* Grids & Cards */
.stem-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.stem-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stem-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stem-card { background: var(--stem-surface); border: 1px solid var(--stem-border); border-radius: var(--stem-radius-md); padding: 28px; box-shadow: var(--stem-shadow-sm); display: flex; flex-direction: column; }
.stem-card-top-green { border-top: 4px solid var(--stem-primary); }
.stem-card-top-orange { border-top: 4px solid var(--stem-accent); }
.stem-card-featured { border: 2px solid #f0b27a; box-shadow: 0 10px 26px rgba(232, 125, 36, 0.09); }
.stem-card h3 { margin: 0 0 10px; font-size: 21px; color: var(--stem-primary); font-weight: 800; }
.stem-card p:not(.stem-eyebrow) { margin: 0 0 14px; color: var(--stem-muted); font-size: 14.5px; }
.stem-card-actions { margin-top: auto; padding-top: 8px; }
.stem-mini-card { background: var(--stem-surface); border: 1px solid var(--stem-border); border-radius: var(--stem-radius-md); padding: 22px; box-shadow: var(--stem-shadow-sm); display: flex; flex-direction: column; }
.stem-mini-card h4 { margin: 0 0 8px; color: var(--stem-primary); font-size: 17px; font-weight: 800; }
.stem-mini-card p { margin: 0; font-size: 13.8px; color: var(--stem-muted); flex: 1; }
.stem-check-list { padding-left: 18px; margin: 0 0 20px; display: grid; gap: 8px; font-size: 14px; color: var(--stem-ink); flex: 1; }

/* Video Section */
.stem-video-section { max-width: 1260px; margin: 0 auto; padding: 64px clamp(20px, 4.5vw, 56px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: center; }
.stem-video-copy h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; color: var(--stem-primary); margin: 4px 0 14px; font-weight: 800; }
.stem-video-copy p:not(.stem-eyebrow) { color: var(--stem-muted); margin-bottom: 22px; }
.stem-video-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.stem-video-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--stem-radius-md); overflow: hidden; background: #102f26; box-shadow: var(--stem-shadow-md); border: 1px solid var(--stem-border); }
.stem-video-frame iframe, .stem-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Progress Meters */
.stem-meter-row { margin-top: 16px; }
.stem-meter-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--stem-primary); margin-bottom: 6px; }
.stem-meter-track { height: 12px; background: #eaf1e6; border-radius: var(--stem-radius-pill); overflow: hidden; }
.stem-meter-fill { height: 100%; background: linear-gradient(90deg, #9bc552, #134e3a); border-radius: var(--stem-radius-pill); }
.stem-fill-orange { background: linear-gradient(90deg, #f5be41, #e87d24); }

/* About & Gallery */
.stem-about-gallery { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; }
.stem-vm-box { background: var(--stem-leaf-soft); border-left: 4px solid var(--stem-leaf); padding: 14px 18px; border-radius: 8px; margin: 14px 0; }
.stem-vm-box p { margin: 0 0 6px; font-size: 13.8px; color: var(--stem-ink) !important; }
.stem-vm-box p:last-child { margin: 0; }
.stem-legacy-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.stem-legacy-pills span { background: var(--stem-primary-soft); color: var(--stem-primary); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--stem-radius-pill); }
.stem-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.stem-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stem-gallery-grid a { height: 150px; overflow: hidden; border-radius: var(--stem-radius-sm); }
.stem-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.stem-gallery-grid a:hover img { transform: scale(1.05); }

/* Lead Box */
.stem-lead-box { background: linear-gradient(120deg, #fff8ed, #f4f9ef); border: 1px solid #ecd6b8; border-radius: var(--stem-radius-lg); padding: 34px clamp(22px, 4vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; box-shadow: var(--stem-shadow-sm); }
.stem-lead-box h2 { margin: 4px 0 8px; color: var(--stem-primary); font-size: clamp(22px, 2.5vw, 30px); }
.stem-lead-box p:not(.stem-eyebrow) { color: var(--stem-muted); margin: 0; }
.stem-resource-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stem-resource-pills span { background: #fff; border: 1px solid #e1e8dc; color: var(--stem-primary); font-size: 12.5px; font-weight: 700; padding: 6px 13px; border-radius: var(--stem-radius-pill); }
.stem-lead-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Why Choose STEM Stat Circles */
.stem-why { padding: 64px clamp(20px, 4.5vw, 56px); text-align: center; background: var(--stem-leaf-soft); border-top: 1px solid var(--stem-border); border-bottom: 1px solid var(--stem-border); }
.stem-why h2 { font-size: clamp(24px, 2.8vw, 34px); color: var(--stem-primary); margin: 4px 0 0; }
.stem-stats { margin: 36px auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; gap: 26px 20px; }
.stem-stat-circle { width: 164px; height: 164px; border-radius: 50%; background: #fff; border: 5px solid var(--stem-leaf); box-shadow: var(--stem-shadow-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px; text-align: center; }
.stem-stat-circle:nth-child(even) { border-color: #f0a860; }
.stem-stat-number { font-family: "Nunito", sans-serif; font-size: 36px; line-height: 1.05; color: var(--stem-primary); font-weight: 900; }
.stem-stat-label { font-size: 12.5px; line-height: 1.25; color: var(--stem-ink); font-weight: 700; margin-top: 6px; }
.stem-stat-sub { font-size: 10px; color: var(--stem-muted); margin-top: 2px; }

/* Reviews & Partners */
.stem-reviews-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.stem-reviews-header h2 { font-size: clamp(24px, 2.8vw, 34px); color: var(--stem-primary); margin: 4px 0 8px; }
.stem-reviews-header p:not(.stem-eyebrow) { color: var(--stem-muted); margin: 0; }
.stem-review-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.stem-reviews-widget { margin-top: 28px; }
.stem-partners { text-align: center; padding: 56px clamp(20px, 4.5vw, 56px); background: var(--stem-bg-soft); border-top: 1px solid var(--stem-border); }
.stem-partners h2 { font-size: clamp(24px, 2.8vw, 34px); color: var(--stem-primary); margin: 4px 0 8px; }
.stem-partners p:not(.stem-eyebrow) { color: var(--stem-muted); margin: 0 0 30px; }
.stem-partners-row { display: grid; align-items: center; justify-items: center; gap: 24px 32px; margin: 0 auto; }
.stem-partners-row-top { grid-template-columns: repeat(2, minmax(160px, 280px)); justify-content: center; margin-bottom: 28px; }
.stem-partners-row-bottom { grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; }
.stem-partner-logo { display: flex; align-items: center; justify-content: center; min-height: 88px; padding: 8px; }
.stem-partner-logo img { max-width: 170px; max-height: 88px; width: auto; height: auto; object-fit: contain; }

/* CTA Banner */
.stem-cta-banner { background: var(--stem-primary); color: #fff; padding: 48px clamp(20px, 4.5vw, 56px); }
.stem-cta-flex { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.stem-cta-banner h2 { color: #fff; margin: 4px 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.stem-cta-banner p:not(.stem-eyebrow) { color: #deece4; max-width: 620px; margin: 0; }
.stem-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Courses & Career Specifics */
.sk-hub-nav { background: var(--stem-leaf-soft); border-bottom: 1px solid var(--stem-border); padding: 14px clamp(18px, 4vw, 48px); display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: sticky; top: 0; z-index: 20; }
.sk-hub-pill { background: #fff; color: var(--stem-primary); border: 1px solid #cddfcc; padding: 8px 18px; border-radius: var(--stem-radius-pill); font-size: 13.5px; font-weight: 700; }
.sk-hub-pill:hover, .sk-hub-active { background: var(--stem-primary); color: #fff; border-color: var(--stem-primary); }
.sk-speed-divider { border-top: 4px solid var(--stem-leaf); }
.sk-benefit-pill { background: var(--stem-bg-soft); border: 1px solid var(--stem-border); border-radius: var(--stem-radius-sm); padding: 15px 18px; font-weight: 600; color: var(--stem-primary); font-size: 14.5px; }
.sk-benefit-wide { grid-column: 1 / -1; text-align: center; background: var(--stem-primary-soft); border-color: #c5dcc6; }
.sk-stream-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.sk-stream-pills span { background: var(--stem-primary); color: #fff; padding: 9px 18px; border-radius: var(--stem-radius-pill); font-weight: 700; font-size: 13.5px; }
.sk-tier-list { display: grid; gap: 10px; margin-top: 12px; }
.sk-tier { display: flex; justify-content: space-between; align-items: center; background: var(--stem-bg-soft); border: 1px solid var(--stem-border); border-radius: var(--stem-radius-sm); padding: 11px 16px; font-size: 14px; }
.sk-tier strong { color: var(--stem-primary); }
.sk-tier span { font-weight: 800; color: var(--stem-accent); }
.sk-tier-gold { background: var(--stem-accent-soft); border-color: #f3d2b0; }
.sk-plan-price { font-family: "Nunito", sans-serif; font-size: 28px; font-weight: 900; color: var(--stem-accent); margin-bottom: 14px; }
.sk-plan-price small { font-size: 13px; color: var(--stem-muted); font-weight: 600; }
.sk-lvl-card { background: #fff; border: 1px solid var(--stem-border); border-radius: var(--stem-radius-md); padding: 20px 22px; box-shadow: var(--stem-shadow-sm); }
.sk-lvl-card h4 { margin: 0 0 8px; color: var(--stem-primary); font-size: 17px; font-weight: 800; border-bottom: 1px solid var(--stem-border); padding-bottom: 6px; }
.sk-lvl-card p { margin: 0 0 6px; font-size: 13.8px; color: var(--stem-ink); }
.sk-lvl-card p:last-child { margin: 0; }
.sk-outcome-box { background: var(--stem-leaf-soft); border: 1px solid #cce0b4; border-radius: var(--stem-radius-lg); padding: 34px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.sk-outcome-copy h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--stem-primary); margin: 4px 0 12px; }
.sk-outcome-copy blockquote { margin: 0; padding: 12px 16px; background: #fff; border-left: 4px solid var(--stem-accent); font-style: italic; color: var(--stem-muted); font-size: 14px; border-radius: 8px; }
.sk-outcome-cta { background: #fff; border: 1px solid var(--stem-border); border-radius: var(--stem-radius-md); padding: 24px; display: flex; flex-direction: column; gap: 10px; text-align: center; box-shadow: var(--stem-shadow-sm); }
.sk-outcome-cta h3 { margin: 0; color: var(--stem-primary); font-size: 21px; }
.sk-outcome-cta p { margin: 0 0 6px; font-size: 14px; color: var(--stem-muted); }

/* Career Page Extras */
.sc-trust-strip { background: var(--stem-leaf-soft); border-bottom: 1px solid var(--stem-border); padding: 22px clamp(20px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.sc-trust-item strong { display: block; font-family: "Nunito", sans-serif; font-size: 22px; color: var(--stem-primary); font-weight: 900; }
.sc-trust-item span { font-size: 13px; color: var(--stem-muted); font-weight: 600; }
.sc-intro-card { background: var(--stem-bg-soft); border-left: 4px solid var(--stem-leaf); padding: 24px 28px; border-radius: var(--stem-radius-sm); box-shadow: var(--stem-shadow-sm); }
.sc-intro-card p { margin: 0 0 10px; color: var(--stem-ink); font-size: 15px; }
.sc-intro-card p:last-child { margin: 0; }
.sc-benefits { background: var(--stem-primary); color: #fff; padding: 58px clamp(20px, 4.5vw, 56px); text-align: center; }
.sc-benefits h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin: 4px 0 30px; }
.sc-benefit-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--stem-radius-md); padding: 24px; }
.sc-benefit-card h3 { color: var(--stem-gold); margin: 0 0 8px; font-size: 20px; }
.sc-benefit-card p { color: #e6f1ea; margin: 0; font-size: 14.5px; }
.sc-faq-list { max-width: 920px; margin: 0 auto; display: grid; gap: 12px; }
.sc-faq-list details { background: var(--stem-bg-soft); border: 1px solid var(--stem-border); border-radius: var(--stem-radius-sm); padding: 16px 22px; }
.sc-faq-list summary { font-size: 15.5px; font-weight: 700; color: var(--stem-primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.sc-faq-list summary::after { content: "+"; font-size: 20px; color: var(--stem-accent); }
.sc-faq-list details[open] summary::after { content: "\2212"; }
.sc-faq-body { margin-top: 12px; font-size: 14.2px; color: var(--stem-ink); border-top: 1px solid var(--stem-border); padding-top: 12px; }
.sc-faq-body ul, .sc-faq-body ol { padding-left: 20px; display: grid; gap: 7px; }
.sc-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.sc-table th, .sc-table td { text-align: left; padding: 10px 14px; border: 1px solid var(--stem-border); font-size: 14px; }
.sc-table th { background: var(--stem-primary-soft); color: var(--stem-primary); }
.sc-instructors-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; }
.sc-instructors-copy h2 { font-size: clamp(24px, 2.8vw, 34px); color: var(--stem-primary); margin: 4px 0 10px; }
.sc-instructors-copy > p { color: var(--stem-muted); margin-bottom: 20px; }
.sc-support-box { background: #fff; border: 1px solid #cce0b4; border-top: 4px solid var(--stem-leaf); border-radius: var(--stem-radius-md); padding: 28px; box-shadow: var(--stem-shadow-md); }
.sc-support-box h3 { margin: 4px 0 8px; color: var(--stem-primary); font-size: 22px; }
.sc-support-actions { display: flex; flex-direction: column; gap: 10px; }

/* Tour Modal */
.stem-tour-modal[hidden] { display: none; }
.stem-tour-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.stem-tour-backdrop { position: absolute; inset: 0; background: rgba(12, 54, 40, 0.72); backdrop-filter: blur(4px); }
.stem-tour-dialog { position: relative; z-index: 1; width: min(960px, 100%); max-height: 90vh; display: flex; flex-direction: column; background: #fff; border-radius: var(--stem-radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.3); border: 2px solid var(--stem-leaf); }
.stem-tour-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; background: linear-gradient(90deg, #f6faf2, #fff8ec); border-bottom: 1px solid var(--stem-border); }
.stem-tour-topbar h2 { margin: 0; font-size: clamp(20px, 2.2vw, 26px); color: var(--stem-primary); }
.stem-tour-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--stem-border); background: #fff; color: var(--stem-primary); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.stem-tour-close:hover { background: var(--stem-accent); border-color: var(--stem-accent); color: #fff; }
.stem-tour-stepper { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 26px; background: #fff; border-bottom: 1px solid var(--stem-border); overflow-x: auto; }
.stem-step-tab { display: flex; align-items: center; gap: 8px; background: var(--stem-leaf-soft); border: 1px solid var(--stem-border); border-radius: var(--stem-radius-pill); padding: 7px 14px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--stem-ink); white-space: nowrap; }
.stem-step-tab.is-active { background: var(--stem-primary); color: #fff; border-color: var(--stem-primary); }
.stem-step-num { width: 22px; height: 22px; border-radius: 50%; background: var(--stem-leaf); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.stem-step-tab.is-active .stem-step-num { background: var(--stem-accent); }
.stem-step-connector { flex: 1; min-width: 14px; height: 2px; background: repeating-linear-gradient(to right, #b6d284 0 5px, transparent 5px 10px); }
.stem-tour-panes { padding: 26px; overflow-y: auto; flex: 1; }
.stem-tour-pane { display: none; }
.stem-tour-pane.is-active { display: block; animation: stemPopIn .3s ease; }
@keyframes stemPopIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.stem-tour-pane-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; }
.stem-tour-pane-body h3 { font-size: clamp(20px, 2vw, 25px); color: var(--stem-primary); margin: 0 0 14px; }
.stem-tour-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.stem-tour-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--stem-ink); background: var(--stem-bg-soft); padding: 10px 14px; border-radius: 12px; border: 1px solid var(--stem-border); }
.stem-tour-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--stem-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stem-tour-icon-orange { background: var(--stem-accent); }
.stem-tour-icon svg { width: 18px; height: 18px; }
.stem-tour-stage { position: relative; border-radius: var(--stem-radius-md); padding: 24px 18px 18px; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; text-align: center; color: #fff; }
.stem-stage-abacus { background: linear-gradient(145deg, #1b6b4c, #7eb038); }
.stem-stage-speed { background: linear-gradient(145deg, #d87122, #eeb238); }
.stem-stage-trophy { background: linear-gradient(145deg, #134e3a, #217a58); }
.stem-anim-svg { width: 100%; max-width: 240px; height: auto; display: block; animation: stemFloat 3.4s ease-in-out infinite; }
.stem-rocket-svg { animation: stemRocket 2.6s ease-in-out infinite; }
.stem-stage-caption { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: #fff; }
.stem-float-chip { position: absolute; background: #fff; color: var(--stem-primary); font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: var(--stem-radius-pill); animation: stemBob 2.8s ease-in-out infinite; }
.stem-chip-1 { top: 14px; left: 14px; }
.stem-chip-2 { top: 14px; right: 14px; animation-delay: 1s; background: #fff4df; color: #b85b00; }
.stem-bead-slide { animation: stemBeadMove 2.4s ease-in-out infinite; }
.stem-bead-slide-alt { animation: stemBeadMove 2.4s ease-in-out infinite reverse; }
.stem-bead-up { animation: stemBeadUp 2s ease-in-out infinite; }
.stem-bead-down { animation: stemBeadUp 2s ease-in-out infinite reverse; }
.stem-flame { transform-origin: 130px 124px; animation: stemFlame .45s ease-in-out infinite alternate; }
.stem-twinkle { animation: stemTwinkle 1.8s ease-in-out infinite alternate; }
@keyframes stemFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes stemRocket { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes stemBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes stemBeadMove { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes stemBeadUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes stemFlame { from { transform: scaleY(.9); } to { transform: scaleY(1.12); } }
@keyframes stemTwinkle { from { opacity: .65; } to { opacity: 1; } }
.stem-tour-cta-box { background: linear-gradient(120deg, #134e3a, #1d644b); color: #fff; border-radius: var(--stem-radius-md); padding: 36px 28px; text-align: center; }
.stem-confetti-row { font-size: 24px; margin-bottom: 8px; }
.stem-tour-cta-box h3 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); margin: 6px 0 10px; }
.stem-tour-cta-box p:not(.stem-eyebrow) { color: #e8f2ec; margin: 0 auto 22px; max-width: 540px; }
.stem-tour-cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.stem-tour-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 26px; background: var(--stem-bg-soft); border-top: 1px solid var(--stem-border); }
.stem-tour-nav-btn { padding: 9px 18px; border-radius: var(--stem-radius-pill); border: 1px solid var(--stem-border); background: #fff; color: var(--stem-primary); font-weight: 700; font-size: 13.5px; cursor: pointer; font-family: inherit; }
.stem-tour-nav-btn:disabled { opacity: .45; cursor: not-allowed; }
.stem-tour-nav-next { background: var(--stem-accent); color: #fff; border-color: var(--stem-accent); }
.stem-tour-progress { font-size: 13px; font-weight: 700; color: var(--stem-primary); }

/* Footer (Matches Header Soft Sage-Cream Palette) */
.stem-site-footer { background: var(--stem-leaf-soft); color: var(--stem-ink); border-top: 1px solid var(--stem-border); padding: 54px clamp(20px, 4.5vw, 56px) 24px; }
.stem-footer-inner { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--stem-border); }
.stem-brand-footer { color: var(--stem-primary); margin-bottom: 12px; }
.stem-brand-footer small { color: var(--stem-muted); }
.stem-footer-brand p { font-size: 13.8px; color: var(--stem-muted); margin: 0 0 16px; max-width: 320px; }
.stem-footer-social-wrap { display: flex; flex-direction: column; gap: 8px; }
.stem-footer-social-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--stem-accent); }
.stem-social-footer .stem-social-btn { background: #ffffff; border-color: var(--stem-border); color: var(--stem-primary); width: 34px; height: 34px; }
.stem-footer-col h4 { color: var(--stem-primary); font-size: 16px; margin: 0 0 14px; font-weight: 800; }
.stem-footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.stem-footer-col a { color: var(--stem-ink); font-size: 13.8px; font-weight: 500; }
.stem-footer-col a:hover { color: var(--stem-accent); }
.stem-footer-addr { font-size: 13.5px; color: var(--stem-muted); margin: 0 0 10px; }
.stem-footer-addr a { color: var(--stem-primary); font-weight: 700; }
.stem-footer-addr a:hover { color: var(--stem-accent); }
.stem-footer-bottom { max-width: 1260px; margin: 20px auto 0; text-align: center; font-size: 12.5px; color: var(--stem-muted); font-weight: 600; }
.stem-footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .stem-grid-4, .stem-footer-inner { grid-template-columns: repeat(2, 1fr); }
  .stem-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .stem-top-inner { flex-direction: column; align-items: flex-start; }
  .stem-top-actions { justify-content: flex-start; }
  .stem-hero { background-position: right center; min-height: 430px; }
  .stem-hero::before { background: rgba(251, 247, 239, 0.9); }
  .stem-impact-strip { grid-template-columns: repeat(2, 1fr); }
  .stem-video-section, .stem-grid-2, .stem-grid-3, .stem-about-gallery, .stem-tour-pane-grid, .sk-outcome-box, .sc-trust-strip, .sc-instructors-inner { grid-template-columns: 1fr; }
  .stem-partners-row-bottom { grid-template-columns: repeat(2, 1fr); }
  .sk-hub-nav { position: static; }
}
@media (max-width: 540px) {
  .stem-hero-ticks, .stem-grid-4, .stem-footer-inner { grid-template-columns: 1fr; }
  .stem-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stem-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .stem-stat-circle { width: min(42vw, 150px); height: auto; aspect-ratio: 1/1; }
  .stem-partners-row-top { grid-template-columns: repeat(2, 1fr); }
}

/* WordPress Native Page & Blog Styles */
body.stem-enliven-body { margin: 0; padding: 0; background: #ffffff; }
.stem-wp-page-content { max-width: 1120px; margin: 0 auto; }
.stem-wp-page-title { font-family: "Nunito", sans-serif; font-size: clamp(28px, 3.2vw, 40px); color: var(--stem-primary); margin: 0 0 18px; font-weight: 900; }
.stem-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stem-post-card { background: var(--stem-surface); border: 1px solid var(--stem-border); border-radius: var(--stem-radius-md); overflow: hidden; box-shadow: var(--stem-shadow-sm); display: flex; flex-direction: column; }
.stem-post-thumb { height: 190px; overflow: hidden; background: var(--stem-leaf-soft); }
.stem-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stem-post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.stem-post-meta { font-size: 12px; color: var(--stem-muted); font-weight: 600; margin-bottom: 6px; }
.stem-post-title { font-size: 19px; margin: 0 0 10px; color: var(--stem-primary); font-weight: 800; }
.stem-post-title a { color: inherit; }
.stem-post-title a:hover { color: var(--stem-accent); }
.stem-post-excerpt { font-size: 14px; color: var(--stem-muted); margin: 0 0 14px; flex: 1; }
@media (max-width: 860px) { .stem-blog-grid { grid-template-columns: 1fr; } }
