/* Reading hierarchy: context, one main idea, then a concrete example.
   Loaded after site.css. Shared surfaces keep the section colors in the background. */
:root {
  --card-paper: #fffdfb;
  --card-ink: #34283f;
  --card-muted: #726779;
  --card-line: #eae3ee;
  --card-accent: #7535a2;
}

.family-summary-card, .family-skill-card, .coordinator-card, .teacher-card {
  background: var(--card-paper);
  border: 1px solid #eae3ee;
  border-radius: 20px;
  box-shadow: 0 8px 24px -18px #38234530;
  color: var(--card-ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 24px;
}
.family-summary-card h2, .family-skill-card h3, .coordinator-card h3,
.teacher-card h3 {
  color: var(--card-ink);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.5px;
}
.family-summary-card > p, .family-skill-card p,
.coordinator-card > p:last-child, .teacher-card > p:not(.teacher-card-label) {
  color: var(--card-muted);
  font-size: 14px;
  line-height: 1.65;
}
.hero-card-kicker, .coordinator-card-label, .teacher-card-label {
  color: var(--card-accent);
  font-size: 10px;
  font-weight: 550;
  line-height: 1.5;
}
.coordinator-card-label span, .teacher-card-label > span {
  background: none;
  padding: 0;
  margin: 0;
  color: var(--card-muted);
  font-size: 11px;
  font-weight: 400;
}

/* The opening cards read as two notes, with smaller supporting illustrations. */
.family-hero-cards { gap: 14px; }
.family-summary-card header { gap: 12px; margin-bottom: 16px; }
.hero-card-art, .family-skill-card .hero-card-art { width: 42px; height: 42px; margin: 0; }
.family-summary-card h2 { font-size: 25px; margin-bottom: 12px; }
.family-summary-card strong { font-weight: 400; color: inherit; }
.family-skill-card { margin: 0; align-items: flex-start; gap: 12px; }
.family-skill-card h3 { font-size: 21px; margin: 8px 0; }
.family-skill-card p { font-size: 13px; }

/* Coordination: one surface, restrained profiles and unboxed evidence. */
.coordinator-card-step { margin-left: 0; }
.coordinator-card-label { margin-bottom: 16px; }
.student-card-avatar { width: 48px; height: 48px; border-radius: 50%; }
.student-card-profile { gap: 12px; margin-bottom: 18px; }
.student-card-profile h3 { font-size: 23px; margin-bottom: 3px; }
.student-observation {
  padding: 14px 0 0;
  border-top: 1px solid var(--card-line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.student-observation > strong { font-weight: 550; }
.student-observation p, .student-next-steps dd { font-size: 14px; color: var(--card-muted); }
.student-card-note { font-size: 11px; color: var(--card-muted); }
.student-step-heading { align-items: flex-start; margin-bottom: 18px; }
.student-step-heading h3 { font-size: 21px; }
.student-next-steps { border: 0; padding: 0; gap: 14px; }
.student-next-steps dt { font-size: 11px; font-weight: 500; color: var(--card-accent); }
.student-potential-heading img { width: 40px; height: 40px; }
.student-potential-heading h3 { font-size: 21px; }
.student-talent-tags { gap: 0; margin-block: 16px; }
.student-talent-tags li {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 12px;
}
.student-talent-tags li + li::before { content: '·'; padding-inline: 8px; }

/* Teachers: purple context headers and distinct stages of individual progress. */
.teacher-card-label, .teacher-plan-card .teacher-card-label {
  flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px; min-height: 64px; padding: 14px 16px; margin-bottom: 20px;
  border-radius: 12px; background: linear-gradient(120deg, #542080, #8540b1);
  color: #fff; font-size: 10px; font-weight: 650; line-height: 1.5;
}
.teacher-card .teacher-card-label > span, .teacher-plan-card .teacher-card-label > span {
  align-self: center; margin: 0; padding: 3px 8px; border-radius: 6px;
  background: #ffffff1f; color: #fff; border: 1px solid #ffffff30;
  font-size: 10px; white-space: nowrap; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.teacher-card h3 { font-size: 23px; margin-bottom: 14px; }
.teacher-student { align-items: flex-start; }
.teacher-student h3 { font-size: 22px; margin: 0; }
.teacher-method, .teacher-activity {
  background: none;
  border: 0;
  border-top: 1px solid var(--card-line);
  border-radius: 0;
  padding: 16px 0 0;
  box-shadow: none;
}
.teacher-method { gap: 6px; margin-top: 22px; }
.teacher-method span, .teacher-activity > span, .teacher-progress span,
.teacher-plan-note strong { color: var(--card-accent); font-size: 11px; font-weight: 500; text-transform: none; }
.teacher-method strong { color: var(--card-ink); font-size: 17px; font-weight: 550; }
.teacher-progress { gap: 12px; }
.teacher-progress p {
  padding: 16px 18px; border: 1px solid #ece3f3; border-radius: 12px;
  background: #f6f1fa;
}
.teacher-progress .teacher-progress-result {
  background: linear-gradient(120deg, #f0e4fa, #f7f1fc); border-color: #e5d4f2;
}
.teacher-progress span { font-weight: 600; margin-bottom: 7px; }
.teacher-progress p, .teacher-activity p { font-size: 14px; font-weight: 400; line-height: 1.65; color: var(--card-muted); }
.teacher-progress strong { font-weight: 550; color: var(--card-ink); }
.teacher-plan-note { margin-top: 18px; }
.teacher-decision { color: var(--card-muted); font-size: 11px; font-weight: 400; margin-top: 18px; }

/* Family: three equally structured notes beside one conversation. */
.family-bento-grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.family-information-cards { display: grid; grid-template-columns: 1fr; gap: 16px; min-width: 0; }
.family-information-cards > article {
  display: block;
  grid-column: auto;
  padding: 28px;
  border: 1px solid #ffffff2b;
  border-radius: 20px;
  background: #fffdfb;
  color: var(--card-ink);
}
.family-card-heading { display: flex; gap: 16px; align-items: flex-start; }
.family-card-heading > div { min-width: 0; }
.family-card-heading .family-bento-art { width: 44px; height: 44px; margin: 0; }
.family-information-cards .family-bento-label { font-size: 11px; font-weight: 500; line-height: 1.5; color: var(--card-accent); }
.family-information-cards h3 { font-size: 25px; font-weight: 600; line-height: 1.25; letter-spacing: -.6px; margin: 6px 0 0; }
.family-information-cards article > p { font-size: 15px; line-height: 1.65; color: var(--card-muted); margin: 16px 0 0; }
.family-card-example { border-top: 1px solid var(--card-line); margin-top: 20px; padding-top: 16px; }
.family-card-example > span { display: block; font-size: 11px; font-weight: 550; color: var(--card-accent); margin-bottom: 5px; }
.family-card-example p { font-size: 15px; line-height: 1.6; color: var(--card-ink); }
.family-card-example .family-card-prompt { margin-top: 9px; color: var(--card-muted); font-size: 14px; }

/* Lua keeps her character, with a single calm surface around the conversation. */
.family-lua-card { grid-column: 2; grid-row: auto; background: #f6f0fa; border: 1px solid #eae0f1; border-radius: 20px; align-self: stretch; }
.family-lua-photo { height: 200px; }
.family-lua-photo-label { background: #ffffffed; color: #594266; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 7px 12px; }
.family-lua-intro { background: none; padding-block: 26px 8px; gap: 12px; margin-bottom: 0; }
.family-lua-intro .family-bento-label { font-size: 10px; font-weight: 500; }
.family-lua-intro h3 { font-size: 25px; margin-top: 8px; line-height: 1.3; }
.family-lua-mascot { width: 84px; height: 76px; margin-left: -10px; filter: none; }
.family-chat-toggle { color: #70438b; border-color: #d6c4e2; background: transparent; }
.family-chat-toggle:hover { background: #e9dff1; }
.family-chat-parent > span { color: #786680; }
.family-chat-parent .family-chat-question { background: #e8dcef; color: #503163; }
.family-chat-lua .family-chat-answer { background: #fff; color: #503e5b; border: 1px solid #eae1ef; }
.family-chat-avatar { display: none; }
.family-chat-lua { width: 100%; }
.is-motion-ready .family-lua-conversation { min-height: 360px; }

@media (max-width: 1100px) {
  .family-hero-scene { aspect-ratio: auto; }
  .family-hero-photo { height: auto; aspect-ratio: 1.6; }
  .family-hero-cards { position: relative; inset: auto; width: auto; margin: -32px 24px 24px; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .coordinator-scene { aspect-ratio: auto; min-height: 0; }
  .coordinator-photo { height: auto; aspect-ratio: 1.8; }
  .coordinator-examples { position: relative; inset: auto; width: auto; margin: -32px 20px 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .coordinator-card { position: relative; }
  .family-summary-card, .family-skill-card, .coordinator-card { padding: 20px; }
  .family-summary-card h2 { font-size: 23px; }
  .family-skill-card { display: block; }
  .family-skill-card .hero-card-art { margin-bottom: 12px; }
  .family-card-heading { gap: 12px; }
  .family-information-cards > article { padding: 24px; }
  .family-information-cards h3 { font-size: 23px; }
}
@media (max-width: 900px) {
  .coordinator-examples { grid-template-columns: 1fr; }
  .coordinator-card { max-width: none; align-self: stretch; }
  .family-lua-card { display: flex; grid-column: auto; }
  .family-lua-photo { min-height: 0; height: 180px; }
  .family-lua-intro { align-items: flex-start; }
  .family-lua-mascot { width: 62px; height: 62px; margin-left: -8px; }
  .family-lua-intro h3 { font-size: 22px; }
}
@media (max-width: 600px) {
  .family-hero-photo, .coordinator-photo { aspect-ratio: 1.1; }
  .family-hero-cards { display: flex; margin: -24px 0 16px; }
  .coordinator-examples { display: flex; margin: -22px 0 14px; }
  .teacher-content { padding-inline: 0; }
  .teacher-cards { margin-inline: 0; }
  .family-summary-card, .family-skill-card, .coordinator-card, .teacher-card { padding: 24px; }
  .family-skill-card { display: block; }
  .family-summary-card h2, .family-skill-card h3, .coordinator-card h3, .teacher-card h3 { font-size: 23px; }
  .family-skill-card .hero-card-art { margin-bottom: 12px; }
  .family-skill-card p { font-size: 14px; }
  .coordinator-card-label { font-size: 10px; }
  .teacher-student { display: block; }
  .teacher-student img { width: 36px; height: 36px; margin-bottom: 12px; }
  .family-bento-grid { grid-template-columns: 1fr; gap: 24px; }
  .family-information-cards { display: flex; gap: 12px; }
  .family-information-cards > article { flex: 0 0 100%; width: 100%; margin: 0; padding: 24px; }
  .family-card-heading { flex-direction: column; gap: 16px; }
  .family-card-heading .family-bento-art { width: 40px; height: 40px; }
  .family-information-cards h3 { font-size: 25px; }
  .family-information-cards article > p, .family-card-example p { font-size: 15px; }
  .family-bento-grid > .mobile-card-pagination { margin-top: -20px; }
  .family-lua-card { grid-column: auto; }
  .family-lua-photo { height: 190px; }
  .family-lua-intro { align-items: center; }
  .family-lua-intro h3 { font-size: 24px; }
  .family-lua-mascot { width: 80px; height: 74px; }
}
@media (forced-colors: active) {
  .family-summary-card, .family-skill-card, .coordinator-card, .teacher-card,
  .family-information-cards > article, .family-lua-card, .family-chat-answer {
    background: Canvas; color: CanvasText; border-color: CanvasText;
  }
  .family-card-example { border-color: CanvasText; }
  .teacher-card-label, .teacher-plan-card .teacher-card-label,
  .teacher-card-label > span, .teacher-plan-card .teacher-card-label > span,
  .teacher-progress p, .teacher-progress .teacher-progress-result {
    background: Canvas; color: CanvasText; border: 1px solid CanvasText;
  }
}
