/* ============================================
   Together We Heal — stylesheet
   Palette: Forest #1B4332, Pine #2D6A4F,
   Sage tint #EDF2EC, Gold #C68A3F,
   Ink #21262B, Paper #FDFDFB
   Type: Fraunces (display) / Inter (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --forest: #1B4332;
  --pine: #2D6A4F;
  --pine-light: #40916C;
  --sage: #EDF2EC;
  --sage-deep: #DCE7DD;
  --gold: #C68A3F;
  --gold-light: #E0B472;
  --ink: #21262B;
  --ink-soft: #545B58;
  --paper: #FDFDFB;
  --white: #FFFFFF;
  --line: #E3E1DA;

  --max: 1200px;
  --radius: 14px;
  --shadow: 0 20px 40px -20px rgba(27, 67, 50, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  color: var(--forest);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--forest);
}
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 10px 24px -10px rgba(198,138,63,0.6); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: inherit;
}
.btn-outline.on-light {
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline.on-light:hover { background: var(--forest); color: var(--white); }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline.on-dark:hover { background: rgba(255,255,255,0.12); }
.btn-lang {
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  border: 1.5px solid var(--forest);
  color: var(--forest);
}
.btn-lang:hover { background: var(--forest); color: var(--white); }

/* ---------- nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 253, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 38px; width: auto; border-radius: 8px; }
.brand-text {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--forest);
}
.brand-text small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after { width: 100%; }
nav.main-nav a.active { color: var(--forest); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 90px;
  background: var(--sage);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 600;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero h1 .accent-word {
  color: var(--gold);
  font-style: normal;
  padding-left: 0.08em;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 30px; }
.hero-credibility {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--pine);
  font-weight: 600;
}
.hero-credibility .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-media { position: relative; }
.hero-media .frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 460px; object-fit: cover; }
.ring-accent {
  position: absolute;
  width: 150px; height: 150px;
  right: -40px; bottom: -40px;
  z-index: -1;
}
.ring-accent circle { fill: none; stroke: var(--gold); stroke-width: 1.4; }

/* ---------- featured wide video ---------- */
.video-wide {
  background: var(--forest);
  padding: 80px 0;
}
.video-wide .section-head h2 { color: var(--white); }
.video-wide .eyebrow { color: var(--gold-light); }
.video-wide-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wide-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- section basics ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--sage); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- programs grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.program-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.program-card .img-wrap { position: relative; height: 190px; }
.program-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.program-card .icon-badge {
  position: absolute;
  bottom: -20px; left: 20px;
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.3);
}
.program-card .icon-badge svg { width: 22px; height: 22px; stroke: var(--forest); }
.program-card .body { padding: 34px 22px 24px; }
.program-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.program-card p { font-size: 0.95rem; margin: 0; }

/* ---------- story / testimonial ---------- */
.story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.story img { border-radius: var(--radius); height: 420px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.stars { display: flex; gap: 4px; margin-bottom: 18px; color: var(--gold); }
.story blockquote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.55rem;
  color: var(--forest);
  margin: 0 0 22px;
  line-height: 1.4;
}
.story .attribution { border-left: 3px solid var(--gold); padding-left: 18px; }
.story .attribution .name { font-weight: 700; color: var(--forest); }
.story .attribution .role { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- get involved ---------- */
.involve {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.involve-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.involve-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink);
}
.involve-list li:last-child { border-bottom: none; }
.involve-list .check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--pine);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.involve-list .check svg { width: 13px; height: 13px; stroke: white; }
.involve-media img { border-radius: var(--radius); height: 440px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-card .ic {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.contact-card .ic svg { width: 24px; height: 24px; stroke: var(--pine); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card .value { font-weight: 700; color: var(--pine); margin-bottom: 4px; word-break: break-word; }
.contact-card .desc { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ---------- follow band ---------- */
.follow-band {
  background: var(--forest);
  color: var(--white);
  border-radius: 20px;
  padding: 54px 40px;
  text-align: center;
}
.follow-band h2 { color: var(--white); }
.follow-band p { color: rgba(255,255,255,0.8); max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- upcoming event ---------- */
.event-grid {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.event-media { position: relative; margin-bottom: 36px; }
.event-media img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.event-details .event-line {
  margin: 6px 0;
  color: var(--ink);
}
.event-details .event-line:first-of-type { margin-top: 22px; }
.event-details .event-line strong { color: var(--forest); }
.event-details .hero-actions { margin-top: 28px; justify-content: center; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: var(--sage);
  padding: 66px 0 56px;
  text-align: center;
}
.page-hero .wrap { max-width: 760px; }

/* ---------- video / gallery grids ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.video-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.video-card .frame-16-9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.video-card .frame-16-9 iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-card .caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--pine);
}
.video-card .caption svg { width: 17px; height: 17px; stroke: var(--pine); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(27,67,50,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: 26px; right: 30px;
  background: none; border: none; color: white;
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- two-column feature (programs page) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature img { border-radius: var(--radius); height: 420px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.feature + .feature { margin-top: 96px; }
.feature ul { list-style: none; padding: 0; margin: 22px 0 0; }
.feature ul li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
}
.feature ul li svg { width: 20px; height: 20px; stroke: var(--gold); flex-shrink: 0; margin-top: 3px; }
.feature ul li strong { color: var(--forest); }

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,0.86);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 36px; border-radius: 8px; }
.footer-brand span { font-family: 'Lora', serif; font-size: 1.1rem; color: var(--white); font-weight: 600; }
footer.site-footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer ul li { margin-bottom: 10px; }
footer.site-footer ul a, footer.site-footer p { color: rgba(255,255,255,0.72); font-size: 0.94rem; }
footer.site-footer ul a:hover { color: var(--gold-light); }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.social-row a:hover { background: var(--gold); }
.social-row svg { width: 17px; height: 17px; stroke: white; }
.footer-bottom {
  padding-top: 26px;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom p { color: inherit; margin: 0 0 6px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: 320px; }
  .video-feature-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .video-feature-text .eyebrow { justify-content: center; }


  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .story, .involve, .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature img, .story img, .involve-media img { height: 320px; }
  .event-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav, .nav-actions .btn { display: none; }
  .nav-actions .btn-lang { display: inline-flex; }
  .nav-toggle { display: block; }
  nav.main-nav.open {
    display: flex;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px 26px;
    gap: 18px;
  }
  section { padding: 64px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
