:root {
  --forest: #1c3d30;
  --forest-deep: #12281f;
  --forest-mid: #2c5644;
  --cream: #f3eee4;
  --cream-deep: #e6dccb;
  --paper: #fbf7f1;
  --ink: #1c2b24;
  --muted: #3e5248;
  --line: #ddd3c3;
  --terracotta: #9a4632;
  --terracotta-dark: #7a3727;
  --terracotta-soft: #f4e3da;
  --on-accent: #fffaf6;
  --shadow: 0 18px 44px rgba(18, 40, 31, 0.08);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans Pro", "Source Sans 3", "Segoe UI", sans-serif;
  --shell: min(92vw, 1120px);
  --radius: 2px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --forest: #e7f0ea;
  --forest-deep: #08140f;
  --forest-mid: #8faf9e;
  --cream: #12261e;
  --cream-deep: #1a3329;
  --paper: #1b342b;
  --ink: #f6f1e8;
  --muted: #d5e0d8;
  --line: #345445;
  --terracotta: #e7a08c;
  --terracotta-dark: #f3c2b2;
  --terracotta-soft: #2a211c;
  --on-accent: #1c120e;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--terracotta);
  color: var(--on-accent);
  padding: .7rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  background: var(--forest-deep);
  color: #f6f1e8;
  position: sticky;
  top: 0;
  z-index: 4;
}
.header-inner {
  width: var(--shell);
  margin: 0 auto;
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand-mark { width: 2.7rem; height: 2.7rem; flex: 0 0 2.7rem; }
.brand-text { display: grid; gap: .15rem; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand-subtitle { color: #e7d7c3; font-size: .92rem; font-weight: 600; }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .coral-9c88 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid rgba(246, 241, 232, .35);
  background: transparent;
  color: #f6f1e8;
  padding: .4rem .75rem;
  cursor: pointer;
}
.theme-toggle svg { display: block; }
.coral-9c88 { display: none; }
.primary-nav { display: flex; align-items: center; gap: .15rem 1rem; flex-wrap: wrap; justify-content: flex-end; }
.primary-nav a {
  color: #f6f1e8;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-color: #e7a08c; color: #fff; }
.nav-cta {
  background: var(--terracotta) !important;
  color: #fffaf6 !important;
  border: 0 !important;
  padding: .65rem .9rem !important;
  margin-left: .35rem;
}
.nav-cta:hover { background: var(--terracotta-dark) !important; }

.page-shell { width: var(--shell); margin: 0 auto; }
.flint-26be { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 2.5rem; align-items: start; }
.flint-26be:has([data-pearl71][hidden]) { grid-template-columns: minmax(0, 1fr); }
[data-pearl71][hidden] { display: none !important; }
.frost-bbcc {
  border-left: 1px solid var(--line);
  padding: .2rem 0 0 1.1rem;
  position: sticky;
  top: 6.4rem;
}
.frost-bbcc h2 {
  margin: 0 0 .8rem;
  color: var(--terracotta);
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.frost-bbcc ol { list-style: none; margin: 0; padding: 0; }
.frost-bbcc li { border-top: 1px solid var(--line); padding: .75rem 0; }
.frost-bbcc a { color: var(--forest); font-weight: 700; text-decoration: none; }
.frost-bbcc a:hover { color: var(--terracotta); }

.eyebrow {
  margin: 0 0 .7rem;
  color: var(--terracotta);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; color: var(--forest); }
.display-title, .page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  margin: 0 0 1rem;
  max-width: 12ch;
}
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; max-width: 38rem; color: var(--muted); margin: 0 0 1.5rem; }
.section-heading { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.5rem; }
.section-heading h2, .band h2, .content-block h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 .4rem; }
.section-heading p { margin: 0; max-width: 26rem; color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 3rem;
  padding: .75rem 1.15rem;
  background: var(--terracotta);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--terracotta);
  cursor: pointer;
}
.button:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }
.button.secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.button.secondary:hover { background: var(--forest); color: var(--cream); }
.link-arrow { color: var(--terracotta); font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(18rem, 1.05fr); min-height: 34rem; }
.hero-copy { align-self: center; padding: 4.5rem 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-art { position: relative; min-height: 24rem; }
.hero-art img, .frame img, .page-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art img { position: absolute; inset: 0; }
.hero-ribbon {
  position: absolute;
  left: 0;
  bottom: 1.25rem;
  background: var(--forest-deep);
  color: #f6f1e8;
  padding: 1rem 1.2rem;
  max-width: 18rem;
}
.hero-ribbon strong { display: block; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; }
.hero-ribbon span { display: block; color: #e7d7c3; margin-top: .25rem; }

.band { padding: 4.8rem 0; }
.band-paper { background: var(--paper); }
.band-soft { background: var(--cream-deep); }
.intro-grid, .card-grid, .resource-grid, .choir-grid, .news-grid, .benefit-grid, .office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}
.info-card, .resource-card, .choir-card, .office-card, .benefit-card, .bloom-8e88 {
  background: var(--paper);
  border: 1px solid var(--line);
  min-width: 0;
}
.info-card, .resource-card, .choir-card, .office-card, .benefit-card { padding: 1.35rem 1.3rem 1.45rem; }
.band-paper .info-card, .band-paper .bloom-8e88, .band-paper .choir-card { background: var(--cream); }
.info-card h3, .resource-card h3, .choir-card h3, .office-card h3, .benefit-card h3 {
  margin: .35rem 0 .45rem;
  font-size: 1.7rem;
}
.info-card p, .resource-card p, .choir-card p, .benefit-card p, .office-card p { margin: 0; color: var(--muted); }
.card-kicker { color: var(--terracotta); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

.bloom-8e88 { display: flex; flex-direction: column; }
.bloom-8e88:hover { box-shadow: var(--shadow); }
.mercury-d5d0 { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-deep); }
.mercury-d5d0 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bloom-8e88 > :not(.mercury-d5d0), .nova-b4eb > * { margin-left: 1.15rem; margin-right: 1.15rem; }
.fable-08d4 { display: flex; flex-wrap: wrap; gap: .45rem .8rem; align-items: center; margin-top: 1rem; }
.atlas-9e62 { color: var(--terracotta); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.fable-08d4 time, .story-date { color: var(--muted); font-size: .95rem; }
.bloom-8e88 h3 { font-size: 1.65rem; margin-top: .55rem; margin-bottom: .4rem; }
.bloom-8e88 h3 a { text-decoration: none; }
.bloom-8e88 h3 a:hover { color: var(--terracotta); }
.bloom-8e88 p { color: var(--muted); margin-top: 0; margin-bottom: 1.2rem; }
.flint-c6fe { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.onyx-92f3 { font-weight: 700; font-size: .95rem; }
.slate-836f { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(16rem, .95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split.reverse { grid-template-columns: minmax(16rem, .9fr) minmax(0, 1.1fr); }
.frame { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; background: var(--cream-deep); }
.frame figcaption { padding: .55rem 0 0; color: var(--muted); font-size: .95rem; }

.course-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.course-row {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: .9rem;
}
.course-date { background: var(--forest-deep); color: #f6f1e8; text-align: center; padding: .65rem .35rem; }
.course-date strong { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; font-weight: 600; }
.course-date span { display: block; font-size: .85rem; color: #e7d7c3; }
.course-row h3 { margin: 0 0 .2rem; font-size: 1.45rem; }
.course-row p { margin: 0; color: var(--muted); }
.course-row[hidden], .choir-card[hidden], .resource-card[hidden] { display: none; }

.quote-band { background: var(--forest-deep); color: #f6f1e8; padding: 5rem 0; }
.quote-band blockquote { margin: 0; max-width: 46rem; }
.quote-band p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  color: #f6f1e8;
}
.quote-band footer { margin-top: 1.2rem; color: #e7d7c3; font-style: normal; font-family: var(--font-body); font-size: 1.05rem; }

.join-band { background: var(--terracotta-soft); padding: 4.5rem 0; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr); gap: 2rem; align-items: center; }
.check-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.check-list li { padding: .45rem 0 .45rem 1.5rem; position: relative; }
.check-list li::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--terracotta); position: absolute; left: 0; top: .85rem; }

.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 3.5rem 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .8fr); gap: 2rem; align-items: center; }
.page-hero-photo { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; background: var(--cream-deep); }
.content-block { padding: 1rem 0 2.2rem; }
.content-block p { max-width: 44rem; }
.pull-quote {
  margin: 1.4rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--terracotta);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.25;
  color: var(--forest);
}
.steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.steps li { background: var(--paper); border: 1px solid var(--line); padding: 1rem 1.1rem; }
.steps strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--forest); }

.tool-bar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; margin-bottom: 1.2rem; }
.tool-bar label { flex: 1 1 14rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip, .plume-8b66 {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  padding: .55rem .85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.chip[aria-pressed="true"], .plume-8b66.coral-1c53 { background: var(--forest); color: #f6f1e8; border-color: var(--forest); }
.archive-tools { display: grid; gap: .9rem; margin-bottom: 1.4rem; }
.archive-tools form { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; }
.archive-tools input { flex: 1 1 16rem; }
.result-count { margin: 0 0 1rem; color: var(--muted); }

label { display: grid; gap: .35rem; font-weight: 700; color: var(--forest); }
input, select, textarea {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: .8rem .9rem;
  border-radius: var(--radius);
}
textarea { min-height: 9rem; resize: vertical; }
.stack-form { display: grid; gap: .85rem; }
.form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.1rem, 3vw, 1.8rem); }
.form-status { margin: 0; color: var(--forest); font-weight: 700; }
.fine-print { color: var(--muted); font-size: 1rem; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.choir-meta { display: flex; justify-content: space-between; gap: .6rem; color: var(--muted); font-size: 1rem; }
.choir-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .8rem; margin: .2rem 0 .4rem; }
.choir-card dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); }
.choir-card dd { margin: 0; }

.faq-list details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--forest); }
.faq-list p { margin: .6rem 0 0; }

.prose { background: var(--paper); padding: clamp(1.1rem, 3vw, 2.2rem); }
.prose p, .prose li { color: var(--ink); font-size: 1.12rem; line-height: 1.75; }
.prose h2, .prose h3 { margin: 1.6rem 0 .6rem; }
.prose a { color: var(--terracotta); }
.prose blockquote { border-left: 4px solid var(--terracotta); margin: 1.4rem 0; padding-left: 1rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--forest); }
.article-layout { padding-top: 2.5rem; }
.grove-7b69 h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: .4rem 0 .8rem; max-width: 18ch; }
.lumen-07f7 { font-size: 1.25rem; color: var(--muted); }
.quartz-c849 { margin: 1.4rem 0; }
.byline { display: flex; gap: .8rem; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: .8rem 1rem; margin-bottom: 1rem; max-width: 47rem; }
.byline[hidden] { display: none; }
.byline strong { display: block; }
.byline p { margin: .15rem 0 0; color: var(--muted); }
.crumb { margin: 0 0 1rem; }
.crumb a { color: var(--terracotta); font-weight: 700; text-decoration: none; }
.not-found { padding: 4rem 0 3rem; }
.not-found h1 { font-size: clamp(3.2rem, 8vw, 6rem); margin: .3rem 0 1rem; }

.site-footer { background: var(--forest-deep); color: #f6f1e8; padding: 3.2rem 0 1.4rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.1fr; gap: 2rem; }
.site-footer h2 {
  margin: 0 0 .8rem;
  color: #e7d7c3;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer p { color: #e4ddd2; margin: 0 0 .7rem; max-width: 28rem; }
.site-footer a { color: #f6f1e8; }
.footer-links, .social-links { list-style: none; margin: 0; padding: 0; }
.footer-links li, .social-links li { margin: .35rem 0; }
.footer-links a, .social-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover, .social-links a:hover { text-decoration: underline; }
.site-footer .brand-name, .site-footer .brand { color: #f6f1e8; }
.site-footer label { color: #f6f1e8; }
.site-footer input { background: #fbf7f1; color: #1c2b24; }
.footer-bottom {
  width: var(--shell);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 241, 232, .18);
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  color: #d9cbb8;
  font-size: 1rem;
}

@media (max-width: 1040px) {
  .coral-9c88 { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--forest-deep);
    flex-direction: column;
    align-items: stretch;
    padding: .4rem var(--shell) 1.2rem;
    gap: 0;
  }
  .primary-nav.ember-e366 { display: flex; }
  .primary-nav a { border-bottom: 1px solid rgba(246, 241, 232, .14); padding: .9rem 0; }
  .nav-cta { margin: .8rem 0 0; text-align: center; }
  .hero-grid, .split, .split.reverse, .page-hero-grid, .join-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 3rem 0 2rem; }
  .hero-art { min-height: 20rem; }
  .flint-26be, .flint-26be:has([data-pearl71][hidden]) { grid-template-columns: 1fr; }
  .frost-bbcc { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 1.2rem 0 0; }
  .section-heading { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .brand-subtitle { display: none; }
  .course-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .display-title, .page-hero h1 { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
