/* Falls Chamber — Custom CSS
   DM Serif Display (headings), Source Sans 3 (body), DM Sans (UI)
   Green primary, amber accent, warm white bg
   Mobile-first, light/dark via html.dark, key: fc-theme
*/

/* ── Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── Custom Properties ─────────────────────────────── */
:root {
  --bg: #FAFAF7;
  --bg-alt: #F0EDE6;
  --bg-card: #FFFFFF;
  --bg-dark: #1B4332;
  --text: #2C2C2C;
  --text-muted: #5A5A52;
  --text-faint: #8A8A80;
  --primary: #2D6A4F;
  --primary-rgb: 45, 106, 79;
  --primary-light: #52B788;
  --primary-dark: #1B4332;
  --accent: #D4A24E;
  --accent-light: #E8C97A;
  --border: #E2DDD3;
  --border-light: #F0EDE6;
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
  --font-ui: 'DM Sans', system-ui, sans-serif;
}

html.dark {
  --bg: #1A1D1A;
  --bg-alt: #242824;
  --bg-card: #2E332E;
  --bg-dark: #0F1610;
  --text: #E8E6DF;
  --text-muted: #B0AEA4;
  --text-faint: #787870;
  --primary: #52B788;
  --primary-rgb: 82, 183, 136;
  --primary-light: #74D4A4;
  --primary-dark: #2D6A4F;
  --accent: #E8C97A;
  --accent-light: #F0DCA0;
  --border: #333833;
  --border-light: #242824;
}

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}
html.dark { color-scheme: dark; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 2.25rem; /* disclaimer bar clearance */
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.overline {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

/* ── Layout ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

section { padding-block: 4rem; }
@media (min-width: 768px) { section { padding-block: 5.5rem; } }

/* ── Navbar ────────────────────────────────────────── */
.fc-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s, border-color 0.3s;
}

/* When on a dark-hero page, give nav a slightly translucent look initially */
body.has-dark-hero .fc-nav {
  background: rgba(250, 250, 247, 0.97);
}
html.dark body.has-dark-hero .fc-nav {
  background: rgba(26, 29, 26, 0.97);
}

.fc-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
}

.fc-nav__brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.fc-nav__brand:hover { color: var(--primary); }

.fc-nav__links {
  display: none;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
}
@media (min-width: 768px) { .fc-nav__links { display: flex; } }

.fc-nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.fc-nav__links a:hover { color: var(--primary); }

.fc-nav__phone {
  display: none;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 1rem;
}
@media (min-width: 1024px) { .fc-nav__phone { display: inline; } }

.fc-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.125rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.fc-nav__cta:hover { background: var(--primary-light); color: #fff; }

/* Hamburger */
.fc-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem;
}
@media (min-width: 768px) { .fc-nav__hamburger { display: none; } }
.fc-nav__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.fc-nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.fc-nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fc-nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.fc-nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem 1rem;
  font-family: var(--font-ui);
}
.fc-nav__mobile.open { display: flex; }
@media (min-width: 768px) { .fc-nav__mobile { display: none !important; } }
.fc-nav__mobile a {
  display: block;
  padding: 0.625rem 0;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.fc-nav__mobile a:last-child { border-bottom: none; }

/* ── Hero ──────────────────────────────────────────── */
.fc-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.fc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.fc-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0.85;
}

.fc-hero__content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  padding: 3rem 1.25rem;
}

.fc-hero__h1 {
  margin-bottom: 1.25rem;
}

.fc-hero__sub {
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.fc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* ── Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 0.375rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 0.375rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.text-link {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.text-link:hover { border-bottom-color: var(--primary); }

/* ── Proof Bar ─────────────────────────────────────── */
.fc-proof {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 2.5rem;
}

.fc-proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 640px) { .fc-proof__grid { grid-template-columns: repeat(3, 1fr); } }

.fc-proof__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--primary);
  display: block;
}
.fc-proof__stat-label {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Benefits ──────────────────────────────────────── */
.fc-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .fc-benefits__grid { grid-template-columns: repeat(3, 1fr); } }

.fc-benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 0.5rem;
  padding: 2rem 1.75rem;
}

.fc-benefit-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
}
.fc-benefit-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ── Events ────────────────────────────────────────── */
.fc-events__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .fc-events__grid { grid-template-columns: repeat(3, 1fr); } }

.fc-event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fc-event-card__header {
  display: flex;
  align-items: stretch;
}

.fc-event-card__date {
  flex-shrink: 0;
  width: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 0.5rem;
}
.fc-event-card__month {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}
.fc-event-card__day {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.1;
  margin-top: 0.125rem;
}

.fc-event-card__info {
  padding: 1rem 1.25rem;
  flex: 1;
}
.fc-event-card__title {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.fc-event-card__venue {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.fc-event-card__time {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
}

.fc-event-card__body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Testimonial Band ──────────────────────────────── */
.fc-testimonial {
  background: var(--bg-dark);
  color: #fff;
  padding-block: 4rem;
}

.fc-testimonial__inner {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.fc-testimonial blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  font-style: italic;
  position: relative;
  margin-bottom: 1.5rem;
}
.fc-testimonial blockquote::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 0;
  position: relative;
  top: 0.35em;
  margin-right: 0.1em;
  color: var(--primary-light);
  opacity: 0.6;
}

.fc-testimonial__attribution {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.7;
}

/* ── Final CTA ─────────────────────────────────────── */
.fc-cta {
  text-align: center;
}
.fc-cta p {
  color: var(--text-muted);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.fc-cta h2 { margin-bottom: 1rem; }
.fc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── Footer ────────────────────────────────────────── */
.fc-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-block: 3rem 1.5rem;
}

.fc-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .fc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .fc-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

.fc-footer__brand {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.fc-footer p, .fc-footer li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.fc-footer ul { list-style: none; }
.fc-footer ul li { margin-bottom: 0.375rem; }
.fc-footer a { color: var(--text-muted); }
.fc-footer a:hover { color: var(--primary); }

.fc-footer h4 {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.fc-footer__bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.fc-footer__bottom a { color: var(--text-faint); }
.fc-footer__bottom a:hover { color: var(--primary); }

/* Theme toggle in footer */
.fc-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  transition: opacity 0.2s;
}
.fc-theme-toggle:hover { opacity: 0.7; }
.fc-theme-toggle svg { width: 14px; height: 14px; }

/* "Website by Zealous Growth" credit */
.fc-credit {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.fc-credit a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  opacity: 0.4;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.fc-credit a:hover { opacity: 0.6; color: inherit; }
.fc-credit__name {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.02em;
}
.fc-credit__dot { color: #F15822; }

/* ── Disclaimer Bar ────────────────────────────────── */
.fc-disclaimer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 0.5rem 1rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* ── Interior Page Hero ────────────────────────────── */
.fc-page-hero {
  background: var(--bg-alt);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.fc-page-hero h1 { margin-bottom: 0.75rem; }
.fc-page-hero p {
  color: var(--text-muted);
  max-width: 40rem;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

/* ── About page ────────────────────────────────────── */
.fc-prose {
  max-width: 42rem;
}
.fc-prose p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}
.fc-prose p:last-child { margin-bottom: 0; }

.fc-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .fc-values__grid { grid-template-columns: repeat(3, 1fr); } }

.fc-value-card {
  border-top: 3px solid var(--primary);
  padding-top: 1.25rem;
}
.fc-value-card h3 { margin-bottom: 0.5rem; }
.fc-value-card p { color: var(--text-muted); font-size: 0.9375rem; }

/* ── Contact page ──────────────────────────────────── */
.fc-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .fc-contact-grid { grid-template-columns: 1fr 1fr; } }

.fc-contact-info dt {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-top: 1.25rem;
}
.fc-contact-info dt:first-child { margin-top: 0; }
.fc-contact-info dd {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 0.25rem;
}
.fc-contact-info dd a { color: var(--primary); }

/* ── Form ──────────────────────────────────────────── */
.fc-form { display: flex; flex-direction: column; gap: 1.25rem; }

.fc-form label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.fc-form input,
.fc-form textarea,
.fc-form select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  transition: border-color 0.2s;
}
.fc-form input:focus,
.fc-form textarea:focus,
.fc-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}
.fc-form textarea { resize: vertical; min-height: 7rem; }

.fc-form__status {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  display: none;
}
.fc-form__status.success {
  display: block;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}
.fc-form__status.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
}
html.dark .fc-form__status.error {
  background: #3b1515;
  color: #fca5a5;
}

/* ── Membership page ───────────────────────────────── */
.fc-membership-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .fc-membership-benefits { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.fc-membership-benefit h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.fc-membership-benefit p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.fc-checklist {
  list-style: none;
  margin-top: 1.5rem;
}
.fc-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.fc-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* FAQ Accordion */
.fc-faq { margin-top: 3rem; max-width: 42rem; }
.fc-faq h2 { margin-bottom: 1.5rem; }

.fc-faq__item {
  border-bottom: 1px solid var(--border);
}
.fc-faq__item:first-of-type { border-top: 1px solid var(--border); }

.fc-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 1rem;
}
.fc-faq__question:hover { color: var(--primary); }

.fc-faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}
.fc-faq__item.open .fc-faq__icon { transform: rotate(45deg); }

.fc-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-bottom: 0;
}
.fc-faq__item.open .fc-faq__answer {
  max-height: 20rem;
  padding-bottom: 1rem;
}
.fc-faq__answer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ── Utility ───────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Turnstile widget centering */
.cf-turnstile { margin-top: 0.5rem; }
