:root{
  --pink-hot:#FF6FA0;
  --pink-hot-dark:#F0508A;
  --pink-mid:#FFA9C6;
  --pink-light:#FFE1EE;
  --pink-pale:#FFF6FA;
  --purple-soft:#B18CFF;
  --purple-deep:#8C5CFF;
  --yellow-sun:#FFCB47;
  --mint:#5FE0C1;
  --text-dark:#5B3758;
  --text-mid:#8A6482;
  --white:#FFFFFF;
  --shadow-pink: 0 10px 30px rgba(255,111,160,0.28);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Nunito', sans-serif;
  color:var(--text-dark);
  background:var(--pink-pale);
  overflow-x:hidden;
}
h1,h2,h3,.logo,.nav-link,.btn{font-family:'Baloo 2', 'Fredoka', sans-serif;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;margin:0;padding:0;}
img{max-width:100%;display:block;}
section{position:relative;}
.wrap{max-width:1160px;margin:0 auto;padding:0 28px;}

/* ---------- Puzzle piece shape ---------- */
.piece-shape{
  -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M32 4h20c3 0 4 3 2 5-3 3-5 6-5 10 0 6 5 9 10 9s10-3 10-9c0-4-2-7-5-10-2-2-1-5 2-5h20c3 0 5 2 5 5v20c0 3-3 4-5 2-3-3-6-5-10-5-6 0-9 5-9 10s3 10 9 10c4 0 7-2 10-5 2-2 5-1 5 2v20c0 3-2 5-5 5H86c-3 0-4-3-2-5 3-3 5-6 5-10 0-6-5-9-10-9s-10 3-10 9c0 4 2 7 5 10 2 2 1 5-2 5H52c-3 0-5-2-5-5V78c0-3 3-4 5-2 3 3 6 5 10 5 6 0 9-5 9-10s-3-10-9-10c-4 0-7 2-10 5-2 2-5 1-5-2V38c0-3-3-4-5-2-3 3-6 5-10 5-6 0-9-5-9-10s3-10 9-10c4 0 7 2 10 5 2 2 5 1 5-2V9c0-3 2-5 5-5z'/></svg>");
  mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M32 4h20c3 0 4 3 2 5-3 3-5 6-5 10 0 6 5 9 10 9s10-3 10-9c0-4-2-7-5-10-2-2-1-5 2-5h20c3 0 5 2 5 5v20c0 3-3 4-5 2-3-3-6-5-10-5-6 0-9 5-9 10s3 10 9 10c4 0 7-2 10-5 2-2 5-1 5 2v20c0 3-2 5-5 5H86c-3 0-4-3-2-5 3-3 5-6 5-10 0-6-5-9-10-9s-10 3-10 9c0 4 2 7 5 10 2 2 1 5-2 5H52c-3 0-5-2-5-5V78c0-3 3-4 5-2 3 3 6 5 10 5 6 0 9-5 9-10s-3-10-9-10c-4 0-7 2-10 5-2 2-5 1-5-2V38c0-3-3-4-5-2-3 3-6 5-10 5-6 0-9-5-9-10s3-10 9-10c4 0 7 2 10 5 2 2 5 1 5-2V9c0-3 2-5 5-5z'/></svg>");
  mask-size:100% 100%;-webkit-mask-size:100% 100%;
}

/* ---------- HEADER + ANIMATED CLOUD SKY ---------- */
.sky-header{
  position:relative;
  background:linear-gradient(180deg,#FFC9E2 0%, #FFE1EE 55%, var(--pink-pale) 100%);
  overflow:hidden;
  padding-bottom:35px;
}
.cloud-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden;}
.cloud{
  position:absolute;
  background:var(--white);
  border-radius:100px;
  opacity:0.85;
  filter:drop-shadow(0 8px 12px rgba(240,80,138,0.12));
}
.cloud::before,.cloud::after{
  content:"";
  position:absolute;
  background:var(--white);
  border-radius:100px;
}
.cloud.c1{width:120px;height:44px;top:12%;left:-160px;animation:drift 34s linear infinite;}
.cloud.c1::before{width:64px;height:64px;top:-32px;left:16px;}
.cloud.c1::after{width:44px;height:44px;top:-20px;left:70px;}
.cloud.c2{width:90px;height:34px;top:32%;left:-140px;animation:drift 26s linear infinite;animation-delay:-6s;opacity:0.7;}
.cloud.c2::before{width:50px;height:50px;top:-24px;left:10px;}
.cloud.c2::after{width:34px;height:34px;top:-14px;left:52px;}
.cloud.c3{width:150px;height:54px;top:4%;left:-200px;animation:drift 44s linear infinite;animation-delay:-18s;}
.cloud.c3::before{width:80px;height:80px;top:-40px;left:22px;}
.cloud.c3::after{width:56px;height:56px;top:-26px;left:92px;}
.cloud.c4{width:70px;height:26px;top:22%;left:-120px;animation:drift 20s linear infinite;animation-delay:-3s;opacity:0.6;}
.cloud.c4::before{width:38px;height:38px;top:-18px;left:8px;}
.cloud.c4::after{width:26px;height:26px;top:-10px;left:40px;}
.cloud.c5{width:110px;height:40px;top:16%;left:-160px;animation:drift 30s linear infinite;animation-delay:-12s;opacity:0.75;}
.cloud.c5::before{width:60px;height:60px;top:-30px;left:14px;}
.cloud.c5::after{width:40px;height:40px;top:-18px;left:64px;}
@keyframes drift{
  from{transform:translateX(0);}
  to{transform:translateX(calc(100vw + 260px));}
}

.sun{
  position:absolute;top:-30px;right:60px;width:90px;height:90px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #FFE08A, var(--yellow-sun));
  box-shadow:0 0 0 14px rgba(255,203,71,0.18);
  animation:pulse 4s ease-in-out infinite;
}
@keyframes pulse{50%{transform:scale(1.06);}}

/* ---------- NAV ---------- */
.navbar{
  position:relative;z-index:5;
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 0 0;
}
.logo{display:flex;align-items:center;gap:12px;font-size:28px;font-weight:700;color:var(--pink-hot-dark);}
.logo-img{
  width:56px;height:56px;object-fit:contain;border-radius:16px;background:var(--white);
  box-shadow:0 10px 24px rgba(240,80,138,0.16);
  border:2px solid rgba(255,255,255,0.8);
}
.logo .dot{
  width:34px;height:34px;background:linear-gradient(135deg,var(--pink-hot),var(--purple-soft));
  display:inline-block;
}
.nav-links{display:flex;gap:6px;background:rgba(255,255,255,0.6);padding:6px;border-radius:40px;backdrop-filter:blur(4px);}
.nav-link{
  padding:10px 20px;border-radius:30px;font-weight:600;font-size:15px;color:var(--text-dark);
  transition:background .25s ease, color .25s ease, transform .2s ease;
}
.nav-link:hover{background:var(--white);color:var(--pink-hot-dark);transform:translateY(-2px);}
.nav-actions{display:flex;gap:12px;align-items:center;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:none;cursor:pointer;font-weight:700;font-size:15px;
  padding:12px 26px;border-radius:30px;transition:transform .2s ease, box-shadow .2s ease;
}
.btn:hover{transform:translateY(-3px) rotate(-1deg);}
.btn-primary{background:linear-gradient(135deg,var(--pink-hot),var(--pink-hot-dark));color:var(--white);box-shadow:var(--shadow-pink);}
.btn-ghost{background:#FF6FA0;color:#FFF;box-shadow:0 6px 16px rgba(240,80,138,0.15);}
.hamburger{display:none;background:none;border:none;font-size:26px;color:var(--pink-hot-dark);cursor:pointer;}
.admin-wrap a.btn-ghost{color:#FFF !important;}
/* ---------- USER MENU DROPDOWN ---------- */
.user-menu{position:relative;}
.user-menu-trigger{display:inline-flex;align-items:center;gap:6px;}
.user-menu-trigger .caret{font-size:12px;transition:transform .2s ease;}
.user-menu-trigger.open .caret{transform:rotate(180deg);}
.user-menu-panel{
  display:none;position:absolute;top:calc(100% + 10px);right:0;min-width:200px;
  background:var(--white);border-radius:18px;padding:8px;
  box-shadow:0 16px 34px rgba(91,55,88,0.22);z-index:60;
}
.user-menu-panel::before{
  content:"";position:absolute;top:-6px;right:22px;width:12px;height:12px;
  background:var(--white);transform:rotate(45deg);border-radius:2px;
}
.user-menu-panel a{
  display:flex;align-items:center;gap:8px;padding:11px 14px;border-radius:12px;
  font-weight:700;font-size:14px;color:var(--text-dark);transition:background .18s ease,color .18s ease;
}
.user-menu-panel a:hover{background:var(--pink-pale);color:var(--pink-hot-dark);}

/* ---------- HERO ---------- */
.hero{position:relative;z-index:3;display:flex;align-items:center;gap:50px;padding:70px 0 20px;flex-wrap:wrap;}
.hero-copy{flex:1 1 420px;}
.eyebrow{
  display:inline-block;background:var(--white);color:var(--purple-deep);font-weight:700;font-size:13px;
  padding:8px 16px;border-radius:20px;margin-bottom:18px;box-shadow:0 6px 14px rgba(140,92,255,0.18);
}
.hero h1{font-size:52px;line-height:1.08;margin:0 0 18px;color:var(--text-dark);}
.hero h1 span{color:var(--pink-hot-dark);}
.hero p{font-size:18px;color:var(--text-mid);max-width:480px;margin:0 0 30px;}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap;}

.hero-art{flex:1 1 380px;position:relative;min-height:380px;}
.piece{position:absolute;width:120px;height:120px;}
.piece.pink{background:var(--pink-hot);}
.piece.purple{background:var(--purple-soft);}
.piece.yellow{background:var(--yellow-sun);}
.piece.mint{background:var(--mint);}
.piece.p1{top:0;left:60px;transform:rotate(-8deg);animation:float1 5s ease-in-out infinite;}
.piece.p2{top:80px;left:200px;width:150px;height:150px;transform:rotate(10deg);animation:float2 6s ease-in-out infinite;}
.piece.p3{top:220px;left:40px;width:110px;height:110px;transform:rotate(4deg);animation:float1 5.5s ease-in-out infinite;animation-delay:.6s;}
.piece.p4{top:230px;left:230px;width:90px;height:90px;transform:rotate(-14deg);animation:float2 4.5s ease-in-out infinite;animation-delay:.3s;}
@keyframes float1{0%,100%{transform:translateY(0) rotate(-8deg);}50%{transform:translateY(-14px) rotate(-4deg);}}
@keyframes float2{0%,100%{transform:translateY(0) rotate(10deg);}50%{transform:translateY(16px) rotate(6deg);}}

/* ---------- SMALL PAGE BANNER (About / Career / Contact) ---------- */
.page-banner{position:relative;z-index:3;padding:70px 0 30px;text-align:center;}
.page-banner h1{font-size:40px;margin:6px 0 0;color:var(--text-dark);}

/* ---------- WAVE DIVIDER ---------- */
.wave{display:block;width:100%;line-height:0;margin-top:-4px;}
.wave svg{width:100%;height:70px;display:block;}

/* ---------- FEATURE STRIP ---------- */
.features{background:var(--white);padding:50px 0;}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:26px;}
.feature-card{
  background:var(--pink-pale);border-radius:24px;padding:26px 22px;text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-pink);}
.feature-icon{
  width:58px;height:58px;border-radius:50%;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;
  font-size:26px;color:var(--white);
}
.feature-card h3{margin:0 0 8px;font-size:19px;color:var(--text-dark);}
.feature-card p{margin:0;font-size:14px;color:var(--text-mid);}

/* ---------- SECTION HEADINGS ---------- */
.section-pad{padding:35px 0;}
.section-head{text-align:center;max-width:600px;margin:0 auto 46px;}
.section-head .eyebrow{background:var(--pink-light);}
.section-head h2{font-size:36px;margin:6px 0 12px;color:var(--text-dark);}
.section-head p{color:var(--text-mid);font-size:16px;margin:0;}

/* ---------- ABOUT ---------- */
#about{background:linear-gradient(180deg,var(--pink-pale), var(--white));}
.about-grid{display:flex;gap:50px;align-items:center;flex-wrap:wrap;}
.about-art{flex:1 1 320px;position:relative;height:300px;}
.about-art .blob{
  position:absolute;inset:0;margin:auto;width:260px;height:260px;border-radius:42% 58% 65% 35% / 45% 40% 60% 55%;
  background:linear-gradient(135deg,var(--pink-mid),var(--purple-soft));
}
.about-art .badge{
  position:absolute;bottom:10px;right:20px;background:var(--white);padding:14px 20px;border-radius:18px;
  box-shadow:var(--shadow-pink);font-weight:700;font-size:14px;color:var(--pink-hot-dark);
}
.about-text{flex:1 1 380px;}
.about-text h2{font-size:32px;margin-top:0;}
.about-text p{color:var(--text-mid);font-size:16px;line-height:1.7;}
.about-list{margin-top:20px;display:grid;gap:12px;}
.about-list li{display:flex;gap:10px;align-items:center;font-weight:700;color:var(--text-dark);}
.about-list li .tick{
  width:24px;height:24px;border-radius:50%;background:var(--mint);color:var(--white);
  display:flex;align-items:center;justify-content:center;font-size:13px;flex:none;
}

/* ---------- CAREER ---------- */
#career{background:var(--pink-pale);}
.job-list{display:grid;gap:18px;}
.job-card{
  background:var(--white);border-radius:22px;padding:22px 26px;display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:14px;box-shadow:0 6px 20px rgba(91,55,88,0.06);transition:transform .2s ease;
}
.job-card:hover{transform:translateX(6px);}
.job-info h3{margin:0 0 6px;font-size:19px;}
.job-info span{color:var(--text-mid);font-size:14px;}
.job-tag{
  background:var(--pink-light);color:var(--pink-hot-dark);font-weight:700;font-size:12px;
  padding:6px 14px;border-radius:16px;margin-right:8px;display:inline-block;
}

/* ---------- CONTACT ---------- */
#contact{background:var(--white);}
.contact-grid{display:flex;gap:50px;flex-wrap:wrap;}
.contact-form{flex:1 1 380px;background:var(--pink-pale);padding:34px;border-radius:26px;margin-bottom:5px;margin-top:5px;}
.contact-info{flex:1 1 280px;display:flex;flex-direction:column;gap:20px;justify-content:center;}
.info-item{display:flex;gap:14px;align-items:flex-start;}
.info-icon{
  width:44px;height:44px;border-radius:14px;background:var(--pink-light);color:var(--pink-hot-dark);
  display:flex;align-items:center;justify-content:center;flex:none;font-size:18px;
}
.info-item h4{margin:0 0 4px;font-size:15px;}
.info-item p{margin:0;color:var(--text-mid);font-size:14px;}
.field{margin-bottom:16px;}
.field label{display:block;font-weight:700;font-size:13px;margin-bottom:6px;color:var(--text-dark);}
.field input,.field textarea,.field select,.form-select{
  width:100%;padding:13px 16px;border-radius:14px;border:2px solid #FBD3E4;background:var(--white);
  font-family:inherit;font-size:14px;color:var(--text-dark);outline:none;transition:border-color .2s ease;
}
.field input:focus,.field textarea:focus,.field select:focus,.form-select:focus{border-color:var(--pink-hot);}
.field textarea{resize:vertical;min-height:100px;}
.password-field{position:relative;}
.password-field input{padding-right:48px;}
.password-toggle{position:absolute;top:50%;right:12px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:var(--text-mid);font-size:18px;line-height:1;cursor:pointer;transform:translateY(-50%);}
.password-toggle:hover,.password-toggle:focus-visible{color:var(--pink-hot-dark);}
.password-toggle:focus-visible{outline:2px solid var(--pink-hot);outline-offset:2px;border-radius:6px;}

/* ---------- PUZZLES (interactive quiz) ---------- */
.quiz-panel{animation:fadeUp .3s ease;}
.puzzles-hero{display:flex;align-items:center;gap:18px;position:relative;overflow:hidden;margin-bottom:24px;padding:30px 34px;background:linear-gradient(115deg,#fff 0%,#fff2f7 58%,#f0fff9 100%);border:1px solid rgba(255,111,160,.16);border-radius:28px;box-shadow:0 16px 34px rgba(91,55,88,.08);}
.puzzles-hero::after{content:"";position:absolute;width:180px;height:180px;right:-58px;top:-76px;border:26px solid rgba(255,111,160,.09);border-radius:50%;pointer-events:none;}
.puzzles-hero-mark{display:flex;align-items:center;justify-content:center;flex:none;width:64px;height:64px;border-radius:20px;background:linear-gradient(145deg,#ff6fa0,#f0508a);color:#fff;font:700 30px/1 'Baloo 2',sans-serif;box-shadow:0 12px 22px rgba(240,80,138,.24);transform:rotate(-6deg);}
.puzzles-hero-copy{position:relative;z-index:1;min-width:0;}
.puzzles-hero h1{margin:0;color:var(--text-dark);font-size:30px;line-height:1.15;}
.puzzles-stage-progress{margin-top:6px;color:var(--pink-hot-dark);font-size:13px;font-weight:800;}
.puzzles-hero p{margin:4px 0 0;color:var(--text-mid);font-size:14px;}
.puzzles-count-badge{position:relative;z-index:1;display:grid;place-items:center;min-width:82px;margin-left:auto;padding:10px 14px;border:1px solid rgba(95,224,193,.4);border-radius:16px;background:#fff;box-shadow:0 8px 18px rgba(91,55,88,.06);}
.puzzles-count-badge strong{color:#178b6a;font:700 25px/1 'Baloo 2',sans-serif;}
.puzzles-count-badge span{margin-top:3px;color:var(--text-mid);font-size:10px;font-weight:800;text-transform:uppercase;}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}

/* setup screen */
.quiz-setup-card{
  margin:0 auto;background:var(--white);padding:38px 34px;border-radius:28px;
  box-shadow:0 14px 34px rgba(91,55,88,0.1);text-align:center;
}
.quiz-setup-card h2{font-size:26px;margin:8px 0 6px;}
.quiz-setup-card p{color:var(--text-mid);margin:0 0 24px;}
.quiz-setup-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin-bottom:24px;text-align:left;}
.quiz-setup-note{margin-top:14px;font-size:13px;font-weight:700;display:none;}
.quiz-setup-note.error{color:#E0507A;display:block;}

/* progress */
.quiz-progress{margin:0 auto 30px;}
.puzzle-stage-track{display:flex;justify-content:center;gap:12px;margin:0 0 16px;min-height:46px;align-items:center;}
.puzzle-stage{display:grid;place-items:center;width:42px;height:42px;padding:0;border:2px solid #dedee3;border-radius:50%;background:#f5f5f5;color:#92909a;font:inherit;font-size:19px;line-height:1;transition:transform .2s ease,background .2s ease,border-color .2s ease;}
.puzzle-stage.is-unlocked{border-color:#f6a8c5;background:#fff7fb;color:var(--pink-hot-dark);}
.puzzle-stage.is-completed{border-color:#5fe0c1;background:#eafff8;color:#178b6a;}
.puzzle-stage.is-current{transform:scale(1.08);box-shadow:0 0 0 4px rgba(255,111,160,.14);}
.ws-stage-item{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--text-mid);font-size:11px;font-weight:700;}
.ws-stage-item .puzzle-stage{flex:none;}
button.puzzle-stage.is-reviewable{cursor:pointer;}
button.puzzle-stage.is-reviewable:hover{transform:translateY(-2px);}
.quiz-progress-top{display:flex;align-items:center;gap:14px;}
.quiz-progress-bar{flex:1;height:10px;background:var(--pink-light);border-radius:10px;overflow:hidden;}
.quiz-progress-fill{height:100%;width:0;background:linear-gradient(90deg,var(--pink-hot),var(--purple-soft));transition:width .35s ease;}
.quiz-timer{
  flex:none;display:inline-flex;align-items:center;gap:6px;background:var(--white);color:var(--pink-hot-dark);
  font-weight:800;font-size:14px;padding:7px 14px;border-radius:20px;box-shadow:0 6px 14px rgba(240,80,138,0.15);
  font-family:'Baloo 2',sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;
}
.quiz-timer-icon{font-size:14px;}
.quiz-progress-dots{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;margin-top:16px;}
.quiz-dot{
  width:30px;height:30px;border-radius:50%;border:none;background:var(--pink-light);color:var(--text-mid);
  font-weight:700;font-size:12px;cursor:pointer;transition:all .2s ease;font-family:'Baloo 2',sans-serif;
}
.quiz-dot:hover{background:var(--pink-mid);color:var(--white);}
.quiz-dot.answered{background:var(--mint);color:var(--white);}
.quiz-dot.active{outline:3px solid var(--pink-hot);outline-offset:2px;transform:scale(1.12);}

/* question card */
.quiz-card{
  margin:0 auto 26px;background:var(--white);border-radius:28px;padding:36px;
  box-shadow:0 14px 34px rgba(91,55,88,0.1);
}
.quiz-card-tags{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap;}
.quiz-question-image{display:block;max-width:100%;max-height:320px;object-fit:contain;margin:0 auto 18px;border-radius:10px;}
.quiz-question-image[hidden]{display:none;}
.quiz-question{font-size:22px;margin:0 0 26px;color:var(--text-dark);line-height:1.4;}
.quiz-options{display:grid;gap:14px;}
.quiz-option{
  display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:18px;border:2px solid var(--pink-light);
  background:var(--pink-pale);cursor:pointer;text-align:left;font-family:inherit;font-size:15px;color:var(--text-dark);
  transition:all .18s ease;width:100%;
}
.quiz-option:hover{border-color:var(--pink-mid);transform:translateX(4px);}
.quiz-option.selected{
  background:linear-gradient(135deg,var(--pink-hot),var(--pink-hot-dark));border-color:var(--pink-hot-dark);
  color:var(--white);box-shadow:var(--shadow-pink);
}
.quiz-option-key{
  width:32px;height:32px;border-radius:50%;background:var(--white);color:var(--pink-hot-dark);
  display:flex;align-items:center;justify-content:center;font-weight:800;flex:none;font-family:'Baloo 2',sans-serif;
}
.quiz-option.selected .quiz-option-key{background:rgba(255,255,255,0.25);color:var(--white);}
.quiz-option.correct-answer,.quiz-option.selected.correct-answer{background:#e4f7eb;border-color:#35a66b;color:#176b3e;box-shadow:0 0 0 2px rgba(53,166,107,.12);}
.quiz-option.correct-answer .quiz-option-key{background:#35a66b;color:#fff;}
.quiz-option.selected.wrong-answer{background:#fff0f0;border-color:#d94848;color:#9f2525;box-shadow:none;}
.quiz-option.selected.wrong-answer .quiz-option-key{background:#d94848;color:#fff;}
.quiz-option:disabled{cursor:default;}
.quiz-option:disabled:hover{transform:none;}

.quiz-nav{max-width:640px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.quiz-nav-count{font-weight:700;color:var(--text-mid);font-size:13px;}
.quiz-stage-completed-notice{max-width:640px;margin:18px auto 0;padding:16px 20px;border:1px solid #b7ebcf;border-radius:12px;background:#e7f8ed;text-align:center;}
.quiz-stage-completed-notice h3{margin:0 0 4px;color:#176b3e;font-size:18px;}
.quiz-stage-completed-notice p{margin:0;color:#315c43;font-size:13px;}

/* results / scoring */
.quiz-score-card{
  margin:0 auto 40px;text-align:center;background:var(--white);padding:44px 30px;
  border-radius:28px;box-shadow:0 16px 38px rgba(91,55,88,0.14);
}
.quiz-score-ring{
  --pct:0;width:180px;height:180px;border-radius:50%;margin:0 auto 22px;position:relative;
  background:conic-gradient(var(--pink-hot) calc(var(--pct)*1%), var(--pink-light) 0);
  transition:background .6s ease;
}
.quiz-score-ring::before{content:"";position:absolute;inset:14px;background:var(--white);border-radius:50%;}
.quiz-score-ring span{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:2;
  font-size:34px;font-weight:800;color:var(--pink-hot-dark);font-family:'Baloo 2',sans-serif;
}
.quiz-score-card h2{font-size:26px;margin:0 0 8px;}
.quiz-score-card p{color:var(--text-mid);margin:0;}
.quiz-email-status{color:var(--mint-dark) !important;font-weight:700;margin:0 0 8px !important;}
.quiz-time-summary{
  display:inline-flex;align-items:center;gap:6px;margin-top:10px !important;font-weight:700;
  color:var(--purple-deep) !important;background:var(--pink-pale);padding:6px 14px;border-radius:16px;font-size:13px;
}
.quiz-score-actions{display:flex;gap:14px;justify-content:center;margin-top:24px;flex-wrap:wrap;}

/* admin status toggle */
.toggle-switch{display:inline-block;position:relative;width:44px;height:24px;margin:0;cursor:pointer;}
.toggle-switch input{position:absolute;width:1px;height:1px;opacity:0;}
.switch-slider{position:absolute;inset:0;border-radius:999px;background:#cbd5e1;transition:background .2s ease;}
.switch-slider::before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s ease;}
.toggle-switch input:checked + .switch-slider{background:#22a06b;}
.toggle-switch input:checked + .switch-slider::before{transform:translateX(20px);}
.toggle-switch input:focus-visible + .switch-slider{outline:2px solid #4f8ef7;outline-offset:2px;}

.quiz-review{max-width:680px;margin:0 auto;display:grid;gap:16px;}
.quiz-review-item{
  background:var(--white);border-radius:20px;padding:20px 22px;border-left:6px solid var(--mint);
  box-shadow:0 6px 18px rgba(91,55,88,0.06);
}
.quiz-review-item.incorrect{border-left-color:var(--pink-hot-dark);}
.quiz-review-q{font-weight:700;margin-bottom:8px;color:var(--text-dark);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.quiz-review-time{
  flex:none;font-size:12px;font-weight:700;color:var(--purple-deep);background:var(--pink-pale);
  padding:3px 10px;border-radius:12px;white-space:nowrap;align-self:flex-start;
}
.quiz-review-a{font-size:14px;color:var(--text-mid);margin-bottom:4px;}
.quiz-review-a.correct-answer{display:inline-block;padding:5px 9px;border-radius:8px;background:#e4f7eb;color:#176b3e;}
.quiz-review-a.correct-answer strong{color:#176b3e;}
.quiz-review-a strong{color:var(--text-dark);}
.quiz-review-item.incorrect .quiz-review-a.your-answer strong{color:var(--pink-hot-dark);}
.quiz-review-item.correct .quiz-review-a.your-answer strong{color:#2FAE84;}
.quiz-review-explain{
  font-size:13px;color:var(--text-mid);margin-top:10px;padding-top:10px;border-top:1px dashed var(--pink-light);
}

@media (max-width:600px){
  .quiz-card,.quiz-setup-card,.quiz-score-card{padding:26px 22px;}
  .puzzles-hero{align-items:flex-start;padding:22px 20px;}
  .puzzles-hero-mark{width:52px;height:52px;border-radius:16px;font-size:26px;}
  .puzzles-hero h1{font-size:24px;}
  .puzzles-hero-copy{padding-right:58px;}
  .puzzles-count-badge{position:absolute;right:18px;bottom:18px;min-width:67px;padding:7px 9px;}
  .puzzles-count-badge strong{font-size:20px;}
  .quiz-question{font-size:19px;}
}

/* ---------- STUDENT DASHBOARD / WORLD CLUES ---------- */
.student-dashboard-shell{display:flex;gap:28px;align-items:flex-start;padding:0px;}
.student-sidebar{
  flex:0 0 260px;position:sticky;top:24px;background:linear-gradient(180deg,#FFFFFF,#FFF6FA);
  border:1px solid rgba(255,111,160,0.12);border-radius:24px;padding:22px 18px;box-shadow:0 18px 32px rgba(91,55,88,0.08);
}
.student-sidebar-header{margin-bottom:22px;padding-bottom:16px;border-bottom:1px solid rgba(255,111,160,0.14);}
.student-sidebar-header .eyebrow{margin-bottom:8px;padding:7px 12px;}
.student-sidebar-header h3{margin:0;font-size:22px;color:var(--text-dark);}
.student-sidebar-nav{display:grid;gap:10px;}
.student-sidebar-link{
  display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;font-weight:700;
  color:var(--text-dark);background:transparent;transition:all .2s ease;
}
.student-sidebar-link:hover,.student-sidebar-link.active{
  background:linear-gradient(135deg,var(--pink-light),var(--pink-pale));color:var(--pink-hot-dark);
  box-shadow:0 8px 18px rgba(255,111,160,0.14);
}
.student-grade-box{
  margin-top:22px;background:linear-gradient(135deg,var(--pink-light),var(--pink-pale));
  border:1px solid rgba(255,111,160,0.15);border-radius:18px;padding:14px 16px;
}
.student-grade-box small{display:block;color:var(--text-mid);font-size:12px;text-transform:uppercase;letter-spacing:0.06em;}
.student-grade-box strong{display:block;margin-top:4px;font-size:18px;color:var(--pink-hot-dark);}
.student-content{flex:1 1 auto;min-width:0;}
.student-clues-card p{max-width:600px;margin:0 auto 18px;}
.student-grade-inline{margin:0 0 18px;font-weight:700;color:var(--text-dark);text-align:center;}
.student-grade-inline strong{color:var(--pink-hot-dark);}
.empty-world-clues{
  width:100%;max-width:700px;margin:0 auto;text-align:center;padding:34px 28px;background:linear-gradient(180deg,#FFF8FB,#FDF2F7);
  border:1px solid rgba(255,111,160,0.14);border-radius:24px;box-shadow:0 12px 24px rgba(240,80,138,0.08);
}
.empty-world-clues h3{margin:0 0 10px;font-size:24px;color:var(--pink-hot-dark);}
.empty-world-clues p{margin:0;color:var(--text-mid);font-size:15px;line-height:1.6;}
.empty-world-clues strong{color:var(--text-dark);} 
.clue-card{width:100%;margin:0 auto;} 
.clue-card h3{margin:18px 0 10px;font-size:18px;color:var(--text-dark);} 
.clue-card p{margin:0 0 14px;color:var(--text-mid);}
.clue-card a{color:#d915de;font-weight:700;}
.clue-card-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:flex-start;text-align:left;}
.clue-detail{min-width:0;}
.clue-answer-detail{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;min-width:84px;}
.clue-answer-detail a {color:#FFF};
.clue-file-link{margin-top:0;}
.clue-download-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;
  background:linear-gradient(135deg,var(--pink-hot),var(--pink-hot-dark));color:var(--white);box-shadow:0 10px 18px rgba(240,80,138,0.18);
  transition:transform .2s ease, box-shadow .2s ease;}
.clue-download-btn:hover,.clue-download-btn:focus-visible{transform:translateY(-2px);box-shadow:0 14px 22px rgba(240,80,138,0.22);}
.clue-download-icon{font-size:24px;line-height:1;display:inline-block;}
@media (max-width:600px){
  .clue-card-row{grid-template-columns:1fr;}
  .clue-answer-detail{align-items:flex-start;}
}

/* ---------- PROFILE ---------- */
.profile-grid{display:flex;gap:34px;flex-wrap:wrap;align-items:flex-start;}
.profile-grid .contact-form{flex:1 1 320px;}
.profile-grid .contact-form{scroll-margin-top:110px;transition:box-shadow .3s ease;}
.profile-grid .contact-form.anchor-highlight{box-shadow:0 0 0 4px var(--pink-hot), var(--shadow-pink);}
#profileForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px;}
#profileForm .field{min-width:0;}
#profileForm .profile-field-wide{grid-column:span 3;}
#profileForm button[type="submit"],#profileForm .form-msg{grid-column:1 / -1;}
#profileForm input[name="name"]{max-width:280px;}
#profileForm input[name="email"]{max-width:340px;}
#profileForm input[name="mobile"]{max-width:220px;}
#profileForm input[name="address1"],#profileForm input[name="address2"]{max-width:100%;}
#profileForm input[name="city"],#profileForm input[name="state"]{max-width:220px;}
#profileForm input[name="zipcode"]{max-width:160px;}
#profileForm input[name="country"]{max-width:240px;}

@media (max-width:780px){
  #profileForm{grid-template-columns:repeat(2,minmax(0,1fr));}
  #profileForm .profile-field-wide{grid-column:span 2;}
}

@media (max-width:600px){
  #profileForm{grid-template-columns:1fr;gap:0;}
  #profileForm .profile-field-wide{grid-column:auto;}
  #profileForm input[name="name"],#profileForm input[name="email"],#profileForm input[name="mobile"],
  #profileForm input[name="address1"],#profileForm input[name="address2"],#profileForm input[name="city"],
  #profileForm input[name="state"],#profileForm input[name="zipcode"],#profileForm input[name="country"]{max-width:100%;}
}

/* ---------- INLINE FIELD VALIDATION ---------- */
.field.has-error input{border-color:#E0507A;background:#FFF3F6;}
.field-error{display:block;color:#E0507A;font-size:12px;font-weight:700;margin-top:6px;}

/* ---------- FOOTER ---------- */
footer{background:linear-gradient(135deg,#FF88AE,#B18CFF);color:var(--white);padding:46px 0 24px;margin-top:20px;}
.footer-grid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;}
.footer-brand{font-size:22px;font-weight:700;}
.footer-links{display:flex;gap:26px;flex-wrap:wrap;}
.footer-links a{font-weight:600;opacity:0.9;}
.footer-links a:hover{opacity:1;text-decoration:underline;}
.footer-bottom{text-align:center;font-size:13px;opacity:0.85;margin-top:30px;}
.footer-subscribe{flex:1 1 260px;max-width:360px;}
.footer-subscribe label{display:block;font-weight:700;margin-bottom:8px;}
.footer-subscribe>div:first-of-type{display:flex;gap:8px;}
.footer-subscribe input{min-width:0;flex:1;border:0;border-radius:10px;padding:10px 12px;font:inherit;}
.footer-subscribe .btn{white-space:nowrap;padding:10px 14px;}
.footer-subscribe .form-msg{color:var(--white);}

/* ---------- MODAL (jQuery + AJAX powered) ---------- */
.modal-overlay{
  position:fixed;inset:0;background:rgba(91,55,88,0.45);
  display:none;align-items:center;justify-content:center;z-index:999;padding:20px;
}
.modal-box{
  background:var(--white);width:100%;max-width:400px;border-radius:28px;padding:34px 30px 30px;
  position:relative;box-shadow:0 30px 60px rgba(91,55,88,0.35);transform:translateY(20px) scale(0.96);opacity:0;
}
.modal-box.signup-wide{max-width:680px;max-height:calc(100vh - 40px);overflow-y:auto;}
.modal-close{
  position:absolute;top:16px;right:16px;background:var(--pink-light);border:none;width:34px;height:34px;
  border-radius:50%;font-size:16px;color:var(--pink-hot-dark);cursor:pointer;
}
.modal-tabs{display:flex;background:var(--pink-pale);border-radius:30px;padding:5px;margin-bottom:24px;}
.modal-tab{
  flex:1;text-align:center;padding:10px 0;border-radius:24px;font-weight:700;font-size:14px;
  cursor:pointer;color:var(--text-mid);transition:all .25s ease;
}
.modal-tab.active{background:var(--pink-hot);color:var(--white);box-shadow:var(--shadow-pink);}
.modal-box h2{margin:0 0 4px;font-size:22px;text-align:center;}
.modal-box .sub{text-align:center;color:var(--text-mid);font-size:13px;margin:0 0 22px;}
.modal-form .field{margin-bottom:14px;}
.signup-plan-picker{border:0;padding:0;margin:0 0 20px;min-width:0;}
.signup-plan-picker legend{font-weight:700;margin-bottom:10px;color:var(--text-dark);}
.signup-plan-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.signup-plan-option{display:grid;grid-template-columns:20px 1fr;gap:8px 10px;padding:14px;border:2px solid #e8e2e8;border-radius:12px;cursor:pointer;}
.signup-plan-option.selected{border-color:var(--pink-hot);background:var(--pink-pale);}
.signup-plan-option input{grid-row:1 / span 3;margin:3px 0 0;accent-color:var(--pink-hot);}
.signup-plan-heading{display:flex;justify-content:space-between;gap:8px;color:var(--text-dark);}
.signup-plan-heading strong:last-child{white-space:nowrap;}
.signup-plan-detail,.signup-plan-features{font-size:12px;line-height:1.45;color:var(--text-mid);}
.signup-plan-disclaimer{margin:10px 0 0;color:var(--text-mid);font-size:11px;line-height:1.4;}
.modal-submit{width:100%;margin-top:6px;}
.modal-note{text-align:center;font-size:13px;color:var(--text-mid);margin-top:16px;}
.modal-note a{color:var(--pink-hot-dark);font-weight:700;}
.form-msg{display:none;text-align:center;font-size:13px;font-weight:700;margin-top:10px;}
.form-msg.success{color:#2FAE84;}
.form-msg.error{color:#E0507A;}
.student-list{display:grid;gap:8px;margin:14px 0 18px;}
.student-row{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;background:var(--pink-pale);font-size:13px;}
.student-row span{color:var(--text-mid);overflow-wrap:anywhere;}
.student-form{margin-top:18px;}
.student-limit-message{color:var(--text-mid);font-size:13px;}

@media (max-width:780px){
  .nav-links{display:none;}
  .hamburger{display:block;}
  .hero h1{font-size:38px;}
  .hero-art{min-height:300px;}
  .student-dashboard-shell{flex-direction:column;}
  .student-sidebar{position:static;width:100%;flex-basis:auto;}
}

/* ---------- WORD SEARCH ---------- */
.ws-layout{display:flex;gap:25px;align-items:flex-start;flex-wrap:wrap;justify-content:center;}
.ws-grid-wrap{flex:1 1 420px;max-width:560px;}
.ws-title{font-size:18px;color:var(--text-dark);margin:0 0 14px;text-align:center;}
.ws-grid{
  display:grid;gap:3px;background:var(--white);border-radius:20px;padding:14px;
  box-shadow:0 14px 34px rgba(91,55,88,0.1);user-select:none;touch-action:none;
}
.ws-cell{
  aspect-ratio:1;display:flex;align-items:center;justify-content:center;
  background:var(--pink-pale);border-radius:6px;font-family:'Baloo 2',sans-serif;font-weight:700;
  font-size:clamp(10px,2.4vw,16px);color:var(--text-dark);cursor:pointer;transition:background .1s ease,color .1s ease;
}
.ws-cell.is-selecting{background:var(--pink-mid);color:var(--white);}
.ws-cell.is-found{color:var(--white);}

.ws-clue-panel{flex:1 1 260px;max-width:340px;background:var(--white);border-radius:20px;padding:22px;box-shadow:0 10px 26px rgba(91,55,88,0.08);}
.ws-clue-panel h3{margin:0 0 6px;font-size:17px;color:var(--text-dark);}
.ws-clue-hint{font-size:12px;color:var(--text-mid);margin:0 0 16px;}
.ws-clue-list{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:10px;max-height:340px;overflow-y:auto;}
.ws-clue-item{
  display:flex;gap:10px;align-items:flex-start;background:var(--pink-pale);border-radius:14px;
  padding:10px 12px;font-size:12.5px;color:var(--text-dark);line-height:1.4;transition:background .2s ease;
}
.ws-clue-item .ws-clue-dot{
  flex:none;width:18px;height:18px;border-radius:50%;background:var(--pink-light);color:var(--text-mid);
  font-size:10px;display:flex;align-items:center;justify-content:center;font-weight:700;margin-top:1px;
}
.ws-clue-item.found{background:var(--pink-light);}
.ws-clue-item.found .ws-clue-dot{background:var(--mint);color:var(--white);}
.ws-clue-item.found .ws-clue-text{text-decoration:line-through;color:var(--text-mid);}

@media (max-width:600px){
  .ws-clue-panel{max-width:100%;}
  .modal-overlay{padding:10px;}
  .modal-box.signup-wide{max-height:calc(100vh - 20px);padding:30px 18px 22px;}
  .signup-plan-options{grid-template-columns:1fr;}
}
/* ---------- Topbar ---------- */
.admin-topbar{
  display:flex;align-items:center;gap:24px;background:var(--white);padding:14px 28px;
  box-shadow:0 4px 14px rgba(91,55,88,0.06);position:sticky;top:0;z-index:20;
}
.admin-logo{display:flex;align-items:center;gap:10px;font-family:'Baloo 2',sans-serif;font-weight:700;font-size:18px;color:var(--pink-hot-dark);}
.admin-logo .dot{width:26px;height:26px;background:linear-gradient(135deg,var(--pink-hot),var(--purple-soft));display:inline-block;}
.admin-badge{background:var(--pink-light);color:var(--pink-hot-dark);font-size:11px;font-weight:700;padding:3px 10px;border-radius:10px;}
.admin-nav{display:flex;gap:6px;flex:1;}
.admin-nav-link{padding:8px 16px;border-radius:20px;font-weight:700;font-size:14px;color:var(--text-mid);}
.admin-nav-link:hover{background:var(--pink-pale);color:var(--pink-hot-dark);}
.admin-topbar-right{display:flex;align-items:center;gap:14px;}
.admin-whoami{font-size:13px;color:var(--text-mid);font-weight:700;}
.admin-btn-sm{padding:8px 18px;font-size:13px;}

/* ---------- Layout ---------- */
.admin-main{padding:32px 0 60px;}
.admin-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px;flex-wrap:wrap;}
.admin-page-head h1{font-size:26px;margin:0 0 6px;color:var(--text-dark);}
.admin-page-head p{margin:0;color:var(--text-mid);font-size:14px;max-width:520px;}
.admin-page-head a{color:#FFF;font-weight:700;}
.admin-page-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}

/* ---------- Student Questions ---------- */
.question-upload-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;}
.question-upload-card h2{margin:0 0 5px;}
.question-upload-card .admin-card-sub{margin:0;max-width:650px;}
.question-upload-form{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:360px;}
.question-upload-form input[type="file"]{max-width:220px;font-size:12px;}
@media (max-width:760px){
  .question-upload-card{align-items:stretch;flex-direction:column;}
  .question-upload-form{justify-content:flex-start;min-width:0;}
  .question-upload-form input[type="file"]{max-width:100%;width:100%;}
}

/* ---------- Flash messages ---------- */
.admin-flash{padding:12px 18px;border-radius:14px;font-size:14px;font-weight:700;margin-bottom:20px;}
.admin-flash-success{background:#E3FBF3;color:#1E8E6B;}
.admin-flash-error{background:#FFE7EE;color:#C23566;}

/* ---------- Table ---------- */
.admin-table-wrap{background:var(--white);border-radius:20px;box-shadow:0 6px 20px rgba(91,55,88,0.06);overflow-x:auto;}
.admin-table{width:100%;border-collapse:collapse;font-size:14px;}
.admin-table th{
  text-align:left;padding:14px 16px;font-size:12px;text-transform:uppercase;letter-spacing:0.04em;
  color:var(--text-mid);border-bottom:2px solid var(--pink-pale);white-space:nowrap;
}
.admin-table td{padding:12px 16px;border-bottom:1px solid var(--pink-pale);color:var(--text-dark);vertical-align:middle;}
.admin-table tr:last-child td{border-bottom:none;}
.admin-table-actions{display:flex;gap:6px;}

.admin-empty-state{background:var(--white);border-radius:20px;padding:50px;text-align:center;color:var(--text-mid);}
.admin-empty-state p{margin:0 0 16px;}

/* ---------- Status toggle ---------- */
.admin-status-toggle{
  display:inline-flex;align-items:center;gap:7px;border:none;background:var(--pink-light);color:var(--text-mid);
  font-weight:700;font-size:12px;padding:7px 14px;border-radius:16px;cursor:pointer;transition:all .2s ease;
}
.admin-status-dot{width:8px;height:8px;border-radius:50%;background:var(--text-mid);}
.admin-status-toggle.is-on{background:#E3FBF3;color:#1E8E6B;}
.admin-status-toggle.is-on .admin-status-dot{background:var(--mint);}

/* ---------- Icon buttons ---------- */
.admin-icon-btn{
  width:32px;height:32px;border-radius:10px;background:var(--pink-pale);color:var(--pink-hot-dark);border:none;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;text-decoration:none;
}
.admin-icon-btn:hover{background:var(--pink-light);}
.admin-icon-btn-danger{color:#C23566;}
.admin-icon-btn-danger:hover{background:#FFE1EA;}
.admin-inline-form{display:inline;}

/* ---------- Cards / form ---------- */
.admin-card{background:var(--white);border-radius:20px;padding:26px;margin-bottom:20px;box-shadow:0 6px 20px rgba(91,55,88,0.06);}
.admin-card h2{margin:0 0 6px;font-size:18px;color:var(--text-dark);}
.admin-card-sub{margin:0 0 18px;color:var(--text-mid);font-size:13px;}
.admin-card-sub-inline{font-weight:400;color:var(--text-mid);font-size:13px;}
.admin-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:16px;}
.admin-checkbox{display:flex;align-items:center;gap:8px;font-weight:700;font-size:13px;color:var(--text-dark);}
.admin-form-actions{display:flex;gap:14px;margin-top:6px;}

.admin-clue-rows,.admin-decoy-rows{display:grid;gap:10px;margin-bottom:14px;}
.admin-clue-row{display:grid;grid-template-columns:1fr 160px 32px;gap:10px;align-items:start;}
.admin-decoy-row{display:grid;grid-template-columns:1fr 32px;gap:10px;align-items:center;}
.admin-clue-row textarea,.admin-clue-row input,.admin-decoy-row input{
  padding:10px 14px;border-radius:12px;border:2px solid #FBD3E4;background:var(--pink-pale);
  font-family:inherit;font-size:13px;color:var(--text-dark);outline:none;resize:vertical;
}
.admin-clue-row textarea:focus,.admin-clue-row input:focus,.admin-decoy-row input:focus{border-color:var(--pink-hot);}

.wrap-narrow{ max-width: 720px; }
 
.about-hero{
  background: linear-gradient(160deg, var(--pink-hot), var(--purple-soft));
  color: #fff;
  text-align: center;
  padding-block: 72px 56px;
}
.about-hero .eyebrow{
  color: #fff;
  opacity: .9;
}
.about-title{
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 800;
  margin-top: 12px;
  line-height: 1.2;
}
.about-title span{ color: var(--yellow-sun); }
 
.about-block{
  padding-block: 56px;
}
.about-block-tint{ background: #fff8fb; }
.about-block p{
  font-size: 16px;
  line-height: 1.75;
  color: #4a4555;
  margin-bottom: 16px;
}
.about-lead{
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}
 
.about-quote{
  margin: 26px 0;
  padding: 20px 26px;
  border-left: 5px solid var(--pink-hot);
  background: #fff;
  border-radius: 14px;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
 
.section-title-left{
  text-align: left;
  margin-bottom: 18px;
}
 
.subject-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.subject-pill{
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.subject-pill-history{ background: linear-gradient(135deg, var(--pink-hot), #ff8fab); }
.subject-pill-geography{ background: linear-gradient(135deg, var(--purple-soft), #8b7ffb); }
.subject-pill-science{ background: linear-gradient(135deg, var(--mint), #3bd6b0); }
 
/* founder-grid / founder-art / founder-badge / closing-motto / eyebrow
   are already defined in home-additions.css and are reused here. */
 
.founder-copy h2{
  font-size: 1.5rem;
  line-height: 1.4;
}
 
