/* =========================================================
   A Little Schoolhouse Christian Learning Academy
   Shared styles for every page. Change colors in :root and
   they change everywhere.
   ========================================================= */

:root {
  /* brand colors */
  --red: #EE7079;
  --red-pale: #F8C3C6;
  --blue: #8FD0F5;
  --blue-pale: #D9F0FF;
  --yellow: #FFD84D;
  --yellow-pale: #FFF0B8;
  --green: #9BDDAA;
  --green-pale: #D3F0DB;
  --cream: #FFF6E0;

  /* text and lines */
  --ink: #1A1A1A;
  --line: #E6E6E6;
  --white: #FFFFFF;

  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --page-width: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

/* ---------- layout helpers ---------- */
.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding-top: 64px; }
.kicker {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  flex: none;
}
.dot-lg { width: 44px; height: 44px; }
.dot-red { background: var(--red); }
.dot-yellow { background: var(--yellow); }
.dot-green { background: var(--green); }
.dot-blue { background: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
}
.btn:hover { filter: brightness(0.96); }

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 56px; width: auto; }
.brand-name { font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.brand-name span { display: block; font-weight: 600; font-size: 15px; letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 2px; font-weight: 600; font-size: 15px; }
.nav a { padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--yellow-pale); }
.nav a.active { background: var(--yellow-pale); }
.nav a.nav-cta { margin-left: 10px; padding: 11px 22px; background: var(--red); font-weight: 700; }
.nav a.nav-cta:hover { filter: brightness(0.96); }

.menu-button {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 8px 14px;
  font: 700 15px var(--font);
  color: var(--ink);
  cursor: pointer;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}

/* ---------- home page ---------- */
.hero {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 560px;
  background: var(--blue-pale) url('images/hero-bubbles.jpg') center 35% / cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero-card {
  background: var(--white);
  margin: 40px;
  padding: 30px 34px;
  border-radius: 24px;
  max-width: 440px;
}
.hero-card .dots { display: flex; gap: 8px; margin-bottom: 18px; }
.hero-card h1 {
  font-weight: 800;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.hero-card p { margin: 0; font-size: 16px; font-weight: 500; }

.highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 { margin: 0; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 16px; font-weight: 500; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}
.split h2 { font-weight: 800; font-size: 46px; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.underline-bar { width: 72px; height: 8px; border-radius: 4px; background: var(--yellow); margin-top: 22px; }
.split p { font-size: 19px; line-height: 1.7; font-weight: 500; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.chip.c-red { background: var(--red-pale); }
.chip.c-yellow { background: var(--yellow-pale); }
.chip.c-green { background: var(--green-pale); }
.chip.c-blue { background: var(--blue-pale); }

.cta-band {
  background: var(--cream);
  border-radius: 32px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { margin: 0 0 8px; font-weight: 800; font-size: 36px; letter-spacing: -0.02em; }
.cta-band p { margin: 0; font-size: 18px; font-weight: 500; }
.cta-band .btn { font-size: 17px; padding: 16px 32px; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 960px) {
  .container, .header-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .menu-button { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .brand-name { font-size: 18px; }
  .brand-name span { font-size: 13px; }
  .brand img { height: 46px; }

  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split h2 { font-size: 36px; }
  /* on phones the photo sits on top and the text card goes underneath,
     so the card never covers the child's face */
  .hero { display: block; min-height: 0; background: var(--white); border: 1px solid var(--line); }
  .hero::before {
    content: '';
    display: block;
    height: 320px;
    background: url('images/hero-bubbles.jpg') center 30% / cover no-repeat;
  }
  .hero-card { margin: 0; max-width: none; border-radius: 0; padding: 26px 24px 30px; }
  .hero-card h1 { font-size: 34px; }
  .cta-band { padding: 36px 28px; }
}
@media (max-width: 560px) {
  .highlights { grid-template-columns: 1fr; }
}

/* =========================================================
   Pieces shared by the inner pages (Mission, Staff, etc.)
   ========================================================= */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  padding-top: 56px;
}
.page-hero h1 {
  font-weight: 800;
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.page-hero p { font-size: 18px; line-height: 1.7; font-weight: 500; margin-bottom: 14px; }
.photo-round {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 32px;
}

.band {
  background: var(--cream);
  border-radius: 32px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  align-items: center;
}
.band h2 { font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.band p { font-size: 19px; line-height: 1.7; font-weight: 500; margin-bottom: 20px; }
.tag {
  display: inline-block;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid-3 .card { padding: 32px; gap: 14px; }
.grid-3 .card p { line-height: 1.7; }
.grid-3 .dot { width: 40px; height: 40px; }

.note {
  background: var(--blue-pale);
  border-radius: 24px;
  padding: 28px 36px;
}
.note p { margin: 0; font-size: 16px; line-height: 1.7; font-weight: 500; }

@media (max-width: 960px) {
  .page-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .page-hero h1 { font-size: 38px; }
  .band { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
  .band h2 { font-size: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Staff page ---------- */
.page-hero.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; }
.photo-plain { display: block; width: 100%; height: auto; border-radius: 32px; }

.director {
  background: var(--cream);
  border-radius: 32px;
  padding: 40px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
.director img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }
.director .role { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.director .role .dot { width: 14px; height: 14px; }
.director .role span:last-child { font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.director h2 { font-weight: 800; font-size: 38px; letter-spacing: -0.02em; margin: 0 0 14px; }
.director p { font-size: 18px; line-height: 1.7; font-weight: 500; margin: 0; }

.group-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.group-head .dot { width: 18px; height: 18px; flex: none; }
.group-head h2 { font-weight: 800; font-size: 32px; letter-spacing: -0.02em; margin: 0; }

.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.team img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }
.team .name { font-weight: 800; font-size: 22px; margin-top: 14px; letter-spacing: -0.01em; }
.team .title { font-size: 15px; font-weight: 500; margin-top: 2px; }

@media (max-width: 960px) {
  .page-hero.wide { grid-template-columns: 1fr; gap: 28px; }
  .director { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .director img { max-width: 240px; }
  .director h2 { font-size: 30px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .group-head h2 { font-size: 26px; }
}

/* ---------- Testimonies page ---------- */
.page-hero.single { grid-template-columns: 1fr; }
.page-hero.single p { font-size: 19px; margin: 0; }

.feature-quote {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
  padding-top: 44px;
}
.feature-quote img { display: block; width: 100%; aspect-ratio: 1542 / 1905; object-fit: cover; border-radius: 32px; }
.feature-quote .dots { display: flex; gap: 8px; margin-bottom: 24px; }
.feature-quote .dots .dot { width: 14px; height: 14px; }
.big-qmark { display: block; font-weight: 800; font-size: 96px; line-height: 0.6; height: 44px; }
.feature-quote blockquote { margin: 0; font-size: 27px; line-height: 1.55; font-weight: 700; letter-spacing: -0.01em; }

.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; border-radius: 28px; padding: 32px 34px; }
.quote .qmark { display: block; font-weight: 800; font-size: 64px; line-height: 0.6; height: 30px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.7; font-weight: 500; }
.q-yellow { background: var(--yellow-pale); }
.q-green { background: var(--green-pale); }
.q-blue { background: var(--blue-pale); }
.q-red { background: var(--red-pale); }

.band.center { display: block; text-align: center; }
.band.center h2 { margin-bottom: 8px; }
.band.center p { margin: 0 0 24px; }

@media (max-width: 960px) {
  .feature-quote { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .feature-quote img { aspect-ratio: 4 / 3; }
  .feature-quote blockquote { font-size: 21px; }
  .quote-grid { grid-template-columns: 1fr; }
  .band.center { padding: 32px 24px; }
}

/* ---------- Programs page ---------- */
.page-hero.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }

.program-list { display: flex; flex-direction: column; gap: 20px; }
.program {
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
}
.program-side { padding: 36px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.program-side h2 { font-weight: 800; font-size: 30px; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.program-side .dot { width: 40px; height: 40px; }
.bg-red { background: var(--red-pale); }
.bg-yellow { background: var(--yellow-pale); }
.bg-green { background: var(--green-pale); }
.pills { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pill { background: var(--white); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.program-text { padding: 36px 40px; display: flex; align-items: center; }
.program-text p { margin: 0; font-size: 17px; line-height: 1.75; font-weight: 500; }

.video { border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video.placeholder { background: #F1F1F1; aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; text-align: center; padding: 20px; }

@media (max-width: 960px) {
  .page-hero.even { grid-template-columns: 1fr; gap: 28px; }
  .program { grid-template-columns: 1fr; }
  .program-side { padding: 28px 24px; }
  .program-side h2 { font-size: 26px; }
  .program-text { padding: 24px; }
  .video.placeholder { aspect-ratio: 16 / 9; }
}

/* ---------- Enrollment page ---------- */
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-lg { padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 17px; }
.bg-blue { background: var(--blue-pale); }
.pills .pill.bg-blue, .pills .pill.bg-green { background: var(--blue-pale); }
.pills .pill.bg-green { background: var(--green-pale); }
.pills { flex-direction: row; }

.class-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 40px; }
.class-link { border-radius: 32px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: transform .15s; }
.class-link:hover { transform: translateY(-3px); }
.class-link .kicker { margin-bottom: 10px; }
.class-title { font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; }
.arrow { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 28px; }
.arrow.sm { width: 44px; height: 44px; font-size: 22px; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 20px; }
.info-grid .card { padding: 36px; gap: 14px; border-radius: 28px; }
.info-grid .card p { line-height: 1.7; margin: 0; }
.info-grid .dot { width: 40px; height: 40px; flex: none; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bw-logo { height: 36px; width: auto; display: block; }
.btn-outline { align-self: flex-start; border: 2px solid var(--ink); padding: 12px 24px; border-radius: 999px; font-weight: 700; margin-top: 6px; }
.btn-outline:hover { background: var(--yellow-pale); }

.doc-links { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 20px; }
.doc-link { flex: 1; min-width: 260px; border-radius: 999px; padding: 22px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }

@media (max-width: 960px) {
  .class-links, .info-grid { grid-template-columns: 1fr; }
  .class-link { padding: 28px; }
  .class-title { font-size: 26px; }
  .arrow { width: 48px; height: 48px; font-size: 22px; }
  .info-grid .card { padding: 28px; }
  .pill-lg { font-size: 15px; padding: 10px 18px; }
}

/* ---------- Pricing page ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.price-card { border-radius: 32px; padding: 36px 36px 24px; display: flex; flex-direction: column; }
.price-title { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.price-title .dot { width: 24px; height: 24px; flex: none; }
.price-title h3 { margin: 0; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.price-note { font-size: 15px; line-height: 1.6; font-weight: 500; margin-bottom: 18px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-top: 1px solid rgba(26, 26, 26, 0.15); }
.price-row .plabel { font-weight: 700; font-size: 17px; }
.price-row .sub { font-size: 14px; margin-top: 3px; font-weight: 500; }
.price-row .pprice { font-weight: 800; font-size: 19px; text-align: right; }
.price-foot { margin: 12px 0 8px; font-size: 14px; font-weight: 700; border-top: 1px solid rgba(26, 26, 26, 0.15); padding-top: 14px; }

@media (max-width: 960px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 24px 16px; }
  .price-title h3 { font-size: 24px; }
  .price-row { gap: 12px; }
  .price-row .plabel { font-size: 16px; }
  .price-row .pprice { font-size: 17px; }
}

.page-hero.single .pill-lg { display: inline-block; }
.price-row .pprice { white-space: nowrap; }
@media (max-width: 960px) {
  .page-hero.single .pill-lg { border-radius: 20px; }
  .price-row .pprice { font-size: 16px; }
  .price-row .plabel { font-size: 15px; }
}

/* ---------- Learn More page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 44px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form-card label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 15px; }
.form-card input[type="text"], .form-card input[type="email"], .form-card textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid #CFCFCF; border-radius: 16px;
  font: 500 16px 'Plus Jakarta Sans', sans-serif; color: var(--ink); background: var(--white);
}
.form-card input:focus, .form-card textarea:focus { outline: 3px solid var(--blue); border-color: var(--ink); }
.form-card textarea { height: 150px; resize: vertical; }
.form-card .check { font-weight: 500; display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.form-card button { align-self: flex-start; border: 0; cursor: pointer; font: 700 17px 'Plus Jakarta Sans', sans-serif; margin-top: 6px; }

.side-col { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--cream); border-radius: 32px; padding: 36px 40px 20px; }
.info-card h2 { font-weight: 800; font-size: 28px; letter-spacing: -0.02em; margin: 0 0 14px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.info-row .dot { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.info-row .il { font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.info-row .iv { font-size: 17px; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.info-row .iv a:hover { text-decoration: underline; }
.map { border-radius: 32px; overflow: hidden; min-height: 280px; background: #F1F1F1; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; padding-top: 28px; }
  .form-card { padding: 28px 24px; }
  .info-card { padding: 28px 24px 12px; }
}

.map { position: relative; }
.map-link { position: absolute; left: 16px; bottom: 16px; background: var(--white); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.map-link:hover { background: var(--yellow-pale); }

/* Enrollment buttons before applications open */
.class-link.is-closed { cursor: default; }
.class-link.is-closed:hover { transform: none; }
.closed-tag { flex: none; background: var(--white); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 16px; white-space: nowrap; }
@media (max-width: 960px) { .closed-tag { padding: 10px 16px; font-size: 15px; } }
