:root {
  --green: #1a3128;
  --green-deep: #0f2019;
  --orange: #ff843d;
  --orange-dark: #e66b22;
  --teal: #32b698;
  --text: #272626;
  --heading: #333333;
  --bg: #ffffff;
  --bg-cream: #faf7f2;
  --bg-cream-alt: #f3ede4;
  --border: #e6dfd5;
  --serif: "Droid Serif", Georgia, "Times New Roman", serif;
  --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--heading);
  margin: 0 0 30px;
}
h1 { font-size: 75px; line-height: 1.3; }
h2 { font-size: 45px; line-height: 1.0; }
h3 { font-size: 25px; line-height: 1.4; }
h4 { font-size: 19px; font-weight: 700; line-height: 1.6; }
h1 strong, h2 strong { font-weight: 900; }

p { margin: 0 0 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 20px 40px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn--primary,
.btn--orange { background: var(--orange); color: #fff; }
.btn--primary:hover,
.btn--orange:hover { background: var(--orange-dark); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--orange); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}
.btn--ghost:hover { background: var(--orange); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--green);
  color: #fff;
}
.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.brand { line-height: 0; display: inline-block; }
.brand img { height: 72px; width: auto; }

.site-header nav ul,
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.site-header nav a,
.primary-nav a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-header nav a:hover,
.primary-nav a:hover { color: var(--orange); }

.primary-nav li.is-active a { color: var(--teal); }

/* ---------- Mobile nav toggle + drawer ---------- */
.nav-toggle,
.nav-close {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
  line-height: 0;
}
.nav-toggle svg,
.nav-close svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.nav-toggle:hover,
.nav-close:hover { color: var(--teal); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99;
}

@media (max-width: 720px) {
  .site-header .inner { justify-content: space-between; flex-wrap: nowrap; gap: 1rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-header nav,
  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(280px, 80vw);
    background: var(--green);
    padding: 1.25rem 1.75rem;
    transform: translateX(-100%);
    transition: transform 0.25s ease-out;
    z-index: 100;
    overflow-y: auto;
  }
  .primary-nav .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
  }
  .site-header nav ul,
  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 3.5rem;
  }
  .site-header nav a,
  .primary-nav a { font-size: 1.05rem; letter-spacing: 0.04em; }

  body.menu-open { overflow: hidden; }
  body.menu-open .site-header nav,
  body.menu-open .primary-nav { transform: translateX(0); }
  body.menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }

  .brand img { height: 40px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--bg);
  padding: 4rem 1.5rem;
}
.hero .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: center;
}
.hero-text { text-align: center; }
.hero-mark {
  display: block;
  width: 32px;
  height: 32px;
  fill: #daa520;
  margin: 0 auto 1rem;
}
.hero-text h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--heading);
  margin: 0 0 1rem;
  line-height: 1.3;
}
.hero-text h1 strong { font-weight: 900; }
.hero-text .tagline {
  font-size: 16px;
  color: var(--heading);
  margin: 0 0 1.75rem;
  line-height: 1.6;
}
.hero-image img { width: 100%; max-width: 720px; margin: 0 auto; }

@media (max-width: 960px) {
  .hero .inner { grid-template-columns: 1fr; }
  .hero-image img { max-width: 480px; }
}

/* ---------- CTA panel (dark green band) ---------- */
.cta-panel {
  background: var(--green);
  color: #fff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.cta-panel .inner {
  max-width: 760px;
  margin: 0 auto;
}
.cta-mark {
  display: block;
  width: 56px;
  height: 50px;
  fill: #fff;
  margin: 0 auto 1.25rem;
}
.cta-panel h2 {
  font-size: 45px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 1.5rem;
  line-height: 1.0;
}
.cta-rule {
  width: 240px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  margin: 0 auto 1.75rem;
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  h1 { font-size: 48px; line-height: 1.2; }
  h2 { font-size: 30px; line-height: 1.1; }
  .cta-panel { padding: 3rem 1.25rem; }
  .cta-panel h2 { font-size: 30px; }
  .hero { padding: 3rem 1.25rem; }
  .hero-text h1 { font-size: 36px; line-height: 1.6; }
  .quote-panel blockquote { font-size: 30px; line-height: 1.5; }
}

/* ---------- Quote panel (cream, photo + quote) ---------- */
.quote-panel {
  padding: 4rem 1.5rem;
  background: var(--bg);
}
.quote-panel .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--bg-cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.quote-figure { margin: 0; }
.quote-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quote-panel blockquote {
  margin: 0;
  padding: 3rem;
  font-size: 45px;
  line-height: 1.9;
  color: var(--text);
  font-style: italic;
  font-weight: 400;
}
.quote-panel blockquote p { margin: 0; font-size: inherit; line-height: inherit; }
.quote-panel blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 16px;
  line-height: 1.6;
  font-style: normal;
  color: var(--text);
  opacity: 0.85;
}
@media (max-width: 760px) {
  .quote-panel .inner { grid-template-columns: 1fr; }
  .quote-panel blockquote { padding: 2rem 1.5rem; font-size: 30px; }
}

/* ---------- Benefits ---------- */
.benefits-section {
  padding: 4.5rem 1.5rem 5rem;
  background: var(--bg);
}
.benefits-section .inner { max-width: var(--max-width); margin: 0 auto; }
.section-eyebrow {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 1rem;
  line-height: 1.6;
}
.section-title {
  text-align: center;
  font-size: 45px;
  font-weight: 900;
  color: var(--heading);
  margin: 0 0 3rem;
  line-height: 1.0;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
}
.benefit {
  text-align: center;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.benefit-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
}
.benefit-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit h3 {
  font-size: 25px;
  font-weight: 900;
  margin: 0 0 1rem;
  color: var(--heading);
  line-height: 1.4;
}
.benefit p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  background: var(--bg-cream);
  text-align: center;
  padding: 4rem 1.5rem 2.75rem;
}
.page-header h1 {
  font-size: 75px;
  font-weight: 900;
  margin: 0 0 1rem;
  color: var(--heading);
  line-height: 1.3;
}
.page-header p {
  color: var(--text);
  font-size: 19px;
  margin: 0;
  opacity: 0.9;
}
@media (max-width: 720px) {
  .page-header { padding: 2.5rem 1.25rem 2rem; }
  .page-header h1 { font-size: 48px; }
}

/* ---------- Container (general content pages) ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.container--narrow { max-width: 760px; }

/* In-content blockquote (used on inner pages) */
.container blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 3px solid var(--orange);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
  background: var(--bg-cream);
}
.container blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-style: normal;
}

/* ---------- About teachers ---------- */
.teacher {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.teacher img { border-radius: 4px; }
.teacher h3 { margin-bottom: 0.25rem; }
.teacher .role {
  color: var(--orange);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
@media (max-width: 600px) {
  .teacher { grid-template-columns: 1fr; }
  .teacher img { max-width: 200px; }
}

/* ---------- Classes ---------- */
.page-title {
  font-size: 75px;
  font-weight: 900;
  color: var(--heading);
  margin: 1rem 0 30px;
  line-height: 1.3;
}
.class-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.class-columns h2 { margin-top: 0; }
.upcoming-title { margin: 2rem 0 1.5rem; }
.calendar-embed {
  width: 100%;
  height: 900px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  display: block;
}
@media (max-width: 720px) {
  .class-columns { grid-template-columns: 1fr; gap: 2rem; }
  .page-title { font-size: 48px; }
  .calendar-embed { height: 720px; }
}

/* Legacy .class-block (unused on /classes/ now but kept for safety) */
.class-block {
  background: var(--bg-cream);
  padding: 2rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}
.class-block h2 { margin-top: 0; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}
.contact-card .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.phone-large {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.phone-large a { color: var(--heading); text-decoration: none; }
.phone-large a:hover { color: var(--orange); }
.contact-note { color: var(--text); margin: 0; opacity: 0.85; }

.contact-meta h2 { margin-top: 2.5rem; }
.contact-meta h2:first-child { margin-top: 0; }

@media (max-width: 600px) {
  .phone-large { font-size: 2.1rem; }
  .contact-card { padding: 2.25rem 1.25rem; }
}

/* ---------- Blog ---------- */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.post-list li:last-child { border-bottom: none; }
.post-list h2 { margin: 0 0 0.4rem; font-size: 1.5rem; font-weight: 900; }
.post-list h2 a { text-decoration: none; color: var(--heading); }
.post-list h2 a:hover { color: var(--orange); }
.post-meta {
  font-size: 0.875rem;
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}
.post-body p { margin-bottom: 1.25rem; }

/* ---------- Invocation ---------- */
.invocation {
  text-align: center;
  font-size: 1.2rem;
  line-height: 2.1;
  color: var(--heading);
  margin: 0 auto 2rem;
  max-width: 38rem;
}
.invocation:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green);
  color: #fff;
  padding: 1.75rem 1.5rem;
}
.site-footer .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
}
.footer-meta { color: rgba(255, 255, 255, 0.85); }
.footer-meta p { margin: 0 0 0.25rem; }
.footer-meta p:last-child { margin: 0; }
.footer-meta a { color: #fff; }

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-nav a:hover { color: var(--orange); }

@media (max-width: 600px) {
  .site-footer .inner { flex-direction: column; text-align: center; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-3 { margin-top: 2rem; }
