:root {
  color-scheme: light;
  --cream: #f8f3e9;
  --paper: #fffcf5;
  --green: #18382e;
  --deep: #103126;
  --olive: #3d554b;
  --gold: #d9a84f;
  --sand: #ecdcba;
  --line: #cec5b3;
  --rust: #8c402f;
  --serif: Georgia, "Times New Roman", serif;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--deep);
  background: var(--cream);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.06; letter-spacing: -.035em; }
h2 { font-size: clamp(2.15rem, 4.7vw, 3.75rem); }
h3 { font-size: clamp(1.36rem, 2.5vw, 1.95rem); }
p { max-width: 65ch; }
p + p, h2 + p, h3 + p { margin-top: .7rem; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid #a65435; outline-offset: 4px; }
.hero a:focus-visible, .footer a:focus-visible { outline-color: #f4c67d; }
:target { scroll-margin-top: 1.4rem; }
.wrap { width: min(100% - 3.5rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6.7rem); }
.skip { position: absolute; z-index: 2; left: .5rem; top: .5rem; padding: .65rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.header { background: var(--paper); border-bottom: 4px solid #b98437; }
.header-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; white-space: nowrap; line-height: 1; }
.brand img { object-fit: contain; }
.brand strong { display: block; font: bold 2.15rem/.95 var(--serif); letter-spacing: -.035em; }
.brand small { display: block; padding-top: .35rem; font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 750; }
nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.35rem; }
nav a { font-weight: 680; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: .7rem 1.05rem; min-height: 46px; border: 2px solid transparent; border-radius: .28rem; font-weight: 750; line-height: 1.25; text-decoration: none; }
.button:hover { box-shadow: inset 0 0 0 2px currentColor; }
.outline { border-color: var(--green); }
.gold { color: var(--deep); background: var(--gold); }
.solid { background: var(--green); color: var(--paper); }
.text-link { font-weight: 730; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero { display: grid; grid-template-columns: 46% 54%; background: var(--deep); color: var(--cream); }
.hero-copy { padding: clamp(3rem, 7.3vw, 7rem) clamp(1.5rem, 4vw, 4rem); padding-left: max(1.75rem, calc((100vw - 76rem) / 2)); align-self: center; }
.hero h1 { font-size: clamp(2.8rem, 6.05vw, 6rem); line-height: .98; }
.hero p { max-width: 27ch; font-size: clamp(1.13rem, 2vw, 1.55rem); margin: 1.4rem 0 1.75rem; line-height: 1.42; }
.hero img { width: 100%; height: 100%; max-height: 655px; object-fit: cover; object-position: center 50%; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.85rem; }
.section-head p, .card p, .update p { color: var(--olive); }
.grid { display: grid; gap: 1.2rem; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; align-items: start; }
.card-body .text-link { margin-top: auto; padding-top: .9rem; }
.featured { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; margin-top: 1.4rem; padding: 1.25rem 1.45rem; border: 1px solid var(--line); border-left: 4px solid var(--rust); }
.band { background: var(--sand); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 2.7rem; }
.band-inner > div { flex: 1 1 25rem; }
.feature-split { display: grid; grid-template-columns: 1.12fr 1fr; align-items: start; gap: 1.5rem 3.4rem; }
.lede { font-size: 1.18rem; }
.feature-split h3 { margin-top: 1.45rem; }
.feature-split .text-link, .update .text-link { display: inline-block; margin-top: .8rem; }
.framework { background: var(--green); color: var(--cream); padding: clamp(1.4rem, 4vw, 2.8rem); }
.framework h3 { margin-top: 0; }
.values { margin-top: 2.5rem; }
.values article { border-top: 2px solid var(--gold); padding-top: 1rem; }
.member { background: #f1e8d5; }
.member-inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: center; padding-block: 2.8rem; }
.member img { height: auto; max-height: 18rem; margin-inline: auto; object-fit: contain; }
.tier-list { display: flex; flex-wrap: wrap; gap: .75rem 1.65rem; list-style: none; padding: 0; margin: 1rem 0 1.35rem; }
.tier-list strong { display: block; font-size: 1.08rem; }
.spaced { margin-top: 1.6rem; }
.glance { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.3rem; }
.glance ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .75rem 1.35rem; padding-left: 1.2rem; }
.updates { background: var(--paper); border-top: 1px solid var(--line); }
.update { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 1.5rem 2.1rem; }
.update img { width: 100%; height: auto; }
.update .meta { margin-bottom: .45rem; font-size: .92rem; }
.footer { background: var(--deep); color: var(--cream); padding-top: 2.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: 1.55rem 2.5rem; }
.footer h2, .footer h3 { font-size: 1.55rem; margin-bottom: .7rem; }
.footer a { display: block; width: fit-content; margin: .3rem 0; overflow-wrap: anywhere; }
.footer small { font-size: .84em; }
.footer-end { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.35rem; flex-wrap: wrap; border-top: 1px solid #759085; margin-top: 2rem; padding-block: .95rem; font-size: .9rem; }
@media (max-width: 830px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { padding-block: .75rem; gap: .6rem; }
  .brand strong { font-size: 1.8rem; }
  .brand img { width: 44px; height: 39px; }
  nav { gap: .6rem 1.1rem; }
  nav > a { display: flex; min-height: 44px; align-items: center; }
  .hero, .three, .feature-split, .member-inner, .update, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.9rem 1rem; }
  .hero h1 { max-width: 12ch; }
  .hero img { height: auto; aspect-ratio: 4/3; }
  .member img { max-height: 12rem; justify-self: start; margin: 0; }
  .card img { aspect-ratio: 16/9; }
}
.course-search { margin-bottom: 1.65rem; width: min(100%, 34rem); }
.course-search label { display: block; font-weight: 730; margin-bottom: .3rem; }
.course-search > div { display: flex; gap: .55rem; }
.course-search input[type="search"] {
  min-width: 0;
  flex: 1;
  border: 1px solid #827c6a;
  border-radius: .28rem;
  padding: .6rem .8rem;
  color: var(--deep);
  background: var(--paper);
  font: inherit;
}
.course-search :is(input, button):focus-visible { outline: 3px solid #a65435; outline-offset: 3px; }
.course-search button { font: inherit; font-weight: 750; cursor: pointer; }

/* Interior pages share the typography and palette of the home rendering. */
.page-head {
  color: var(--cream);
  background: var(--deep);
  border-bottom: 4px solid var(--gold);
  padding-block: clamp(1.8rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem);
}
.page-head h1, .page-content > h1 {
  font-size: clamp(2.45rem, 5.4vw, 4.7rem);
  max-width: 19ch;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.breadcrumbs { gap: .3rem .75rem; font-size: .9rem; margin-bottom: 1rem; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs > * + *::before { content: "›"; margin-right: .75rem; display: inline-block; }
.page-content { padding-block: clamp(2rem, 5vw, 4.25rem); }
.page-content p { overflow-wrap: anywhere; }
.page-content h2, .prose h2 { font-size: clamp(1.75rem, 3.7vw, 2.7rem); }
.prose { max-width: 48rem; }
.prose p { margin-block: .75rem; }
.prose img { max-height: 30rem; width: auto; height: auto; object-fit: contain; }
.prose :is(h2,h3,h4) { margin-top: 1.6em; }
.prose :is(h2,h3,h4):first-child { margin-top: 0; }
.prose :is(dt,li) { margin-block: .25rem; }
.prose dd { margin-left: 0; }
.handoff { display: flex; gap: .5rem 1rem; flex-wrap: wrap; align-items: center; }
.handoff span { color: var(--olive); font-size: .95rem; }
.course-meta { background: var(--sand); padding: 1rem 1.4rem; margin-block: 1.4rem; }
.course-meta div { display: flex; gap: .2rem .8rem; flex-wrap: wrap; align-items: baseline; }
.course-meta dt { font-weight: 700; min-width: 9rem; }
.catalog { margin-top: 3.75rem; }
.course-search input[type="search"] { width: 100%; }
.course-search { margin-top: 1.15rem; }
.course-search p { margin-top: .5rem; }
.catalog-entry .card { height: 100%; }
[hidden] { display: none !important; }
.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.2rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { padding-top: .4rem; }
nav a[aria-current] { text-decoration: underline; text-underline-offset: .4em; }
#courses .section-head { margin-bottom: .8rem; }
#courses .grid { margin-top: 0; }
#courses .card-body { padding: .85rem 1.1rem; }
#courses .card-body p { margin-top: .3rem; }
#courses .card-body .text-link { padding-top: .5rem; }
.about-banner { margin-bottom: 1.6rem; }
.about-banner img { width: 100%; max-height: 22rem; object-fit: cover; }
@media (max-width: 850px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}
