/* BBS 24 HOUR LEARNING CENTER
   Angel corner palette
   CLOUD-BLUSH #F0E2E4 / NIGHTWATCH #282852 / ANGEL-BLUE #587CC6
   CREAM-YELLOW #FCF0A4 / WING-CARD #F6F8E0 / CHALK-GREEN #92B06E
   HALO-GOLD #E6B05A / CRAYON-RED #E8705C
   Skeleton roots: .angelbay .learnrow .crayonrow .haleband .starbook */

:root {
  --cloud-blush: #F0E2E4;
  --nightwatch: #282852;
  --angel-blue: #587CC6;
  --cream-yellow: #FCF0A4;
  --wing-card: #F6F8E0;
  --chalk-green: #92B06E;
  --halo-gold: #E6B05A;
  --crayon-red: #E8705C;
  --nightwatch-soft: #3A3A66;
  --chalk-deep: #566B3F;
  --blue-deep: #3C5FA6;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.7;
  color: #282852;
  background: #F0E2E4;
  overflow-x: hidden;
}

a {
  color: #587CC6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: #3C5FA6;
}

h1, h2, h3, h4 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: #282852;
}

p {
  margin: 0 0 1.1em;
}

/* ---------- ANGEL BAY CLOUDS NAV ---------- */

.angelbay {
  width: 100%;
  background: #282852;
  padding: 18px 24px;
}

.angelbay-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.angelbay-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #F0E2E4;
  flex: 0 0 auto;
}

.angelbay-brand:hover {
  color: #FFFFFF;
}

.angelbay-halo {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #E6B05A;
  box-shadow: 0 0 0 3px #282852, 0 0 0 5px #E6B05A;
  flex: 0 0 auto;
}

.angelbay-name {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  max-width: 200px;
  line-height: 1.3;
}

.angelbay-puffs {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.angelbay-puff {
  margin: 0;
}

.angelbay-puff a {
  display: block;
  position: relative;
  padding: 10px 20px 12px;
  background: #F6F8E0;
  color: #282852;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 18px 22px 16px 20px;
  box-shadow: 0 4px 0 0 #587CC6, 0 5px 0 1px #26365E;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.angelbay-puff a::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 8px;
  width: 7px;
  height: 7px;
  background: #FCF0A4;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px #E6B05A;
}

.angelbay-puff a:hover,
.angelbay-puff a:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 #587CC6, 0 7px 0 1px #26365E;
  border-bottom: 2px solid #E6B05A;
}

.angelbay-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 6px;
  background: #F6F8E0;
  color: #282852;
  border: 2px solid #587CC6;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.angelbay-toggle-line {
  display: block;
  width: 16px;
  height: 2px;
  background: #282852;
  margin: 3px 0;
}

.angelbay-toggle-word {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- LEARNING ROW HERO ---------- */

.learnrow {
  width: 100%;
  background: #F0E2E4;
  padding: 64px 24px 72px;
}

.learnrow-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 48px;
  align-items: center;
}

.learnrow-left {
  min-width: 0;
}

.learnrow-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #282852;
  background: #FCF0A4;
  border-left: 5px solid #587CC6;
  padding: 6px 14px;
  margin-bottom: 22px;
}

.learnrow-headline {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.12;
  color: #282852;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.learnrow-headline-strong {
  display: block;
  font-weight: 400;
}

.learnrow-headline-em {
  display: block;
  font-style: italic;
  font-size: 1.42em;
  color: #587CC6;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 6px;
}

.learnrow-copy {
  font-size: 1.08rem;
  color: #282852;
  max-width: 34em;
  margin-bottom: 26px;
}

.learnrow-inline-link {
  color: #3C5FA6;
  font-weight: 700;
  white-space: nowrap;
}

.learnrow-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 280px;
  background: #587CC6;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 16px 22px;
  border-bottom: 4px solid #3C5FA6;
  margin-bottom: 18px;
}

.learnrow-cta-word {
  color: #FFFFFF;
}

.learnrow-cta-arrow {
  font-size: 1.3rem;
  color: #FFFFFF;
}

.learnrow-cta:hover,
.learnrow-cta:focus {
  background: #3C5FA6;
  color: #FFFFFF;
}

.learnrow-note {
  font-size: 0.92rem;
  color: #282852;
  max-width: 32em;
  margin: 0;
}

/* Winged blackboard */

.learnrow-right {
  min-width: 0;
}

.learnrow-board {
  position: relative;
  padding: 22px 22px 0;
  max-width: 440px;
  margin: 0 auto;
}

.learnrow-slate {
  position: relative;
  background: #92B06E;
  border: 8px solid #5E7A44;
  border-radius: 10px;
  padding: 26px 24px 34px;
  box-shadow: 10px 12px 0 0 #C9AEB2;
  min-height: 300px;
}

.learnrow-slate-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #282852;
  background: #FCF0A4;
  display: inline-block;
  padding: 3px 12px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.learnrow-slate-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.learnrow-slate-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1F2A34;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px dashed #6D8A4D;
}

.learnrow-chalk-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: #FCF0A4;
  border-radius: 50%;
}

.learnrow-slate-stroke {
  display: block;
  height: 4px;
  background: #FCF0A4;
  border-radius: 2px;
  margin-top: 20px;
  width: 62%;
}

.learnrow-slate-stroke-short {
  width: 38%;
  margin-top: 9px;
}

.learnrow-wing {
  position: absolute;
  top: 40px;
  width: 54px;
  height: 34px;
  background: #587CC6;
  z-index: 2;
}

.learnrow-wing-left {
  left: -18px;
  border-radius: 60% 10% 70% 20%;
  transform: rotate(-12deg);
}

.learnrow-wing-right {
  right: -18px;
  border-radius: 10% 60% 20% 70%;
  transform: rotate(12deg);
}

.learnrow-tray {
  position: relative;
  background: #F6F8E0;
  border: 4px solid #5E7A44;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 10px 12px 0 0 #C9AEB2;
}

.learnrow-chalk {
  display: block;
  width: 44px;
  height: 8px;
  background: #FCF0A4;
  border: 1px solid #D3C684;
  border-radius: 4px;
}

.learnrow-chalk-short {
  width: 26px;
  background: #F6F8E0;
  border-color: #587CC6;
}

.learnrow-eraser {
  margin-left: auto;
  width: 46px;
  height: 16px;
  background: #E8705C;
  border-bottom: 4px solid #B25443;
  border-radius: 3px;
}

/* ---------- PROSE SECTIONS ---------- */

.learnrow-about {
  width: 100%;
  background: #F6F8E0;
  padding: 66px 24px;
  border-top: 1px solid #C6D3A5;
}

.learnrow-about-alt {
  background: #F0E2E4;
  border-top: 3px solid #92B06E;
}

.learnrow-about-inner {
  max-width: 940px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #282852;
  margin-bottom: 20px;
  padding-left: 18px;
  border-left: 8px solid #587CC6;
}

.section-subtitle {
  font-size: 1.28rem;
  color: #282852;
  margin: 30px 0 12px;
}

.section-subtitle::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #E6B05A;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.section-lede {
  font-size: 1.16rem;
  color: #282852;
  font-weight: 600;
  margin-bottom: 20px;
}

.section-body {
  color: #282852;
  max-width: 62em;
}

/* ---------- CRAYON ROW RUN ---------- */

.crayonrow {
  width: 100%;
  background: #F0E2E4;
  padding: 66px 24px;
}

.crayonrow-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.crayonrow-run {
  margin-top: 28px;
  border-top: 3px solid #92B06E;
}

.crayonrow-item {
  display: grid;
  grid-template-columns: 46px 1fr 26px;
  gap: 22px;
  align-items: start;
  padding: 24px 6px;
  border-bottom: 1px solid #92B06E;
  position: relative;
}

.crayonrow-glyph {
  position: relative;
  display: block;
  width: 34px;
  height: 40px;
  margin-top: 4px;
}

.crayonrow-wax {
  position: absolute;
  inset: 8px 6px 0 6px;
  background: #E8705C;
  border-radius: 3px 3px 4px 4px;
  box-shadow: inset -6px 0 0 #CF5D49;
}

.crayonrow-tip {
  position: absolute;
  top: 0;
  left: 6px;
  width: 22px;
  height: 12px;
  background: #E8705C;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.crayonrow-text h3 {
  font-size: 1.26rem;
  margin-bottom: 8px;
}

.crayonrow-text h3 a {
  color: #282852;
  text-decoration: none;
  border-bottom: 2px solid #92B06E;
}

.crayonrow-text h3 a:hover {
  color: #3C5FA6;
  border-bottom-color: #E6B05A;
}

.crayonrow-text p {
  margin: 0;
  color: #282852;
  max-width: 60em;
}

.crayonrow-paper {
  display: block;
  width: 20px;
  height: 26px;
  background: #FCF0A4;
  border: 2px solid #D3C684;
  margin-top: 4px;
  border-radius: 2px;
  justify-self: end;
}

/* ---------- HALO BAND ---------- */

.haleband {
  position: relative;
  width: 100%;
  background: #587CC6;
  padding: 52px 24px 44px;
  border-top: 6px solid #3C5FA6;
  border-bottom: 6px solid #3C5FA6;
}

.haleband-halo {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 44px;
  background: #282852;
  border-radius: 0 0 30px 30px;
  z-index: 1;
}

.haleband-halo::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 22px;
  border: 6px solid #FCF0A4;
  border-radius: 50%;
}

.haleband-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.haleband-text {
  color: #F6F8E0;
  font-size: 1.16rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.6;
}

/* ---------- STAR BOOK CLOSER ---------- */

.starbook {
  width: 100%;
  background: #F0E2E4;
  padding: 0 24px 46px;
}

.starbook-rule {
  position: relative;
  width: 100%;
  max-width: 1120px;
  height: 6px;
  background: #282852;
  margin: 0 auto 44px;
}

.starbook-star {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: #FCF0A4;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: 0 0 0 3px #E6B05A;
}

.starbook-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.starbook-links {
  font-size: 0.98rem;
  color: #282852;
  margin-bottom: 30px;
  line-height: 2;
}

.starbook-links a {
  color: #3C5FA6;
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 2px;
}

.starbook-links a:hover {
  border-bottom: 2px solid #E6B05A;
  color: #282852;
}

.starbook-body {
  border-top: 1px solid #C9AEB2;
  padding-top: 24px;
}

.starbook-brand {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #282852;
  margin-bottom: 8px;
}

.starbook-blurb {
  color: #282852;
  max-width: 54em;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.starbook-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: #282852;
  margin: 0;
}

.starbook-wing {
  display: inline-block;
  width: 26px;
  height: 16px;
  background: #587CC6;
  border-radius: 60% 10% 70% 20%;
}

.starbook-dot {
  color: #587CC6;
  font-weight: 700;
}

/* ---------- SUBPAGE SHELL ---------- */

.pagebanner {
  background: #F6F8E0;
  padding: 56px 24px 48px;
  border-bottom: 4px solid #92B06E;
}

.pagebanner-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.pagebanner-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #282852;
  background: #FCF0A4;
  border-left: 5px solid #587CC6;
  padding: 6px 14px;
  margin-bottom: 18px;
}

.pagebanner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 14px;
}

.pagebanner-lede {
  font-size: 1.1rem;
  color: #282852;
  max-width: 50em;
  margin: 0;
}

.serviceblock {
  background: #F0E2E4;
  padding: 22px 24px 68px;
}

.serviceblock-inner {
  max-width: 900px;
  margin: 0 auto;
}

.serviceentry {
  padding: 28px 0;
  border-bottom: 1px solid #92B06E;
}

.serviceentry:first-child {
  border-top: 3px solid #92B06E;
}

.serviceentry-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.serviceentry-index {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #587CC6;
  font-weight: 700;
}

.serviceentry h2 {
  font-size: 1.5rem;
  margin: 0;
}

.serviceentry p {
  color: #282852;
  max-width: 62em;
}

.serviceentry-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #282852;
  background: #FCF0A4;
  padding: 3px 10px;
  border-radius: 3px;
}

.processlist {
  list-style: none;
  counter-reset: step;
  margin: 24px 0 0;
  padding: 0;
}

.processlist li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 52px;
  border-bottom: 1px dashed #C9AEB2;
  color: #282852;
}

.processlist li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  background: #587CC6;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.ctastrip {
  background: #282852;
  padding: 44px 24px;
  margin-top: 12px;
}

.ctastrip-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.ctastrip-text {
  color: #F6F8E0;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  max-width: 34em;
}

.ctastrip-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #587CC6;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 22px;
  border-bottom: 4px solid #3C5FA6;
}

.ctastrip-link:hover {
  background: #3C5FA6;
  color: #FFFFFF;
}

/* ---------- CONTACT ---------- */

.contactgrid {
  background: #F0E2E4;
  padding: 56px 24px 68px;
}

.contactgrid-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contactform-wrap {
  background: #F6F8E0;
  border: 3px solid #92B06E;
  padding: 30px 26px;
  box-shadow: 8px 8px 0 0 #C9AEB2;
}

.contactform-wrap h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.contactform-intro {
  color: #282852;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #282852;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: #282852;
  background: #FFFFFF;
  border: 2px solid #587CC6;
  border-radius: 4px;
  padding: 10px 12px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #3C5FA6;
  box-shadow: 0 0 0 3px #FCF0A4;
}

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

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #587CC6;
  color: #FFFFFF;
  border: none;
  border-bottom: 4px solid #3C5FA6;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 24px;
  cursor: pointer;
}

.contact-submit:hover {
  background: #3C5FA6;
}

.form-note {
  font-size: 0.86rem;
  color: #282852;
  margin: 14px 0 0;
}

.contactside h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.contactside-block {
  background: #F6F8E0;
  border-left: 6px solid #587CC6;
  padding: 16px 20px;
  margin-bottom: 18px;
}

.contactside-block h3 {
  font-size: 1rem;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contactside-block p {
  margin: 0;
  color: #282852;
}

.faqsection {
  background: #F6F8E0;
  padding: 56px 24px 68px;
  border-top: 3px solid #92B06E;
}

.faqsection-inner {
  max-width: 860px;
  margin: 0 auto;
}

.faqitem {
  border-bottom: 1px solid #92B06E;
  padding: 16px 0;
}

.faqitem:first-of-type {
  border-top: 1px solid #92B06E;
}

.faqitem button {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: #282852;
  padding: 6px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faqitem button span.faqmark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  background: #587CC6;
  color: #FFFFFF;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.faqitem-answer {
  display: none;
  padding: 8px 0 4px;
  color: #282852;
}

.faqitem.is-open .faqitem-answer {
  display: block;
}

/* ---------- SCROLL REVEAL ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .learnrow-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contactgrid-inner {
    grid-template-columns: 1fr;
  }
  .learnrow-board {
    max-width: 380px;
  }
}

@media (max-width: 760px) {
  .angelbay-inner {
    gap: 14px;
  }
  .angelbay-toggle {
    display: inline-flex;
  }
  .angelbay-puffs {
    display: none;
    width: 100%;
    margin: 4px 0 0;
    flex-direction: column;
    gap: 10px;
  }
  .angelbay-puffs.is-open {
    display: flex;
  }
  .angelbay-puff {
    width: 100%;
  }
  .angelbay-puff a {
    width: 100%;
    border-radius: 14px;
  }
  .crayonrow-item {
    grid-template-columns: 38px 1fr;
  }
  .crayonrow-paper {
    display: none;
  }
  .learnrow {
    padding: 44px 20px 52px;
  }
  .starbook-meta {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .learnrow-cta {
    width: 100%;
    min-width: 0;
  }
  .learnrow-wing {
    display: none;
  }
  .section-title {
    font-size: 1.5rem;
  }
}
