/* ==========================================================
   CAZA TEACHS — site styles
   Palette from the brand kit: deep green, warm gold, light gray
   ========================================================== */

:root {
  --green-900: #12271D;
  --green:     #1E4534;
  --green-600: #2C5F47;
  --gold:      #B5822A;
  --gold-soft: #E9CE93;
  --paper:     #FBFAF6;
  --gray:      #E6E4DB;
  --ink:       #1B1E1C;
  --muted:     #5B6360;

  --measure: 68ch;
  --wrap: 1120px;
  --radius: 3px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }

/* --- eyebrow label: used to name the *kind* of thing that follows --- */
.eyebrow {
  font-family: "Archivo", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

/* ---------------- header ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--gray);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 0;
}
.wordmark {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.11em;
  color: var(--green);
  text-decoration: none;
  line-height: 1.15;
  display: inline-block;
}
.wordmark span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  border-top: 2px solid var(--gold);
  padding-top: 3px;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  font-family: "Archivo", sans-serif;
  font-size: 0.85rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--gray);
  border-radius: var(--radius); padding: 0.4rem 0.7rem;
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: 0.8rem;
  cursor: pointer; color: var(--ink);
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--gray);
    padding: 0.5rem 4vw 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0; width: 100%; }
  .header-inner { position: relative; }
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-weight: 700; font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #96691B; color: #fff; }
.btn-outline { border-color: currentColor; color: var(--gold-soft); }
.btn-outline:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-600); color: #fff; }

/* ---------------- hero ---------------- */

.hero {
  background: var(--green-900);
  color: #fff;
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}
.hero h1 { color: #fff; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.hero p { color: #DCE3DE; font-size: 1.125rem; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* signature element: the three systems, annotated */
.systems { border-top: 2px solid var(--gold); padding-top: 1rem; }
.systems dt {
  font-family: "Archivo", sans-serif;
  font-weight: 800; font-size: 0.95rem;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}
.systems dd {
  margin: 0.15rem 0 1.1rem;
  color: #C6D0CA; font-size: 0.95rem; line-height: 1.5;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.systems dd:last-child { border-bottom: 0; margin-bottom: 0; }

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

/* ---------------- sections ---------------- */

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-gray { background: #F2F1EA; border-block: 1px solid var(--gray); }
.section-green { background: var(--green); color: #fff; }
.section-green h2, .section-green h3 { color: #fff; }
.section-green p { color: #D5DED8; }

.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------------- cards ---------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--gray);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.97rem; color: var(--muted); margin-bottom: 0; }

/* signature element: the teaching note */
.note {
  border-left: 3px solid var(--gold);
  background: #FDF7EA;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.note .eyebrow { margin-bottom: 0.35rem; }
.note p { margin-bottom: 0; font-size: 0.98rem; }
.section-green .note { background: rgba(255,255,255,0.06); border-left-color: var(--gold-soft); }
.section-green .note p { color: #E3EAE5; }

/* ---------------- lists ---------------- */

.checklist { list-style: none; padding: 0; margin: 1.5rem 0; max-width: var(--measure); }
.checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.9rem;
  border-bottom: 1px solid var(--gray);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 1.15rem;
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
}
.checklist strong { font-weight: 700; }
.section-green .checklist li { border-bottom-color: rgba(255,255,255,0.16); }

/* ---------------- FAQ ---------------- */

.faq { max-width: var(--measure); margin-top: 2rem; }
.faq details {
  border-bottom: 1px solid var(--gray);
  padding: 1rem 0;
}
.faq summary {
  font-family: "Archivo", sans-serif;
  font-weight: 700; font-size: 1.02rem;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--gold); font-weight: 800; flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0.8rem 0 0; color: var(--muted); }

/* ---------------- CTA band ---------------- */

.cta-band {
  background: var(--green);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #D5DED8; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------------- contact ---------------- */

.contact-methods { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-methods li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray);
}
.contact-methods .label {
  font-family: "Archivo", sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 0.2rem;
}
.contact-methods .value {
  font-family: "Archivo", sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--green);
}

/* ---------------- footer ---------------- */

.site-footer {
  background: var(--green-900);
  color: #A9B6AE;
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.site-footer h4 {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 0.75rem;
}
.site-footer a { color: #DCE3DE; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.25rem 0; }
.footer-bottom { padding-top: 1.5rem; font-size: 0.85rem; color: #7E8C84; }
.footer-bottom p { max-width: none; margin: 0; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--gold); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }
