/* NAWIA static site — single shared stylesheet */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #fbf8ee;
  --fg: #1f2a1c;
  --muted-fg: #5b6657;
  --card: #ffffff;
  --border: #e2dfd2;
  --primary: #2f5d3a;
  --primary-dark: #234629;
  --primary-fg: #fbf8ee;
  --secondary: #e6efd8;
  --accent: #d4a13b;
  --earth: #8a6a3a;
  --radius: 12px;
  --shadow: 0 10px 30px -12px rgba(35, 70, 41, 0.25);
  --container: 1200px;
}

* { box-sizing: border-box; }
* { border-color: var(--border); }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.text-balance { text-wrap: balance; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 238, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary); color: var(--primary-fg);
  display: grid; place-items: center; transition: transform .2s;
}
.brand:hover .brand-icon { transform: scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: "Fraunces", serif; color: var(--primary); font-size: 1.15rem; }
.brand-text small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-fg); }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 0.85rem; font-size: 0.9rem; font-weight: 500;
  color: rgba(31, 42, 28, 0.8); border-radius: 8px; transition: all .15s;
}
.nav-links a:hover { color: var(--primary); background: var(--secondary); }
.nav-links a.active { color: var(--primary); background: var(--secondary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.2rem; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  border: 1px solid transparent; transition: all .15s;
  background: var(--primary); color: var(--primary-fg);
}
.btn:hover { background: var(--primary-dark); }
.btn-lg { padding: 0.85rem 1.6rem; font-size: 1rem; }
.btn-outline {
  background: transparent; color: var(--fg); border-color: var(--border);
}
.btn-outline:hover { background: var(--secondary); color: var(--primary); }
.btn-secondary { background: var(--bg); color: var(--primary); }
.btn-secondary:hover { background: #fff; }

.menu-toggle {
  display: inline-flex; width: 40px; height: 40px; border: 0; border-radius: 8px;
  background: transparent; align-items: center; justify-content: center;
}
.menu-toggle:hover { background: var(--secondary); }

.mobile-nav {
  display: none; flex-direction: column; padding: 0.75rem 0;
  border-top: 1px solid var(--border); background: var(--bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.85rem 1.25rem; border-radius: 8px; font-weight: 500; margin: 0 1rem;
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--secondary); color: var(--primary); }
.mobile-nav .btn { margin: 0.5rem 1rem 0.25rem; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}
.nav-cta { display: none; }

/* HERO */
.gradient-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #6b8a3a 100%);
  color: var(--primary-fg);
}
.page-hero { padding: 4rem 0; }
.page-hero .eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 0.75rem;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
.page-hero p { margin-top: 1rem; font-size: 1.1rem; color: rgba(251, 248, 238, 0.85); max-width: 48rem; }

@media (min-width: 768px) { .page-hero { padding: 6rem 0; } }

/* HOMEPAGE HERO */
.home-hero { padding: 4rem 0; }
.home-hero-grid { display: grid; gap: 3rem; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--secondary); color: var(--primary);
  padding: 0.4rem 0.85rem; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  white-space: nowrap;
}
.pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.home-hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700; line-height: 1.05;
}
.home-hero h1 .accent { color: var(--primary); }
.home-hero .lead { margin-top: 1.25rem; font-size: 1.1rem; color: var(--muted-fg); max-width: 32rem; }
.cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-image-wrap { position: relative; }
.hero-image-wrap::before {
  content: ""; position: absolute; inset: -1rem; border-radius: 24px;
  background: rgba(212, 161, 59, 0.3); filter: blur(40px); z-index: 0;
}
.hero-image-wrap img {
  position: relative; border-radius: 24px; box-shadow: var(--shadow);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}
.hero-floating-card {
  display: none; position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1rem; box-shadow: var(--shadow); max-width: 220px; z-index: 2;
}
.hero-floating-card .big { font-family: "Fraunces", serif; font-size: 1.6rem; font-weight: 700; color: var(--primary); }
.hero-floating-card .small { font-size: 0.75rem; color: var(--muted-fg); margin-top: 0.25rem; }
@media (min-width: 768px) { .hero-floating-card { display: block; } }
@media (min-width: 1024px) { .home-hero-grid { grid-template-columns: 1fr 1fr; } .home-hero { padding: 6rem 0; } }

/* STATS */
.stats { background: rgba(230, 239, 216, 0.4); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  padding: 3rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center;
}
.stats .num { font-family: "Fraunces", serif; font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; color: var(--primary); }
.stats .lab { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* SECTIONS */
section.section { padding: 5rem 0; }
.section-head { max-width: 38rem; }
.section-head .eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent);
}
.section-head h2 { margin-top: 0.5rem; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
.section-head p { margin-top: 0.75rem; color: var(--muted-fg); }

.grid-3 { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; transition: box-shadow .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.icon-chip {
  display: inline-flex; width: 40px; height: 40px; border-radius: 10px;
  background: var(--secondary); color: var(--primary);
  align-items: center; justify-content: center; margin-bottom: 0.75rem;
}
.card h3 { font-size: 1.2rem; font-weight: 600; }
.card .desc { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted-fg); }
.tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  background: rgba(212, 161, 59, 0.2); color: var(--earth);
}

/* TESTIMONIALS */
.testimonials { background: var(--primary); color: var(--primary-fg); }
.quote-card {
  background: rgba(251, 248, 238, 0.05); border: 1px solid rgba(251, 248, 238, 0.15);
  border-radius: 18px; padding: 1.5rem; backdrop-filter: blur(4px);
}
.quote-card svg { color: var(--accent); }
.quote-card blockquote { margin: 0.75rem 0 0; color: rgba(251, 248, 238, 0.9); }
.quote-card figcaption {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(251, 248, 238, 0.15);
}
.quote-card figcaption strong { display: block; }
.quote-card figcaption .role { font-size: 0.875rem; color: rgba(251, 248, 238, 0.7); }
.testimonials .section-head h2 { color: var(--primary-fg); }

/* CTA BLOCK */
.cta-block {
  background: var(--secondary); border-radius: 24px;
  padding: 2.5rem 1.5rem; text-align: center;
}
.cta-block h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); color: var(--primary); }
.cta-block p { margin: 0.75rem auto 0; max-width: 36rem; color: var(--muted-fg); }
.cta-block .cta-row { justify-content: center; }
@media (min-width: 768px) { .cta-block { padding: 3.5rem; } }

.cta-dark {
  background: var(--primary); color: var(--primary-fg); border-radius: 24px;
  padding: 2.5rem 1.5rem; text-align: center; margin-top: 4rem;
}
.cta-dark h2 { font-size: clamp(1.4rem, 3.5vw, 1.875rem); }
.cta-dark p { margin: 0.75rem auto 0; max-width: 36rem; color: rgba(251, 248, 238, 0.8); }

/* ABOUT — values + leaders */
.values-grid { display: grid; gap: 1.5rem; padding: 5rem 0; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 1.75rem;
}
.value .icon-chip { background: var(--primary); color: var(--primary-fg); }
.value h2 { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; }
.value p { margin-top: 0.5rem; color: var(--muted-fg); }

.story { background: rgba(230, 239, 216, 0.4); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.story img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.story .body { color: var(--muted-fg); }
.story .body p + p { margin-top: 1rem; }

.leaders { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 600px) { .leaders { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .leaders { grid-template-columns: repeat(3, 1fr); } }
.leader { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem; text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto;
  display: grid; place-items: center;
  font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 700; color: var(--primary-fg);
  background: linear-gradient(135deg, var(--primary), #7d9844);
}
.leader h3 { margin-top: 1rem; font-size: 1.1rem; font-weight: 600; }
.leader .role { font-size: 0.875rem; color: var(--muted-fg); }

/* NEWS */
.posts-grid { display: grid; gap: 2rem; }
@media (min-width: 700px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
.post .meta { display: flex; align-items: center; gap: 0.75rem; font-size: 11px; }
.post .meta .tag { background: var(--secondary); color: var(--primary); }
.post .meta .date { color: var(--muted-fg); display: inline-flex; align-items: center; gap: 0.25rem; }
.post h2 { margin-top: 0.75rem; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; line-height: 1.3; transition: color .15s; }
.post:hover h2 { color: var(--primary); }
.post .excerpt { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted-fg); flex: 1; }
.post .read-more { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.post .card-body { display: flex; flex-direction: column; }

/* EVENTS */
.event {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 768px) { .event { flex-direction: row; padding: 1.75rem; } }
.event .date-block {
  flex-shrink: 0; border-radius: 14px; padding: 1rem; text-align: center;
  background: var(--primary); color: var(--primary-fg);
}
.event.past .date-block { background: #ecebe1; color: var(--muted-fg); }
@media (min-width: 768px) { .event .date-block { width: 160px; } }
.event .date-block .d { margin-top: 0.5rem; font-weight: 600; font-size: 0.875rem; }
.event h3 { font-size: 1.2rem; font-weight: 600; }
.event .loc { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); }
.event .desc { margin-top: 0.75rem; color: var(--muted-fg); }
.events-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }

/* CONTACT */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-list { margin-top: 2rem; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list .icon-chip { margin: 0; flex-shrink: 0; }
.contact-list .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-fg); }
.contact-list .value-text { font-weight: 500; }
.map { margin-top: 2rem; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; }

.form { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.75rem; }
@media (min-width: 768px) { .form { padding: 2rem; } }
.form h2 { font-size: 1.5rem; font-weight: 700; }
.form .lead { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted-fg); }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.25rem; }
.field label { font-size: 0.875rem; font-weight: 500; }
.field input, .field textarea {
  font: inherit; padding: 0.6rem 0.85rem; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--fg);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 93, 58, 0.15);
}
.field-row { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-msg { margin-top: 1rem; font-size: 0.875rem; color: var(--primary); display: none; }
.form-msg.show { display: block; }

/* FOOTER */
footer.site-footer { margin-top: 6rem; background: var(--primary); color: var(--primary-fg); }
.footer-grid { padding: 3.5rem 0; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h3 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-grid p, .footer-grid li { color: rgba(251, 248, 238, 0.8); font-size: 0.9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand .brand-icon { background: rgba(251, 248, 238, 0.15); }
.footer-brand strong { font-family: "Fraunces", serif; font-size: 1.3rem; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(251, 248, 238, 0.1); display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.socials a:hover { background: var(--accent); color: #2a2010; }
.contact-line { display: flex; gap: 0.5rem; align-items: flex-start; }
.contact-line svg { margin-top: 2px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(251, 248, 238, 0.15); }
.footer-bottom .container {
  padding-top: 1.25rem; padding-bottom: 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.75rem; color: rgba(251, 248, 238, 0.7);
}
@media (min-width: 600px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; } }

/* ICON SIZES */
.i-sm { width: 14px; height: 14px; }
.i { width: 16px; height: 16px; }
.i-md { width: 20px; height: 20px; }
.i-lg { width: 24px; height: 24px; }
