:root {
  --green: #1d4331;
  --sage: #5f7d6c;
  --coral: #e07a68;
  --coral-dark: #c96554;
  --bg: #fffdf8;
  --paper: #ffffff;
  --line: #eadfd6;
  --shadow: 0 10px 30px rgba(29, 67, 49, .06);
  --radius: 28px;
  --pad: clamp(20px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--sage); }
body {
  font: 18px/1.65 Inter, "Helvetica Neue", Arial, sans-serif;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
header .brand img {
  height: clamp(48px, 8vw, 62px) !important;
  width: auto !important;
  max-width: 220px;
}
h1, h2, h3, h4, h5 {
  font-family: Fraunces, Georgia, serif;
  color: var(--green);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2rem, 6vw, 3.8rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); margin: 0 0 14px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 0 0 8px; }
p { overflow-wrap: anywhere; }
a { color: var(--coral-dark); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.wrap { width: min(1080px, calc(100% - (var(--pad) * 2))); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - (var(--pad) * 2))); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0ebe4;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--pad);
  min-height: 76px;
}
.brand { flex: 0 0 auto; }
.brand .custom-logo-link { display: block; }
.brand img, .brand .custom-logo { height: clamp(48px, 8vw, 62px); width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav-links a {
  color: var(--green);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 0;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--coral-dark); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--coral);
  color: #1a1a1a;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: 600 13px/1 Inter, Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--coral-dark); color: #1a1a1a; }
.nav-cta { margin-left: 4px; flex: 0 0 auto; }
.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--green);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.hero-copy { padding: clamp(40px, 7vw, 80px) 0 20px; }
.rule { width: 100%; height: 1px; background: var(--coral); border: 0; margin: 0 0 28px; }
.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  line-height: 1.5;
  color: var(--sage);
  max-width: 38ch;
}
.round { border-radius: var(--radius); overflow: hidden; }
.hero-photo { margin: 8px auto clamp(40px, 7vw, 72px); width: min(1100px, calc(100% - (var(--pad) * 2))); }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; max-height: 620px; object-fit: cover; }

.section { padding: clamp(40px, 7vw, 80px) 0; }
.center { text-align: center; }
.center .lede, .center p { margin-left: auto; margin-right: auto; }
.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card p { margin: 0; }
.pedagogy h2 { margin-bottom: 8px; }
.cards.flag { gap: 14px; }
.flag-blue, .flag-red {
  border: 0;
  color: #fff;
}
.flag-blue { background: #0055a4; }
.flag-red { background: #ef4135; }
.flag-white {
  background: #fff;
  border: 1px solid #e8e4dc;
}
.flag-blue h3, .flag-red h3 { color: #fff; }
.flag-blue p, .flag-red p { color: rgba(255,255,255,.92); }
.cours-hero { padding-bottom: 36px; }
.cours-hero img {
  width: min(100%, 420px);
  margin: 0 auto;
  background: #fff;
  border-radius: 0;
}

.faq { display: grid; gap: 10px; margin: 24px 0 28px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 2px 18px; }
.faq summary {
  cursor: pointer;
  font-family: Fraunces, Georgia, serif;
  color: var(--green);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  padding: 16px 28px 16px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--coral);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }

.hours, .split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}
.hours .time { font-size: clamp(2.6rem, 8vw, 5.4rem); color: var(--coral); margin: 8px 0 12px; }
.split img, .hours img { width: 100%; border-radius: var(--radius); }

.page { padding: clamp(40px, 7vw, 80px) 0 96px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.news { display: grid; gap: 14px; }
.news a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
.news a:hover { border-color: var(--coral); }
.news .meta { font-size: 13px; color: var(--sage); text-transform: uppercase; letter-spacing: .04em; }
.news h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.form { display: grid; gap: 14px; max-width: 560px; }
.form.two { grid-template-columns: 1fr 1fr; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--green); font-weight: 600; }
.form.two .full { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid #c9d4cc;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--green);
}
.form button { justify-self: start; }

.footer {
  border-top: 1px solid var(--line);
  padding: 36px var(--pad) calc(48px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--sage);
}
.footer p { margin: 8px 0; }
.footer a { color: var(--coral-dark); }

@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--pad) 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .btn { display: none; }
  .burger { display: block; margin-left: 0; }
  .nav-cta { margin-left: auto; }
}

@media (max-width: 800px) {
  .cards, .hours, .split, .people, .form.two { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .round, .split img, .hours img { border-radius: 20px; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .btn { padding: 11px 14px; font-size: 12px; }
}

.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current_page_parent > a { color: var(--coral-dark); }
.nav-links .sub-menu { display: none; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
body.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .topbar { top: 46px; }
}
.entry-content { min-width: 0; }
.entry-content .wp-block-image img,
.entry-content img { height: auto; }
.form-status {
  max-width: 560px;
  margin: 0 auto 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #e8f5e9;
  color: var(--green);
}
.form-status.is-error { background: #fdecea; }
.news-list { display: grid; gap: 14px; }
.news-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.news-list a { text-decoration: none; color: inherit; }
.news-list h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 8px 0; }
.single-main { padding: clamp(40px, 7vw, 80px) 0 96px; }
.single-main .meta { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
