/* Ashley B's Learning Academy — Full Design System */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #ffffff; min-height: 100%; overflow-x: hidden; width: 100%; }
body { min-height: 100vh; overflow-x: hidden; width: 100%; position: relative; }
main, header, footer, section, article, nav, aside { display: block; }
main#main-content { width: 100%; max-width: 100%; }
section, article { max-width: 100%; }
/* Restore [hidden] after the display:block above (which would otherwise override it) */
[hidden] { display: none !important; }
img, video, iframe, svg { max-width: 100%; }
:root {
  --pink: #EC4899; --pink-light: #FDF2F8; --pink-glow: #EC489933;
  --teal: #14B8A6; --teal-light: #F0FDFA; --teal-glow: #14B8A633;
  --purple: #8B5CF6; --purple-light: #F5F3FF;
  --orange: #F97316; --orange-light: #FFF7ED;
  --yellow: #FBBF24; --yellow-light: #FFFBEB;
  --dark: #1E293B; --gray: #64748B; --gray-light: #F8FAFC;
  --white: #FFFFFF; --border: #F1F5F9;
}
body { font-family: 'Nunito', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; }

/* ─── Accessibility: Skip to main content ─── */
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--pink); color: white; padding: 12px 24px; border-radius: 0 0 12px 12px; font-weight: 800; font-size: 14px; z-index: 9999; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* ─── Accessibility: Visible focus rings ─── */
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, details summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
/* Remove default outlines only when focus-visible is supported */
:focus:not(:focus-visible) { outline: none; }
.container { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); width: 100%; box-sizing: border-box; }
.chalk-font { font-family: 'Shadows Into Light', cursive; }
.chalk-body { font-family: 'Patrick Hand', cursive; }

/* Animations */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatSlow { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes wiggle { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.float { animation: float 4s ease-in-out infinite; }
.float-slow { animation: floatSlow 6s ease-in-out infinite; }

/* NAV */
.nav { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid #E2E8F0; position: sticky; top: 0; z-index: 100; width: 100%; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 76px; width: 100%; }
.nav-brand { flex: 1 1 auto; min-width: 0; max-width: calc(100% - 60px); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.nav-logo { width: 48px; height: 48px; border-radius: 16px; background: white; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo svg { width: 26px; height: 26px; }
.nav-name { font-weight: 900; font-size: 20px; line-height: 1; }
.nav-label { font-size: 11px; color: var(--pink); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link { font-size: 14px; font-weight: 700; color: var(--gray); padding: 8px 16px; border-radius: 12px; text-decoration: none; transition: all 0.2s; position: relative; }
.nav-link:hover { color: var(--pink); background: var(--pink-light); }
.nav-link.active { color: var(--pink); background: var(--pink-light); font-weight: 800; }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
}

/* Active state for the dropdown sub-item inside the open menu */
.nav-dropdown-item.active { background: var(--pink-light); }
.nav-dropdown-item.active .nav-dropdown-title { color: var(--pink); }
.login-link { color: var(--teal) !important; font-weight: 800 !important; }
.login-link:hover { background: var(--teal-light) !important; }

/* ─── Nav Dropdown ─── */
.nav-dropdown { position: relative; }
.nav-caret { font-size: 10px; margin-left: 2px; opacity: 0.7; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark);
  font-family: inherit;
  transition: background 0.15s;
}
.nav-dropdown-item:hover { background: var(--pink-light); }
.nav-dropdown-icon { font-size: 20px; line-height: 1; padding-top: 2px; flex-shrink: 0; }
.nav-dropdown-title { display: block; font-weight: 800; font-size: 14px; color: var(--dark); }
.nav-dropdown-sub { display: block; font-size: 12px; color: var(--gray); font-weight: 600; margin-top: 2px; }

/* Buttons */
.btn { border: none; border-radius: 14px; font-weight: 800; font-family: inherit; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-pink { background: linear-gradient(135deg, var(--pink), #D946EF); color: white; padding: 12px 28px; font-size: 14px; box-shadow: 0 4px 15px var(--pink-glow); }
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--pink-glow); }
.btn-big { padding: 16px 36px; font-size: 17px; border-radius: 18px; }
.btn-chalk { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); padding: 14px 28px; font-size: 16px; border: 2px solid rgba(255,255,255,0.2); border-radius: 16px; backdrop-filter: blur(4px); text-decoration: none; font-weight: 800; font-family: inherit; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; }
.btn-chalk:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.35); }
.btn-outline { background: transparent; border: 2px solid var(--pink); color: var(--pink); border-radius: 14px; padding: 12px 24px; font-weight: 800; font-size: 14px; transition: all 0.3s; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; font-family: inherit; }
.btn-outline:hover { background: var(--pink); color: white; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 800; font-size: 12px; color: var(--gray); text-transform: uppercase; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #E2E8F0; border-radius: 12px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--dark); transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-glow); }
.form-error { display: block; color: #DC2626; font-size: 12px; font-weight: 700; margin-top: 4px; }
.flash-success { background: var(--teal-light); border: 1px solid #99F6E4; color: #0F766E; padding: 16px; border-radius: 12px; font-weight: 700; margin-bottom: 20px; }

/* HERO (Chalkboard) */
.hero { padding: 0; position: relative; overflow: hidden; background: #1a1a2e; }
.hero-board { position: relative; background: #2d4a3e; background-image: radial-gradient(ellipse at 20% 50%, #345e4a 0%, transparent 70%), radial-gradient(ellipse at 80% 30%, #2a5040 0%, transparent 60%), radial-gradient(ellipse at 50% 80%, #264438 0%, transparent 50%); padding: 70px 24px 80px; overflow: hidden; }
.hero-board::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='1' cy='1' r='0.6'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; z-index: 0; }
.hero-frame-top { position: absolute; top: 0; left: 0; right: 0; height: 18px; background: linear-gradient(180deg, #8B6914, #6B4F12, #8B6914); box-shadow: 0 4px 12px rgba(0,0,0,0.4); z-index: 5; }
.hero-frame-top::after { content: ''; position: absolute; top: 3px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); }
.hero-frame-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 18px; background: linear-gradient(0deg, #8B6914, #6B4F12, #8B6914); box-shadow: 0 -4px 12px rgba(0,0,0,0.4); z-index: 5; }
.hero-frame-left { position: absolute; top: 0; bottom: 0; left: 0; width: 18px; background: linear-gradient(90deg, #8B6914, #6B4F12, #8B6914); z-index: 5; }
.hero-frame-right { position: absolute; top: 0; bottom: 0; right: 0; width: 18px; background: linear-gradient(270deg, #8B6914, #6B4F12, #8B6914); z-index: 5; }
.chalk-tray { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 340px; height: 22px; background: linear-gradient(180deg, #7a5a10, #5c4310, #7a5a10); border-radius: 0 0 6px 6px; z-index: 6; box-shadow: 0 4px 10px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; }
.chalk-stick { width: 36px; height: 8px; border-radius: 4px; opacity: 0.9; }
.chalk-doodle { position: absolute; pointer-events: none; z-index: 1; opacity: 0.08; }
.hero-inner { display: flex; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero-content { flex: 1; }
.hero-visual { flex: 1; position: relative; }
.hero h1 { font-family: 'Shadows Into Light', cursive; font-size: 58px; font-weight: 400; line-height: 1.2; margin: 0 0 12px; color: rgba(255,255,255,0.92); text-shadow: 0 0 10px rgba(255,255,255,0.08); letter-spacing: 1px; }
.hero-sub { font-family: 'Shadows Into Light', cursive; font-size: 24px; color: rgba(255,255,255,0.5); margin-bottom: 8px; letter-spacing: 0.5px; }
.hero-tagline { font-family: 'Patrick Hand', cursive; font-size: 20px; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0 0 36px; max-width: 480px; }
.hero-tagline strong { color: rgba(255,255,255,0.88); }
.hero-buttons { display: flex; gap: 16px; align-items: center; }
.chalk-pink { color: #F9A8D4; text-shadow: 0 0 12px rgba(236,72,153,0.3); }
.hero-proof { display: flex; gap: 28px; margin-top: 40px; align-items: center; }
.hero-faces { display: flex; }
.hero-face { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.15); margin-left: -10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.hero-face:first-child { margin-left: 0; }
.hero-proof-text { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 700; }
.hero-proof-text strong { color: rgba(255,255,255,0.85); font-size: 16px; }
.hero-proof-stars { display: flex; gap: 2px; margin-top: 2px; align-items: center; }
.hero-proof-stars svg { width: 14px; height: 14px; fill: #FDE68A; color: #FDE68A; }

/* Hero Visual — Weekly Schedule */
.schedule-card { background: rgba(0,0,0,0.2); border: 1px dashed rgba(255,255,255,0.12); border-radius: 20px; padding: 24px; position: relative; }
.schedule-title { font-family: 'Shadows Into Light', cursive; font-size: 22px; color: rgba(255,255,255,0.75); margin-bottom: 18px; text-align: center; letter-spacing: 1px; }
.schedule-grid { display: grid; grid-template-columns: 50px repeat(5, 1fr); gap: 6px; }
.schedule-day { font-family: 'Patrick Hand', cursive; font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; padding: 6px 0; text-transform: uppercase; letter-spacing: 1px; }
.schedule-time { font-family: 'Patrick Hand', cursive; font-size: 11px; color: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; }
.schedule-block { border-radius: 8px; padding: 6px 4px; text-align: center; font-family: 'Patrick Hand', cursive; font-size: 11px; font-weight: 700; min-height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: transform 0.3s; }
.schedule-block:hover { transform: scale(1.08); }
.schedule-block .subj-icon { font-size: 14px; }
.schedule-block.pink { background: rgba(236,72,153,0.15); color: #F9A8D4; border: 1px solid rgba(236,72,153,0.2); }
.schedule-block.teal { background: rgba(20,184,166,0.15); color: #5EEAD4; border: 1px solid rgba(20,184,166,0.2); }
.schedule-block.purple { background: rgba(139,92,246,0.15); color: #C4B5FD; border: 1px solid rgba(139,92,246,0.2); }
.schedule-block.orange { background: rgba(249,115,22,0.15); color: #FDBA74; border: 1px solid rgba(249,115,22,0.2); }
.schedule-block.yellow { background: rgba(251,191,36,0.15); color: #FDE68A; border: 1px solid rgba(251,191,36,0.2); }
.schedule-block.empty { background: transparent; border: 1px dashed rgba(255,255,255,0.06); }
.schedule-block.now { animation: pulse 2s ease-in-out infinite; box-shadow: 0 0 12px rgba(236,72,153,0.25); }
.teacher-row { display: flex; gap: 10px; margin-top: 16px; justify-content: center; flex-wrap: wrap; }
.teacher-chip { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 50px; padding: 5px 12px 5px 5px; }
.teacher-avatar { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.teacher-name { font-family: 'Patrick Hand', cursive; font-size: 12px; color: rgba(255,255,255,0.55); }
.chalk-annotation { position: absolute; font-family: 'Shadows Into Light', cursive; color: rgba(255,255,255,0.35); font-size: 14px; pointer-events: none; }

/* SUBJECTS MARQUEE */
.marquee-section { padding: 40px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee-track { display: flex; gap: 20px; animation: marquee 30s linear infinite; width: max-content; }
.marquee-item { display: flex; align-items: center; gap: 10px; padding: 10px 24px; background: var(--gray-light); border-radius: 50px; font-weight: 800; font-size: 14px; color: var(--gray); white-space: nowrap; border: 1px solid var(--border); }
.marquee-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* JOURNEY (How It Works) */
.journey { padding: 100px 24px; position: relative; background: var(--white); }
.journey-track { display: flex; gap: 0; margin-top: 56px; position: relative; }
.journey-track::before { content: ''; position: absolute; top: 44px; left: 60px; right: 60px; height: 3px; background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px); z-index: 0; }
.journey-step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.journey-circle { width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; position: relative; font-size: 36px; border: 3px solid; transition: transform 0.4s; }
.journey-circle:hover { transform: scale(1.1) rotate(5deg); }
.journey-num { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; background: var(--dark); color: white; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.journey-step h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.journey-step p { font-size: 13px; color: var(--gray); line-height: 1.6; font-weight: 600; max-width: 200px; margin: 0 auto; }
.journey-arrow { font-family: 'Shadows Into Light', cursive; color: var(--gray); font-size: 20px; position: absolute; top: 36px; right: -16px; z-index: 2; }

/* FEATURES (Bento Grid) */
.features { padding: 100px 24px; background: linear-gradient(170deg, #FFFBEB 0%, #F0FDFA 50%, #FDF2F8 100%); position: relative; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 20px; margin-top: 56px; }
.bento-card { padding: 32px; border-radius: 24px; background: white; border: 1px solid var(--border); transition: all 0.4s; position: relative; overflow: hidden; }
.bento-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.bento-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 24px 24px 0 0; }
.bento-card.span-2 { grid-column: span 2; display: flex; gap: 28px; align-items: center; }
.bento-card.span-2 .bento-visual { flex-shrink: 0; width: 180px; height: 140px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.bento-card .bento-emoji { font-size: 32px; margin-bottom: 16px; display: block; }
.bento-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.bento-card p { font-size: 13px; color: var(--gray); line-height: 1.7; font-weight: 600; }
.bento-card.c-pink::before { background: linear-gradient(90deg, var(--pink), #D946EF); }
.bento-card.c-teal::before { background: linear-gradient(90deg, var(--teal), #06B6D4); }
.bento-card.c-purple::before { background: linear-gradient(90deg, var(--purple), #7C3AED); }
.bento-card.c-orange::before { background: linear-gradient(90deg, var(--orange), #EAB308); }
.bento-card.c-yellow::before { background: linear-gradient(90deg, var(--yellow), #F97316); }
.bento-highlight { font-family: 'Shadows Into Light', cursive; font-size: 28px; color: var(--pink); margin-top: 8px; display: block; }

/* CLASSES */
.classes { padding: 100px 24px; position: relative; }
.classes-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.classes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.class-card { background: white; border-radius: 22px; border: 1px solid var(--border); overflow: hidden; transition: all 0.4s; }
.class-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,0,0,0.06); }
.class-top { height: 6px; }
.class-top.pink { background: linear-gradient(90deg, var(--pink), #D946EF); }
.class-top.teal { background: linear-gradient(90deg, var(--teal), #06B6D4); }
.class-top.purple { background: linear-gradient(90deg, var(--purple), #7C3AED); }
.class-top.orange { background: linear-gradient(90deg, var(--orange), #EAB308); }
.class-body { padding: 24px 28px; }
.class-row { display: flex; gap: 16px; align-items: center; }
.class-emoji { font-size: 36px; flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.class-emoji.pink { background: var(--pink-light); }
.class-emoji.teal { background: var(--teal-light); }
.class-emoji.purple { background: var(--purple-light); }
.class-emoji.orange { background: var(--orange-light); }
.class-info { flex: 1; }
.class-info h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.class-meta { display: flex; gap: 16px; font-size: 12px; color: var(--gray); font-weight: 700; }
.class-stats { display: flex; gap: 12px; margin-top: 10px; }
.class-tag { font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 50px; }
.class-tag.enrolled { background: var(--teal-light); color: var(--teal); }
.class-tag.spots { background: var(--pink-light); color: var(--pink); }
.class-teacher { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.class-teacher-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.class-teacher-info { font-size: 12px; color: var(--gray); font-weight: 700; }
.class-teacher-name { font-weight: 800; color: var(--dark); font-size: 13px; }
.btn-enroll { border: none; border-radius: 14px; padding: 12px 22px; font-weight: 800; font-size: 13px; color: white; flex-shrink: 0; transition: all 0.3s; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; font-family: inherit; }
.btn-enroll:hover { transform: scale(1.05); }
.btn-enroll.pink { background: linear-gradient(135deg, var(--pink), #D946EF); }
.btn-enroll.teal { background: linear-gradient(135deg, var(--teal), #06B6D4); }
.btn-enroll.purple { background: linear-gradient(135deg, var(--purple), #7C3AED); }
.btn-enroll.orange { background: linear-gradient(135deg, var(--orange), #EAB308); }

/* PRICING */
.pricing { padding: 100px 24px; background: linear-gradient(170deg, #F5F3FF 0%, #FDF2F8 50%, #F0FDFA 100%); }
.pricing-toggle { display: flex; justify-content: center; margin-top: 16px; gap: 0; background: white; border-radius: 50px; padding: 4px; border: 1px solid var(--border); width: fit-content; margin-left: auto; margin-right: auto; }
.pricing-toggle-btn { padding: 10px 28px; border-radius: 50px; border: none; font-weight: 800; font-size: 14px; cursor: pointer; transition: all 0.3s; background: transparent; color: var(--gray); font-family: inherit; }
.pricing-toggle-btn.active { background: linear-gradient(135deg, var(--pink), #D946EF); color: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: start; }
.price-card { padding: 40px 32px; border-radius: 28px; background: white; border: 1px solid var(--border); position: relative; transition: all 0.4s; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.price-card.featured { border: 2px solid var(--pink); }
.price-card.featured::before { content: ''; position: absolute; inset: -2px; border-radius: 30px; background: linear-gradient(135deg, var(--pink), var(--purple)); z-index: -1; opacity: 0.15; filter: blur(20px); }
.price-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--pink), var(--purple)); color: white; padding: 6px 24px; border-radius: 50px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.price-emoji { font-size: 36px; margin-bottom: 12px; display: block; }
.price-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.price-desc { font-size: 13px; color: var(--gray); margin-bottom: 24px; font-weight: 600; }
.price-amount { margin-bottom: 28px; }
.price-num { font-size: 48px; font-weight: 900; }
.price-period { font-size: 15px; color: var(--gray); font-weight: 700; }
.price-note { font-size: 12px; color: var(--teal); font-weight: 700; margin-top: 4px; }
.btn-price { width: 100%; padding: 16px; border-radius: 16px; font-weight: 800; font-size: 16px; margin-bottom: 28px; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-price.filled { background: linear-gradient(135deg, var(--pink), #D946EF); color: white; border: none; box-shadow: 0 4px 15px var(--pink-glow); }
.btn-price.outline { background: white; color: var(--dark); border: 2px solid var(--border); }
.btn-price.outline:hover { border-color: var(--pink); color: var(--pink); }
.price-features { display: flex; flex-direction: column; gap: 14px; }
.price-feature { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray); font-weight: 600; }
.check { width: 22px; height: 22px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 900; color: white; }
.check.teal { background: linear-gradient(135deg, var(--teal), #06B6D4); }

/* TESTIMONIALS */
.testimonials { padding: 100px 24px; position: relative; }
.test-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 56px; align-items: start; }
.test-featured { background: white; border-radius: 28px; padding: 40px; border: 2px solid var(--pink-light); position: relative; overflow: hidden; }
.test-featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pink), var(--purple)); }
.test-featured .test-quote-big { font-family: 'Shadows Into Light', cursive; font-size: 80px; line-height: 1; color: var(--pink); opacity: 0.15; position: absolute; top: 16px; right: 28px; }
.test-featured .test-text { font-size: 18px; line-height: 1.9; margin-bottom: 28px; font-weight: 600; color: #334155; }
.test-featured .test-author { display: flex; align-items: center; gap: 14px; }
.test-featured .test-avatar { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.test-featured .test-name { font-weight: 800; font-size: 16px; }
.test-featured .test-role { font-size: 13px; color: var(--gray); font-weight: 600; }
.test-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.test-stars svg { width: 18px; height: 18px; fill: var(--yellow); }
.test-side { display: flex; flex-direction: column; gap: 24px; }
.test-card { background: white; border-radius: 24px; padding: 28px; border: 1px solid var(--border); position: relative; transition: all 0.4s; }
.test-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,0,0,0.06); }
.test-card .test-quote-sm { position: absolute; top: 16px; right: 20px; font-size: 36px; line-height: 1; opacity: 0.08; font-weight: 900; }
.test-card .test-text { font-size: 14px; line-height: 1.8; margin-bottom: 20px; font-weight: 600; color: #334155; }
.test-card .test-author { display: flex; align-items: center; gap: 12px; }
.test-card .test-avatar { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.test-card .test-name { font-weight: 800; font-size: 14px; }
.test-card .test-role { font-size: 12px; color: var(--gray); font-weight: 600; }

/* VISIT US */
.visit { padding: 100px 24px; background: linear-gradient(170deg, #FDF2F8 0%, #F0FDFA 100%); position: relative; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; align-items: stretch; }
.visit-map { background: white; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.visit-map-visual { flex: 1; background: linear-gradient(135deg, #1E293B, #334155); display: flex; align-items: center; justify-content: center; min-height: 220px; position: relative; overflow: hidden; }
.visit-map-info { padding: 24px 28px; }
.visit-info-card { background: white; border-radius: 20px; padding: 28px; border: 1px solid var(--border); flex: 1; display: flex; align-items: center; gap: 20px; }
.visit-info-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }

/* CTA (Chalkboard-themed) */
.cta { position: relative; overflow: hidden; }
.cta-board { background: #2d4a3e; background-image: radial-gradient(ellipse at 30% 50%, #345e4a 0%, transparent 70%), radial-gradient(ellipse at 70% 30%, #2a5040 0%, transparent 60%); padding: 80px 24px; text-align: center; color: white; position: relative; }
.cta-board::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='1' cy='1' r='0.6'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.cta-frame-top,
.cta-frame-bottom { display: none; }
.cta-doodle { position: absolute; pointer-events: none; z-index: 1; opacity: 0.06; }
.cta h2 { font-family: 'Shadows Into Light', cursive; font-size: 46px; font-weight: 400; margin-bottom: 16px; position: relative; z-index: 1; color: rgba(255,255,255,0.92); text-shadow: 0 0 10px rgba(255,255,255,0.08); }
.cta p { font-family: 'Patrick Hand', cursive; font-size: 20px; color: rgba(255,255,255,0.5); max-width: 500px; margin: 0 auto 36px; position: relative; z-index: 1; }
.cta .btn-cta { background: linear-gradient(135deg, var(--pink), #D946EF); color: white; padding: 18px 44px; font-size: 18px; border-radius: 20px; border: none; font-weight: 900; box-shadow: 0 4px 30px var(--pink-glow); position: relative; z-index: 1; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cta .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 40px var(--pink-glow); }
.cta-note { margin-top: 16px; font-family: 'Patrick Hand', cursive; font-size: 15px; color: rgba(255,255,255,0.35); position: relative; z-index: 1; }

/* FOOTER */
.footer { background: #0F172A; padding: 60px 24px 30px; color: #94A3B8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo { width: 44px; height: 44px; border-radius: 14px; background: white; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.footer-logo img { width: 32px; height: 32px; object-fit: contain; }
.footer-fname { font-weight: 900; font-size: 18px; color: white; }
.footer-flabel { font-size: 10px; color: var(--pink); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 280px; font-weight: 600; }
.footer-col-title { font-weight: 800; font-size: 14px; color: white; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.footer-link { font-size: 14px; margin-bottom: 12px; cursor: pointer; font-weight: 600; transition: color 0.2s; display: block; color: #94A3B8; text-decoration: none; }
.footer-link:hover { color: white; }
.footer-bottom { border-top: 1px solid #1E293B; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.footer-hearts { color: var(--pink); }
.footer-credit { color: #64748B; font-size: 12px; font-weight: 600; }
.footer-credit-link { color: var(--pink); font-weight: 800; text-decoration: none; transition: color 0.2s; }
.footer-credit-link:hover { color: #F9A8D4; text-decoration: underline; }

/* Section common */
.section-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.section-title { font-size: 40px; font-weight: 900; margin: 12px 0 0; }
.section-header { text-align: center; }
.section-sub { font-size: 16px; color: var(--gray); margin-top: 12px; font-weight: 600; }

/* ─── Hamburger toggle (CSS-only) ─── */
.nav-toggle { display: none; }
.nav-hamburger { display: none; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border-radius: 12px; transition: background 0.2s; }
.nav-hamburger:hover { background: var(--pink-light); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* ─── Responsive utility classes (for inline style extraction) ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.about-story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.schedule-week { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.schedule-list-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; align-items: center; }
.conduct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.auth-section { padding: 40px 24px; background: var(--gray-light); min-height: 80vh; display: flex; align-items: center; justify-content: center; }
.auth-card { background: white; border-radius: 20px; padding: 40px; border: 1px solid var(--border); width: 100%; max-width: 440px; }
.auth-card--wide { max-width: 480px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 600px; }
img { max-width: 100%; height: auto; }
.hover-lift { transition: transform 0.3s, box-shadow 0.3s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,23,42,0.08); }

/* ─── Fluid typography ─── */
.hero h1 { font-size: clamp(28px, 6vw, 58px); }
.section-title { font-size: clamp(24px, 4vw, 40px); }
.page-header-title { font-size: clamp(24px, 5vw, 38px); }
.cta h2 { font-size: clamp(28px, 5vw, 46px); }
.price-num { font-size: clamp(32px, 5vw, 48px); }

/* ─── Touch targets ─── */
.btn, .btn-pink, .btn-outline, .btn-enroll, .btn-price, .btn-cta { min-height: 44px; }
.form-group input, .form-group textarea, .form-group select { min-height: 44px; font-size: 16px; }

/* ─── Print ─── */
@media print {
  .nav, .footer, .nav-hamburger, .btn, .cta, .hero-visual, .marquee-section { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .container { max-width: 100%; padding: 0; }
  .hero { background: none !important; padding: 20px 0; }
  .hero h1 { color: #000 !important; font-size: 24pt; }
  a { color: #000; text-decoration: underline; }
  section { page-break-inside: avoid; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════ */

/* ── Large desktops (≤1440px) ── */
@media (max-width: 1440px) {
  .container { max-width: 1140px; }
}

/* ── Laptops / small desktops (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column-reverse; gap: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.span-2 { grid-column: span 2; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .test-layout { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .about-story { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .schedule-week { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablets (≤768px) — hamburger activates ── */
@media (max-width: 768px) {
  /* Hamburger menu */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 76px; left: 0; right: 0; background: white;
    border-bottom: 1px solid var(--border); padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 99;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links .nav-link {
    display: flex; align-items: center; min-height: 44px;
    padding: 12px clamp(16px, 4vw, 40px); border-radius: 0; width: 100%;
    font-size: 15px;
  }
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Dropdown inlines on mobile — no absolute positioning, just show sub-items */
  .nav-dropdown { display: block; width: 100%; }
  .nav-caret { display: none; }
  .nav-dropdown-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: var(--gray-light);
    min-width: 0;
    width: 100%;
  }
  .nav-dropdown-item {
    padding: 12px 40px;
    border-radius: 0;
  }
  .nav-dropdown-item:hover { background: var(--pink-light); }

  /* Layout collapses */
  .hero-board { padding: 50px 16px 60px; }
  .classes-grid { grid-template-columns: 1fr; }
  .classes-header { flex-direction: column; gap: 16px; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .journey-track { flex-wrap: wrap; justify-content: center; }
  .journey-track::before { display: none; }
  .journey-step { flex: 0 0 45%; margin-bottom: 32px; }
  .bento-card.span-2 { grid-column: span 1; flex-direction: column; }
  .bento-card.span-2 .bento-visual { width: 100%; height: 100px; }
  .bento { grid-template-columns: 1fr; }

  /* Utility class collapses */
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .schedule-week { grid-template-columns: repeat(2, 1fr); }
  .schedule-list-row { grid-template-columns: 1fr; gap: 8px; }
  .conduct-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .dash-header { flex-direction: column; align-items: flex-start; }

  /* Page header */
  .page-header { padding: 40px 20px 28px; }
  .page-header-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .page-header-text { max-width: 100%; width: 100%; }
  .page-header-title { font-size: clamp(22px, 5vw, 32px); }
  .page-header-sub { font-size: 15px; }

  /* iOS Safari: backdrop-filter + position:sticky can cause layout issues — strip on mobile */
  .nav { backdrop-filter: none; background: #ffffff; position: relative; top: auto; }

  /* Section */
  .section { padding: 48px 16px; }
  .section--tight { padding: 32px 16px; }

  /* Footer links touch targets */
  .footer-link { min-height: 44px; display: flex; align-items: center; }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn, .hero-buttons .btn-pink, .hero-buttons .btn-chalk { width: 100%; justify-content: center; }
  .hero-proof { flex-direction: column; gap: 12px; }
  .hero h1 { letter-spacing: 0; }
  .schedule-card { padding: 16px; }
  .schedule-grid { grid-template-columns: 40px repeat(5, 1fr); gap: 3px; }
  .schedule-block { font-size: 9px; min-height: 36px; padding: 4px 2px; }
  .schedule-block .subj-icon { font-size: 11px; }
  .journey-step { flex: 0 0 100%; }
  .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .schedule-week { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .auth-card { padding: 28px 20px; }
  .price-card { padding: 28px 20px; }
  .bento-card { padding: 24px; }
  .cta-board { padding: 60px 16px; }
  .marquee-item { padding: 8px 16px; font-size: 12px; }
  .teacher-row { display: none; }
}

/* ───────────────────────────────────────────────────────────
   Page Header — calm-frame pattern
   White strip, small colored eyebrow, large H1, optional actions.
   Used by: About, Classes, Schedule, Pricing, Blog, Policies, Contact
─────────────────────────────────────────────────────────── */
.page-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 56px 24px 36px; }
.page-header-inner { width: 100%; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.page-header-text { max-width: 720px; }
.page-header-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.page-header-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.page-header-title { font-size: 38px; font-weight: 900; line-height: 1.18; color: var(--dark); margin: 0 0 10px; letter-spacing: -0.01em; }
.page-header-sub { color: var(--gray); font-weight: 600; line-height: 1.65; font-size: 16px; margin: 0; max-width: 600px; }
.page-header-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* page-header responsive: see unified breakpoints below */

/* Photo placeholder — sized for real images, neutral until populated */
.photo { display: block; width: 100%; background: var(--gray-light); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; position: relative; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--16x9 { aspect-ratio: 16 / 9; }
.photo--1x1 { aspect-ratio: 1 / 1; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--gray); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.photo-empty svg { width: 28px; height: 28px; opacity: 0.4; }

/* Section primitive — quiet by default */
.section { padding: 64px 24px; }
.section--gray { background: var(--gray-light); }
.section--tight { padding: 40px 24px; }
.section .container { max-width: 1200px; }
.section-eyebrow { display: inline-block; font-weight: 800; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; color: var(--pink); }
.section-title { font-size: 28px; font-weight: 900; line-height: 1.25; margin: 0 0 10px; }
.section-sub { color: var(--gray); font-weight: 600; line-height: 1.7; max-width: 640px; margin: 0; }
