* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f7f2e8;
  color: #2f3b2f;
  line-height: 1.6;
}

header {
  background: #f7f2e8;
  color: #31543b;
  padding: 20px 6%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #e3d9c2;
}

header > a:first-child {
  justify-self: start;
}

.header-logo {
  height: 140px;
  width: auto;
  display: block;
}

nav {
  justify-self: center;
  text-align: center;
}

nav a {
  color: #31543b;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
  display: inline-block;
  vertical-align: middle;
}

nav a:hover {
  text-decoration: underline;
}

.header-verse {
  justify-self: end;
  text-align: right;
  font-family: Georgia, serif;
  font-style: italic;
  color: #31543b;
  font-size: 15px;
  line-height: 1.4;
  max-width: 300px;
}

.header-verse .verse-ref {
  display: block;
  font-style: normal;
  font-weight: bold;
  font-size: 13px;
  margin-top: 6px;
  color: #ad7b43;
}

.hero {
  min-height: 520px;
  padding: 90px 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(
      rgba(32, 54, 37, .55),
      rgba(32, 54, 37, .55)
    ),
    url('https://pub-27e7c4d632dc4b23b0cb60d2a6cb3e36.r2.dev/IMG_1918.jpeg');

  background-size: cover;
  background-position: center;
  color: white;
}

.hero-content {
  max-width: 750px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 56px;
  line-height: 1.05;
  margin-bottom: 18px;
  color: white;
  text-shadow: 0 3px 12px rgba(0,0,0,0.65);
}

.hero h2 span {
  display: block;
  text-align: center;
}

.hero p {
  font-size: 22px;
  margin-bottom: 28px;
}

.button {
  display: inline-block;
  background: #d98c45;
  color: white;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: bold;
  margin-right: 10px;
  margin-bottom: 10px;
}

.button.secondary {
  background: #ffffff;
  color: #31543b;
}

section {
  padding: 65px 8%;
}

section h2 {
  font-size: 36px;
  color: #31543b;
  margin-bottom: 18px;
}

.page-banner {
  background: #31543b;
  color: white;
  padding: 50px 8%;
  text-align: center;
}

.page-banner h1 {
  font-size: 42px;
  margin-bottom: 8px;
}

.back-link {
  display: inline-block;
  margin-top: 10px;
  color: #f7f2e8;
  font-family: Georgia, serif;
  font-style: italic;
}

.intro {
  text-align: center;
  max-width: 850px;
  margin: auto;
}

.intro-lede {
  font-size: 23px;
  font-weight: bold;
  color: #31543b;
  margin-bottom: 28px;
}

.intro-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.intro-body p {
  font-size: 19px;
  margin-bottom: 20px;
}

.programs-section {
  background: #f7f2e8;
  padding: 70px 2%;
}

.programs-heading {
  text-align: center;
  margin-bottom: 35px;
}

.programs-heading h2 {
  font-size: 42px;
  color: #31543b;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px 14px;
  align-items: start;
}

.program-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  background: #e8dfca;
}

.program-card p {
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.5;
  margin: 12px 0 28px;
  color: #2e2e2e;
}

.program-card > p {
  min-height: 95px;
}

.program-card button {
  background: #ad7b43;
  color: white;
  border: none;
  padding: 18px 26px;
  font-family: Georgia, serif;
  font-size: 19px;
  cursor: pointer;
}

.program-card button:hover {
  background: #8e6337;
}

.program-card button.coming-soon {
  background: #b7ab8f;
  cursor: not-allowed;
}

.program-card button.coming-soon:hover {
  background: #b7ab8f;
}

.program-details {
  display: none;
  margin-top: -14px;
  margin-bottom: 28px;
  padding: 20px 22px;
  background: #fffdf8;
  border-left: 4px solid #ad7b43;
  font-size: 16px;
  color: #3a3a3a;
}

.program-details.open {
  display: block;
}

.program-details h4 {
  color: #31543b;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 14px 0 4px;
}

.program-details h4:first-child {
  margin-top: 0;
}

.program-details a {
  color: #ad7b43;
  font-weight: bold;
}

.program-details ul {
  margin: 0 0 14px 22px;
}

.program-details li {
  margin-bottom: 4px;
}

.guides-heading {
  text-align: center;
  margin-bottom: 35px;
}

.guides-heading h2 {
  font-size: 42px;
  color: #31543b;
  margin-bottom: 12px;
}

.guides-heading p {
  font-size: 19px;
  max-width: 650px;
  margin: 0 auto;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px;
  max-width: 750px;
  margin: 0 auto;
}

.guide-card {
  text-align: center;
}

.guide-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 18px;
  border: 3px solid #ad7b43;
}

.guide-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #e8dfca;
  color: #8e6337;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin: 0 auto 18px;
  border: 3px solid #ad7b43;
}

.guide-card h3 {
  font-size: 22px;
  color: #31543b;
  margin-bottom: 4px;
}

.guide-role {
  font-family: Georgia, serif;
  font-style: italic;
  color: #ad7b43;
  margin-bottom: 10px;
}

.guide-bio {
  font-size: 15px;
  color: #3a3a3a;
  text-align: left;
}

.guide-bio p {
  margin-bottom: 12px;
}

.guide-bio p:last-child {
  margin-bottom: 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e3d9c2;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: bold;
  color: #31543b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover {
  color: #ad7b43;
}

.faq-question::after {
  content: "+";
  font-size: 30px;
  line-height: 1;
  color: #ad7b43;
  flex-shrink: 0;
}

.faq-question.open::after {
  content: "\2212";
}

.faq-answer {
  display: none;
  padding: 0 4px 26px;
  font-size: 17px;
  color: #3a3a3a;
}

.faq-answer.open {
  display: block;
}

.faq-answer p {
  margin-bottom: 14px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 0 0 14px 22px;
}

.tuition-section-heading {
  font-size: 30px;
  color: #31543b;
  margin: 50px 0 22px;
  text-align: center;
}

.tuition-section-heading:first-child {
  margin-top: 0;
}

.policy-list {
  max-width: 800px;
  margin: 0 auto 10px;
}

.policy-item {
  background: #fffdf8;
  padding: 18px 22px;
  margin-bottom: 16px;
}

.policy-item h4 {
  color: #31543b;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.policy-item p {
  font-size: 16px;
  color: #3a3a3a;
}

.tuition-grid {
  max-width: 800px;
  margin: 0 auto;
}

.tuition-card {
  background: #fffdf8;
  padding: 22px 26px;
  margin-bottom: 20px;
}

.tuition-card h3 {
  color: #31543b;
  font-size: 22px;
  margin-bottom: 10px;
}

.tuition-price {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: bold;
  color: #ad7b43;
  margin-bottom: 12px;
}

.tuition-price span {
  font-weight: normal;
  font-size: 16px;
  color: #3a3a3a;
}

.tuition-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #3a3a3a;
}

.tuition-card li {
  margin-bottom: 4px;
}

.tuition-note {
  max-width: 760px;
  margin: 30px auto 0;
  font-size: 16px;
  color: #3a3a3a;
  font-style: italic;
  text-align: center;
}

.faq-answer li {
  margin-bottom: 6px;
}

.contact {
  text-align: center;
  background: #31543b;
  color: white;
}

.contact h2 {
  color: white;
}

footer {
  background: #223b29;
  color: white;
  text-align: center;
  padding: 22px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 600px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  header > a:first-child {
    justify-self: center;
  }

  .header-logo {
    height: 90px;
  }

  .header-verse {
    text-align: center;
    margin-top: 12px;
    max-width: 100%;
  }

  .hero h2 {
    font-size: 40px;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    margin: 0 10px;
    font-size: 19px;
  }
}

@media (max-width: 600px) {
  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card img {
    height: 260px;
  }
}

/* ---------- Class calendar ---------- */
.cal {
  max-width: 850px;
  margin: 0 auto 24px;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  color: #233229;
}

.cal-title {
  display: none;
  text-align: center;
  margin-bottom: 14px;
}

.cal-title h2 {
  font-family: Georgia, serif;
  font-size: 40px;
  color: #233229;
  margin: 0;
}

.cal-title p {
  font-size: 20px;
  font-weight: bold;
  margin: 4px 0 0;
}

.cal-legend {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 22px;
}

.cal-pill {
  padding: 9px 34px;
  border-radius: 14px;
  border: 2px solid;
  font-weight: bold;
  font-size: 16px;
}

.cal .mon { background: #dde6d3; border-color: #9bb08a; }
.cal .thu { background: #f7d0bd; border-color: #d99a80; }
.cal .blue { background: #e1ecf2; border-color: #a8c0cf; }
.cal .tan { background: #ebe0c3; border-color: #c9b57e; }

.cal-session {
  background: #fffdf8;
  border: 2px solid #e6dcc6;
  border-radius: 22px;
  padding: 16px 20px 20px;
  margin-bottom: 20px;
}

.cal-session > h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  color: #233229;
  margin: 0 0 12px;
}

.cal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cal-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cal-card {
  border: 2px solid;
  border-radius: 20px;
  padding: 16px 12px 18px;
}

.cal-card h4 {
  font-family: Georgia, serif;
  font-size: 22px;
  text-align: center;
  color: #233229;
  margin: 0 0 4px;
}

.cal-range {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 14px;
}

.cal-dates {
  background: #fffdf8;
  border: 1.5px solid #e6dcc6;
  border-radius: 16px;
  padding: 14px 8px 16px;
  text-align: center;
}

.cal-label {
  display: block;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 10px;
}

.cal-dates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  grid-auto-columns: 1fr;
  gap: 8px 6px;
}

.cal-dates li {
  font-size: 15px;
  margin: 0;
  white-space: nowrap;
}

.cal-note h4 {
  margin-bottom: 12px;
}

.cal-note p,
.cal-camp p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 6px;
}

.cal-camp {
  padding: 18px 20px 20px;
}

.cal-camp h4 {
  text-align: left;
  font-size: 26px;
  margin-bottom: 12px;
}

.cal-camp p {
  font-size: 16px;
  margin-bottom: 8px;
}

.cal-disclaimer {
  text-align: center;
  font-size: 13px;
  color: #5a6a5f;
  margin: 6px 0 0;
}

@media (max-width: 1000px) {
  .cal-row,
  .cal-row.two {
    grid-template-columns: minmax(0, 1fr);
  }

  .cal-dates ul {
    max-width: 320px;
    margin: 0 auto;
  }

  .cal-legend {
    flex-wrap: wrap;
  }
}

/* ---------- Tiny Tribe Social dates ---------- */
.cal-sub {
  font-size: 14px;
  font-weight: bold;
  color: #4a5a4f;
  margin: -6px 0 14px;
}

.cal-row.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cal-month {
  padding: 14px 10px 16px;
}

.cal-month h4 {
  font-size: 19px;
  margin-bottom: 10px;
}

.cal-month .cal-dates {
  padding: 12px 6px 14px;
}

.cal-month .cal-dates li.none {
  color: #7a8a7f;
  font-style: italic;
}

.cal-wide {
  margin-top: 16px;
}

@media (max-width: 1000px) {
  .cal-row.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .cal-row.four {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cal-fine {
  font-size: 13px;
  font-style: italic;
  color: #5a6a5f;
  margin-top: 10px;
}

/* ---------- Pick-up note ---------- */
.pickup-note {
  max-width: 850px;
  margin: 0 auto 28px;
  padding: 22px 26px;
  background: #fffdf8;
  border: 2px solid #e6dcc6;
  border-radius: 18px;
  text-align: left;
}

.pickup-note h3 {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #31543b;
  margin: 0 0 10px;
}

.pickup-note p {
  font-size: 16px;
  line-height: 1.55;
  color: #3a3a3a;
  margin: 0 0 10px;
}

.pickup-note p:last-child {
  margin-bottom: 0;
}

/* ---------- Full-session notice ---------- */
.cal-full {
  display: inline-block;
  margin-left: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #c62828;
}

.cal-full a {
  color: #c62828;
  text-decoration: underline;
}

/* ---------- Open-spots notice ---------- */
.cal-open {
  display: inline-block;
  margin-left: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #2e7d32;
}

/* ---------- Five-card row (centered 3 + 2) ---------- */
.cal-row.five {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cal-row.five > .cal-card {
  flex: 0 0 calc((100% - 32px) / 3);
  box-sizing: border-box;
}

@media (max-width: 1000px) {
  .cal-row.five > .cal-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 420px) {
  .cal-row.five > .cal-card {
    flex-basis: 100%;
  }
}
