/* ============================================
   CCC Language & Literacy — stylesheet
   ============================================ */

:root {
  /* Brand palette, pulled from the logo */
  --purple: #7c6ce0;
  --purple-dark: #5f4fc4;
  --coral: #e8623c;
  --pink: #f0729a;
  --sky: #4fb3e0;
  --sky-light: #cfe9f9;
  --green: #1f9d5a;
  --peach: #f8c98a;
  --amber: #eda323;
  --teal-ink: #2b4c56;

  --ink: #2c2a35;
  --ink-soft: #5a5866;
  --cream: #fdf8ee;
  --cream-deep: #f7ecd8;
  --white: #ffffff;
  --line: #ece2cd;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 30px -14px rgba(60, 45, 20, 0.25);
  --container: 1120px;

  --font-heading: "Baloo 2", "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--purple-dark);
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  background: #fdeee7;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 22px -10px rgba(232, 98, 60, 0.65);
}

.btn-primary:hover {
  background: #d8532e;
}

.btn-ghost {
  background: transparent;
  border-color: var(--purple);
  color: var(--purple-dark);
}

.btn-ghost:hover {
  background: rgba(124, 108, 224, 0.08);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}

.nav a:hover {
  color: var(--coral);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--purple-dark);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-dark);
  background: #ece7fb;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 20px;
}

.hero h1 .accent-coral { color: var(--coral); }
.hero h1 .accent-green { color: var(--green); }
.hero h1 .accent-sky { color: var(--sky); }
.hero h1 .accent-pink { color: var(--pink); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-art {
  position: relative;
}

.hero-logo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 48px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-card img {
  width: 100%;
  max-width: 420px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  z-index: 1;
}

.blob-1 { width: 260px; height: 260px; background: var(--sky-light); top: -80px; right: -60px; }
.blob-2 { width: 180px; height: 180px; background: var(--peach); bottom: -60px; left: -40px; opacity: 0.6; }

/* ---------- Cloud divider ---------- */

.cloud-divider {
  display: block;
  width: 100%;
  height: 48px;
}

/* ---------- About ---------- */

.about {
  background: var(--white);
  padding-bottom: 40px;
}

/* Same white background as About directly above it, so the two sections
   sit closer together with a hairline to mark the break instead of a full
   band of blank space between them. */
#credentials {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.about-grid--3col {
  grid-template-columns: 0.6fr 1.35fr 0.85fr;
  gap: 36px;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-wrap::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: -10px;
  bottom: -10px;
  background: var(--peach);
  border-radius: var(--radius-md);
  z-index: 0;
}

.about-photo-wrap {
  max-width: 240px;
}

.about-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
}

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: flex;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
}

.about-body p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.signature {
  font-family: var(--font-heading);
  color: var(--purple-dark);
  font-size: 1.2rem;
  margin-top: 24px;
}

/* ---------- Why it matters ---------- */

.why-note {
  max-width: 720px;
  margin: 40px auto 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */

.services-group {
  margin-bottom: 56px;
}

.services-group:last-child {
  margin-bottom: 0;
}

.services-group-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.services-group-head h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.services-group-head p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.services-group-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.services-group-tag--school {
  background: #eaf5fb;
  color: #1c7fa8;
}

.services-group-tag--family {
  background: #fbeaf1;
  color: #c94b76;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card--cta {
  background: var(--cream);
  border-style: dashed;
}

/* ---------- School tiers (Primary / Secondary) ---------- */

.school-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tier-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.tier-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.tier-head h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--purple-dark);
  margin: 0 0 4px;
}

.tier-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 999px;
}

.tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.tier-list li svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.tier-list li a {
  color: var(--purple-dark);
  font-weight: 600;
  text-decoration: none;
}

.tier-list li a:hover {
  color: var(--coral);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- Who I work with ---------- */

.who {
  background: var(--purple-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.who .section-heading h2,
.who .section-heading p {
  color: var(--white);
}

.who .section-heading p {
  color: #ded9f7;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.who-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.who-card h3 {
  color: var(--white);
  font-size: 1.08rem;
}

.who-card p {
  color: #ded9f7;
  font-size: 0.94rem;
  margin-bottom: 0;
}

.who-card .service-icon {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- Credentials ---------- */

.credential-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.credential-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--purple-dark);
  border: 1px solid var(--line);
}

.credential-badge:nth-child(6n+2) { background: #fdeee7; color: #b8502f; }
.credential-badge:nth-child(6n+3) { background: #eaf5fb; color: #1c7fa8; }
.credential-badge:nth-child(6n+4) { background: #e8f6ee; color: #1c7a45; }
.credential-badge:nth-child(6n+5) { background: #fbeaf1; color: #c94b76; }
.credential-badge:nth-child(6n+6) { background: #fdf3e2; color: #a8720f; }

.experience-grid {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.experience-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.experience-grid li svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

/* ---------- Approach ---------- */

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.approach-card {
  text-align: center;
  padding: 8px 12px;
}

.approach-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 16px;
}

.approach-card h3 {
  font-size: 1.04rem;
}

.approach-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}

.contact-info {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.contact-info h3 {
  font-size: 1.2rem;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-row a {
  text-decoration: none;
  font-weight: 600;
  color: var(--purple-dark);
}

.contact-row a:hover {
  color: var(--coral);
}

.contact-row small {
  display: block;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 2px;
}

.mhfa-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.mhfa-note svg {
  flex: none;
  margin-top: 2px;
}

.mhfa-note p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.mhfa-note a {
  color: var(--purple-dark);
  font-weight: 600;
  text-decoration: none;
}

.mhfa-note a:hover {
  color: var(--coral);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--cream);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 12px;
  margin-bottom: 0;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: #e5f6ec;
  color: #1c7a45;
}

.form-status.error {
  display: block;
  background: #fdeceb;
  color: #b5402a;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cfcbe2;
  padding: 48px 0 28px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 34px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #cfcbe2;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--peach);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #9c97b8;
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid--3col .about-photo-wrap {
    margin: 0 auto 8px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .who-grid {
    grid-template-columns: 1fr;
  }

  .school-tiers {
    grid-template-columns: 1fr;
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav,
  .header-cta .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.nav-open .nav {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 60px 0;
  }

  .about {
    padding-bottom: 28px;
  }

  #credentials {
    padding-top: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
