/* ============================================================
   Pure Eden Foundation — stylesheet
   Brand: forest green + navy, warm cream canvas
   Fonts: Newsreader (serif display) + Public Sans (body)
   ============================================================ */

:root {
  --green:       #1c8a4e;
  --green-dark:  #146239;
  --green-soft:  #e6f2ea;
  --green-tint:  #f1f8f3;
  --navy:        #2f4a6d;
  --navy-dark:   #1d3350;
  --navy-deep:   #16283f;
  --ink:         #1f2a25;
  --muted:       #5d6b63;
  --muted-2:     #7a857e;
  --cream:       #faf8f3;
  --card:        #ffffff;
  --border:      #e8e3d8;
  --border-2:    #ded8ca;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1200px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(22,40,63,.05), 0 2px 8px rgba(22,40,63,.04);
  --shadow-md: 0 6px 20px rgba(22,40,63,.09);
  --shadow-lg: 0 18px 48px rgba(22,40,63,.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--green); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 28px; padding-right: 28px; width: 100%; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--green); margin: 0 0 12px;
}
.eyebrow.navy { color: var(--navy); }

.section { padding: 76px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-title { font-size: clamp(28px, 4vw, 36px); line-height: 1.1; margin: 0; }
.link-more { font-size: 14px; font-weight: 700; border-bottom: 1.5px solid var(--green); padding-bottom: 2px; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px; font-family: var(--sans);
  font-size: 15px; font-weight: 700; cursor: pointer; border: 1.6px solid transparent;
  transition: transform .16s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; box-shadow: 0 8px 20px rgba(28,138,78,.28); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; box-shadow: 0 8px 20px rgba(47,74,109,.28); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,248,243,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.nav a:hover { color: var(--green); }
/* The in-nav CTA is for the mobile dropdown only; desktop uses .header-cta */
.nav a.btn { display: none; }
.site-header .nav a.btn-green { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .25s ease, opacity .2s ease; }

/* ---------- Hero ---------- */
.hero { padding: 60px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.07; margin: 0 0 22px; }
.hero p.lead { font-size: 17.5px; line-height: 1.65; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.carousel { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--green-soft); }
.carousel-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.carousel-track .slide { flex: 0 0 100%; height: 100%; position: relative; }
.carousel-track .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption { position: absolute; left: 16px; bottom: 46px; right: 16px; color: #fff; font-size: 13.5px; font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.carousel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,15,.5), transparent 45%); pointer-events: none; }
.carousel-dots { position: absolute; z-index: 2; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s, transform .2s; }
.carousel-dots button.active { background: #fff; transform: scale(1.15); }

/* ---------- Stats ---------- */
.stats { background: var(--green-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.stat { text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(30px, 4vw, 40px); font-weight: 600; color: var(--green); line-height: 1; }
.stat .num .plus { color: var(--navy); }
.stat .lbl { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 18px; line-height: 1.12; }
.about-copy p { color: var(--muted); margin: 0 0 16px; font-size: 15.5px; line-height: 1.75; }
.about-cards { display: grid; gap: 18px; }
.mv-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px 30px; box-shadow: var(--shadow-sm); }
.mv-card h3 { font-size: 21px; margin: 0 0 8px; }
.mv-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.mv-card .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); width: 100%; }
.mv-card .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mv-card.green .tag { color: var(--green); }
.mv-card.navy .tag { color: var(--navy); }

/* ---------- Focus / What we do ---------- */
.focus { background: var(--navy-deep); color: #fff; }
.focus .eyebrow { color: #7fd0a1; }
.focus h2 { color: #fff; font-size: clamp(26px, 3.6vw, 34px); }
.focus .sub { color: rgba(255,255,255,.72); max-width: 560px; margin: 10px 0 0; font-size: 15.5px; }
.focus-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 44px; }
.focus-item { text-align: center; }
.focus-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 14px; background: rgba(127,208,161,.14);
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(127,208,161,.25); }
.focus-icon svg { width: 28px; height: 28px; stroke: #7fd0a1; fill: none; stroke-width: 1.8; }
.focus-item h4 { font-size: 16px; color: #fff; margin: 0 0 6px; }
.focus-item p { font-size: 13px; color: rgba(255,255,255,.62); margin: 0; line-height: 1.55; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; }
.news-featured { display: block; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--border); cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.news-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-featured .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--green-soft); }
.news-featured .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-featured:hover .thumb img { transform: scale(1.04); }
.news-featured .body { padding: 26px 28px 30px; }
.news-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--green-soft); color: var(--green-dark); padding: 4px 11px; border-radius: 100px; }
.date { font-size: 13px; color: var(--muted-2); }
.news-featured h3 { font-size: 24px; line-height: 1.25; margin: 0 0 10px; color: var(--ink); }
.news-featured p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }
.news-side { display: flex; flex-direction: column; }
.news-item { display: flex; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--border); cursor: pointer; }
.news-item:first-child { padding-top: 0; }
.news-item .thumb { flex: 0 0 92px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--green-soft); }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item .kicker { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.news-item h4 { font-size: 16.5px; line-height: 1.3; margin: 0 0 6px; color: var(--ink); }
.news-item:hover h4 { color: var(--green); }
.news-item .date { font-size: 12.5px; }

/* ---------- Events ---------- */
.tabs { display: flex; gap: 6px; background: var(--card); padding: 5px; border-radius: 100px; border: 1px solid var(--border); }
.tabs button { border: none; cursor: pointer; padding: 9px 22px; border-radius: 100px; font-family: var(--sans); font-size: 13.5px; font-weight: 700; background: transparent; color: var(--muted); transition: background .2s, color .2s; }
.tabs button.active { background: var(--navy); color: #fff; }
.events-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.event { background: var(--card); }
.event-head { display: flex; align-items: center; gap: 22px; padding: 22px 24px; cursor: pointer; }
.event-date { flex: 0 0 66px; text-align: center; }
.event-date .d { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; color: var(--ink); }
.event-date .m { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-top: 4px; }
.event-sep { width: 1px; align-self: stretch; background: var(--border); }
.event-info { flex: 1; min-width: 0; }
.event-info h4 { font-size: 18px; margin: 0 0 3px; }
.event-info .meta { font-size: 13.5px; color: var(--muted); }
.event-toggle { font-size: 13px; font-weight: 700; color: var(--green); white-space: nowrap; }
.event-body { padding: 0 24px 24px 112px; display: none; flex-direction: column; gap: 16px; align-items: flex-start; }
.event.open .event-body { display: flex; animation: fadeIn .3s ease; }
.event-body p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 640px; }
.event-empty-inner { padding: 36px 28px; text-align: center; max-width: 560px; margin: 0 auto; }
.event-empty-inner h4 { font-size: 20px; margin: 0 0 8px; color: var(--ink); }
.event-empty-inner p { font-size: 14.5px; color: var(--muted); margin: 0 0 20px; line-height: 1.65; }
.event-empty-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card .photo { aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; margin-bottom: 15px; background: var(--green-soft); box-shadow: var(--shadow-sm); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card .mono { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 56px; font-weight: 600; color: #fff; }
.team-card h4 { font-size: 17.5px; margin: 0 0 2px; }
.team-card .role { font-size: 13px; color: var(--navy); font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border-2); background: var(--card); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 17px; color: var(--ink); transition: background .18s, opacity .2s; }
.gallery-nav button:hover { background: var(--green-soft); }
.gallery-nav button:disabled { opacity: .35; cursor: default; }
.gallery-viewport { overflow: hidden; }
.gallery-track { display: flex; gap: 20px; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.gallery-card { flex: 0 0 280px; cursor: pointer; position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,15,.78), transparent 55%); }
.gallery-card .cap { position: absolute; left: 15px; right: 15px; bottom: 13px; color: #fff; z-index: 2; }
.gallery-card .cap h4 { font-size: 15px; line-height: 1.3; margin: 0 0 3px; color: #fff; }
.gallery-card .cap span { font-size: 11.5px; opacity: .85; }

/* ---------- Social ---------- */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.social-card { display: block; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--border); color: inherit; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.social-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--green-soft); }
.social-media img { width: 100%; height: 100%; object-fit: cover; }
.social-badge { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 6px; color: #fff; padding: 5px 11px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.social-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.social-play i { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; }
.social-play i::after { content: ""; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid var(--ink); margin-left: 3px; }
.social-body { padding: 15px 17px; }
.social-body .cap { font-size: 13.5px; line-height: 1.5; color: var(--ink); margin-bottom: 8px; }
.social-body .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-2); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--navy); color: #fff; }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 52px 0; }
.newsletter h3 { font-size: 26px; color: #fff; margin: 0 0 8px; }
.newsletter p { font-size: 14.5px; color: rgba(255,255,255,.8); margin: 0; }
.newsletter form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter input { padding: 13px 18px; border-radius: 100px; border: none; font-size: 14px; width: 270px; font-family: var(--sans); }
.newsletter input:focus { outline: 2px solid var(--green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); margin-top: auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 30px; }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; max-width: 300px; margin: 0 0 16px; }
.footer-brand .phone { font-size: 13.5px; color: rgba(255,255,255,.9); }
.footer-col h5 { font-size: 12.5px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 15px; }
.footer-col a, .footer-col .line { display: block; color: rgba(255,255,255,.72); font-size: 13.5px; margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--green); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Article view ---------- */
.article { max-width: 840px; margin: 0 auto; padding: 52px 28px 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--green); cursor: pointer; margin-bottom: 26px; background: none; border: none; padding: 0; font-family: var(--sans); }
.article h1 { font-size: clamp(30px, 4.5vw, 40px); line-height: 1.14; margin: 0 0 20px; }
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.share-row .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share-row a, .share-row button { font-size: 13px; font-weight: 700; color: var(--ink); border: 1.5px solid var(--border-2); padding: 7px 15px; border-radius: 100px; background: none; cursor: pointer; font-family: var(--sans); }
.share-row a:hover { border-color: var(--green); color: var(--green); }
.share-row .copy { color: var(--green); border-color: var(--green); }
.article-hero { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow-md); background: var(--green-soft); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body p { font-size: 16.5px; line-height: 1.78; color: #33403a; margin: 0 0 18px; }
.article-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.article-gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: pointer; box-shadow: var(--shadow-sm); }
.more-stories { max-width: var(--wrap); margin: 0 auto; padding: 60px 28px 80px; }
.divider { height: 1px; background: var(--border); margin-bottom: 44px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.more-card { cursor: pointer; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.more-card:hover { transform: translateY(-3px); }
.more-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--green-soft); }
.more-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.more-card .body { padding: 18px; }
.more-card .kicker { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.more-card h4 { font-size: 16px; line-height: 1.3; margin: 0 0 7px; }
.more-card .date { font-size: 12.5px; }

/* ---------- Campaign view ---------- */
.campaign { max-width: 840px; margin: 0 auto; padding: 52px 28px 90px; }
.campaign h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.14; margin: 0 0 18px; }
.campaign .meta { font-size: 13.5px; color: var(--muted); margin: 0 0 26px; }
.campaign-hero { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow-md); background: var(--green-soft); }
.campaign-hero img { width: 100%; height: 100%; object-fit: cover; }
.campaign p.desc { font-size: 16.5px; line-height: 1.72; color: #33403a; margin: 0 0 26px; }
.progress { height: 9px; background: var(--green-soft); border-radius: 100px; overflow: hidden; margin-bottom: 9px; }
.progress > i { display: block; height: 100%; background: var(--green); border-radius: 100px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 30px; }
.campaign-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,20,15,.85); display: flex; align-items: center; justify-content: center; padding: 32px; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner { background: var(--cream); border-radius: 18px; max-width: 940px; width: 100%; max-height: 86vh; overflow: auto; padding: 30px; transform: scale(.94); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.lightbox.open .lightbox-inner { transform: scale(1); }
.lightbox-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.lightbox-head h3 { font-size: 22px; }
.lightbox-close { cursor: pointer; font-size: 26px; line-height: 1; color: var(--muted); background: none; border: none; padding: 2px; }
.lightbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lightbox-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

.hidden { display: none !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Reveal is progressive enhancement: content is fully visible by default,
   and only starts hidden once JS marks the document as reveal-capable. */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero .carousel { order: -1; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .news-grid { grid-template-columns: 1fr; gap: 26px; }
  .focus-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 16px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .header-cta { gap: 0; }
  .site-header.menu-open .nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    padding: 8px 0 16px; box-shadow: var(--shadow-md);
  }
  .site-header.menu-open .nav a { padding: 14px 28px; font-size: 16px; border-top: 1px solid var(--border); }
  .site-header.menu-open .nav .btn { display: inline-flex; margin: 14px 28px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  /* Focus: single-column, icon-left rows (no orphan, easier to read) */
  .focus-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
  .focus-item { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 3px; text-align: left; padding: 8px 0; }
  .focus-icon { grid-row: 1 / span 2; margin: 0; align-self: start; }
  .focus-item h4 { margin: 0; align-self: end; }
  .focus-item p { margin: 0; align-self: start; }
  .section { padding: 56px 0; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter input { width: 100%; }
  .newsletter form { width: 100%; }
  .event-body { padding-left: 24px; }
  .article-gallery, .lightbox-grid, .more-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .wrap, .article, .campaign, .more-stories { padding-left: 20px; padding-right: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .social-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn, .campaign-actions .btn { flex: 1; }
  .newsletter form { flex-direction: column; }
  .newsletter button { width: 100%; }
}
