/* Courageous Healing LLC — static replica
 * Brand teal palette extracted from logo + live Wix site
 */

:root {
  --teal-900: #1b4a52;
  --teal-700: #275f6c;
  --teal-600: #2f7383;
  --teal-500: #447771;
  --teal-50:  #eaf2f3;

  --ink-900: #1a1110;
  --ink-700: #31190f;
  --ink-500: #4a4a4a;
  --ink-300: #8a8a8a;

  --paper:   #ffffff;
  --paper-2: #faf7f3;
  --paper-3: #f1ece4;

  --leaf-green: #8dbf4b;
  --leaf-gold:  #f2c54a;
  --leaf-coral: #e07a52;

  --rule: #e6dfd4;

  --shadow-sm: 0 1px 2px rgba(27, 74, 82, .08);
  --shadow-md: 0 8px 24px rgba(27, 74, 82, .12);
  --shadow-lg: 0 18px 48px rgba(27, 74, 82, .18);

  --radius: 4px;
  --radius-lg: 12px;

  --container: 1180px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--paper);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--teal-900);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); font-weight: 400; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }
a { color: var(--teal-700); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal-900); text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius);
  border: 2px solid var(--teal-700);
  background: var(--teal-700);
  color: #fff;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn:hover {
  background: var(--teal-900);
  border-color: var(--teal-900);
  color: #fff;
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: var(--teal-700);
}
.btn--ghost:hover { background: var(--teal-700); color: #fff; }
.btn--light {
  background: #fff;
  color: var(--teal-700);
  border-color: #fff;
}
.btn--light:hover { background: var(--teal-50); color: var(--teal-900); border-color: var(--teal-50); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.site-header__logo img { height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  padding: 10px 14px;
  color: var(--ink-700);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
}
.site-nav a:hover { color: var(--teal-700); text-decoration: none; background: var(--teal-50); }
.site-nav a.is-active { color: var(--teal-700); }
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta a {
  background: var(--teal-700);
  color: #fff;
  padding: 10px 22px;
}
.site-nav .nav-cta a:hover { background: var(--teal-900); }
.site-nav .nav-login a {
  color: var(--ink-500);
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--teal-900);
  cursor: pointer;
}

@media (max-width: 880px) {
  .site-nav { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-md); }
  .site-nav.is-open { display: flex; align-items: stretch; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--paper-3); }
  .site-nav .nav-cta { margin: 12px 0 0; }
  .site-nav .nav-cta a { display: block; text-align: center; }
  .nav-toggle { display: inline-block; }
  .site-header__logo img { height: 44px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(110deg, rgba(27,74,82,.85) 0%, rgba(39,95,108,.55) 60%, rgba(0,0,0,.2) 100%), #1b4a52;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 100px 24px;
  margin: 0 auto 0 max(24px, calc((100vw - var(--container))/2));
}
.hero h1 { color: #fff; font-style: italic; }
.hero p.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.92);
}

/* ---------- sections ---------- */
section.section {
  padding: 96px 0;
}
section.section--alt { background: var(--paper-2); }
section.section--dark {
  background: var(--teal-900);
  color: #fff;
}
section.section--dark h1, section.section--dark h2, section.section--dark h3 { color: #fff; }
section.section--dark a { color: var(--leaf-gold); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.lead {
  max-width: 720px;
  font-size: 1.1rem;
  color: var(--ink-500);
  margin-bottom: 32px;
}

/* split layouts */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--media-right { grid-template-columns: 1fr 1fr; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img { height: 200px; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- contact form ---------- */
.contact-card {
  background: #fff;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.contact-card h2 { margin-top: 0; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink-700);
  background: #fff;
  transition: border .15s, box-shadow .15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(47,115,131,.15);
}
.form-row textarea { min-height: 120px; resize: vertical; }

/* ---------- events ---------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.event-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.event-card__media {
  aspect-ratio: 16 / 11;
  background: var(--paper-3);
  overflow: hidden;
}
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.event-card__date {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 8px;
}
.event-card h3 { margin: 0 0 .4em; font-size: 1.25rem; }
.event-card__loc { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 16px; }
.event-card__cta { margin-top: auto; font-weight: 600; color: var(--teal-700); }
.event-card.is-cancelled { opacity: 0.75; }
.event-card .status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5e0dd;
  color: #b03a2e;
  margin-bottom: 8px;
}
.event-card .status-pill--live {
  background: #e2f0d7;
  color: #5b8a2d;
}

/* event detail */
.event-hero {
  background: var(--paper-2);
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--rule);
}
.event-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--ink-500);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.event-hero__meta strong { color: var(--ink-900); }

.event-detail {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  padding: 56px 0 96px;
  align-items: start;
}
@media (max-width: 880px) {
  .event-detail { grid-template-columns: 1fr; gap: 32px; }
}
.event-detail__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,.85);
  padding: 80px 0 32px;
}
.site-footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 0.78rem;
  margin-bottom: 18px;
}
.site-footer a { color: var(--leaf-gold); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer__brand img { height: 64px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer__brand p { color: rgba(255,255,255,.75); font-size: 0.95rem; }
.footer-meta {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255,255,255,.6);
  font-size: 0.85rem;
}
.footer-meta a { color: rgba(255,255,255,.75); }

/* ---------- utilities ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mb-32 { margin-bottom: 32px; }

.callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 48px 0;
}
.callout h2 { color: #fff; }
.callout p { max-width: 600px; color: rgba(255,255,255,.9); }

/* page hero (non-home) */
.page-hero {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  padding: 96px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 { margin-bottom: .2em; }
.page-hero p { color: var(--ink-500); max-width: 640px; margin: 0 auto; }
