/* ===================================================================
   Agri Network Consultancy (ANC) — Site Stylesheet
   Palette derived from official logo: olive green / teal / brown
=================================================================== */

:root {
  --anc-green: #4f6b40;
  --anc-green-dark: #35492a;
  --anc-green-light: #7a9a68;
  --anc-teal: #128f8b;
  --anc-teal-dark: #0c6663;
  --anc-brown: #4a3524;
  --anc-brown-light: #6b4d36;
  --anc-cream: #f7f5ee;
  --anc-cream-dark: #efe9d8;
  --anc-ink: #23301b;
  --anc-text: #33392e;
  --anc-muted: #6b7263;
  --anc-white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(35, 48, 27, 0.08);
  --shadow-lg: 0 12px 32px rgba(35, 48, 27, 0.14);
  --max-width: 1180px;
  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--anc-text);
  background: var(--anc-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--anc-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--anc-text); }
a { color: var(--anc-teal-dark); text-decoration: none; }
a:hover { color: var(--anc-green); }

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

.section { padding: 72px 0; }
.section-alt { background: var(--anc-cream); }
.section-dark { background: var(--anc-ink); color: var(--anc-cream); }
.section-dark h2, .section-dark h3 { color: var(--anc-white); }
.section-dark p { color: #d6dccb; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--anc-teal-dark);
  background: rgba(18, 143, 139, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head.left { margin: 0 0 44px; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--anc-green); color: var(--anc-white); }
.btn-primary:hover { background: var(--anc-green-dark); color: var(--anc-white); }
.btn-teal { background: var(--anc-teal); color: var(--anc-white); }
.btn-teal:hover { background: var(--anc-teal-dark); color: var(--anc-white); }
.btn-outline { background: transparent; border-color: var(--anc-white); color: var(--anc-white); }
.btn-outline:hover { background: var(--anc-white); color: var(--anc-ink); }
.btn-outline-dark { background: transparent; border-color: var(--anc-green); color: var(--anc-green); }
.btn-outline-dark:hover { background: var(--anc-green); color: var(--anc-white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.topbar {
  background: var(--anc-ink);
  color: #cfd6c2;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #cfd6c2; }
.topbar .topbar-links { display: flex; gap: 18px; }

/* ---------- Tickers (live events / recruitment) ---------- */
.ticker { font-size: 0.84rem; overflow: hidden; }
.ticker-events { background: var(--anc-green-dark); color: #e6ecdc; }
.ticker-recruit { background: var(--anc-teal-dark); color: #e2f4f3; }
.ticker-inner { display: flex; align-items: center; gap: 14px; padding-top: 7px; padding-bottom: 7px; }
.ticker-label {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.ticker-events .ticker-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #ff5a4f;
  vertical-align: 1px;
  animation: ticker-pulse 1.4s ease-in-out infinite;
}
.ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll var(--ticker-duration, 40s) linear infinite; }
/* Pause: mouse hover (only where hover is real — on phones a tap "sticks" as
   hover), keyboard focus, or the tap toggle (.is-paused). */
@media (hover: hover) { .ticker:hover .ticker-track { animation-play-state: paused; } }
.ticker:focus-within .ticker-track,
.ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex-shrink: 0; }
.ticker-item {
  white-space: nowrap;
  padding: 0 22px;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  position: relative;
}
.ticker-item::after { content: "•"; position: absolute; right: -3px; opacity: 0.5; }
.ticker-item:hover, .ticker-item:focus-visible { color: #fff; text-decoration: underline; }
.ticker-recruit .ticker-item { font-weight: 600; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-pulse { 50% { opacity: 0.3; } }
/* "Reduce Motion" on (common on iPhones): keep scrolling, at a gentler pace.
   Hover/tap pauses it either way. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: calc(var(--ticker-duration, 40s) * 1.6); }
}

/* Recruitment poster pop-up */
body.poster-open { overflow: hidden; }
.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 28, 15, 0.78);
}
.poster-dialog {
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--anc-white);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.poster-dialog h3 { margin: 0 32px 14px; }
.poster-dialog img { display: block; max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; margin: 0 auto 16px; border-radius: 6px; }
.poster-dialog .poster-pdf { display: block; width: 100%; height: calc(100vh - 210px); border: 0; border-radius: 6px; margin-bottom: 10px; background: var(--anc-cream); }
.poster-modal:has(.poster-pdf) .poster-dialog { max-width: 900px; }
.card .card-poster-btn { margin-top: 12px; padding: 8px 18px; font-size: 0.85rem; }
.poster-missing { color: var(--anc-muted); padding: 30px 0; }
.poster-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--anc-cream-dark);
  color: var(--anc-ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--anc-white);
  box-shadow: var(--shadow);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 48px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--anc-ink); }
.brand-text span { font-size: 0.7rem; letter-spacing: 0.08em; color: var(--anc-teal-dark); text-transform: uppercase; }

.main-nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.main-nav a {
  color: var(--anc-text);
  font-weight: 500;
  font-size: 0.86rem;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.nav-wrap { flex-wrap: nowrap; gap: 12px; }
.brand { flex-shrink: 0; }
.brand-text strong, .brand-text span { white-space: nowrap; }
.nav-actions { flex-shrink: 0; }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--anc-teal);
  transition: width 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--anc-teal-dark); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--anc-ink);
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(53,73,42,0.92), rgba(12,102,99,0.85)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><circle cx="100" cy="100" r="1" fill="none"/></svg>');
  background-size: cover;
  color: var(--anc-white);
  padding: 100px 0 90px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--anc-white); }
.hero p.lead { font-size: 1.15rem; color: #e3e8d8; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 1.8rem; font-family: var(--font-heading); color: var(--anc-white); }
.hero-stats span { font-size: 0.78rem; color: #cfe0c4; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-art {
  background: var(--anc-white);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-art img { border-radius: 8px; }

/* About: story column — logo on top, video under it */
.story-grid { align-items: start; }
.story-media { display: flex; flex-direction: column; gap: 20px; }
.story-media .hero-art { padding: 20px; }
.story-video { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 9; }
.story-video video, .story-video iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }

.page-hero {
  background: linear-gradient(120deg, var(--anc-green-dark), var(--anc-teal-dark));
  color: var(--anc-white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: var(--anc-white); margin-bottom: 8px; }
.page-hero p { color: #e3e8d8; max-width: 620px; margin: 0 auto; }
.breadcrumb a { color: #cfe0c4; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--anc-white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid #ece7d8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(79,107,64,0.1);
  color: var(--anc-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card.teal .icon { background: rgba(18,143,139,0.12); color: var(--anc-teal-dark); }
.card.brown .icon { background: rgba(74,53,36,0.1); color: var(--anc-brown); }

.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--anc-teal);
  color: var(--anc-white);
}
.pill.green { background: var(--anc-green); }
.pill.brown { background: var(--anc-brown); }
.pill.outline { background: transparent; color: var(--anc-teal-dark); border: 1px solid var(--anc-teal); }

.media-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--anc-white); border: 1px solid #ece7d8; }
.media-card img, .media-card .thumb { height: 190px; width: 100%; object-fit: cover; }
.media-card .thumb {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--anc-green), var(--anc-teal));
  color: rgba(255,255,255,0.85);
  font-size: 2.4rem;
}
.media-card .body { padding: 20px 22px 24px; }
.media-card .meta { font-size: 0.78rem; color: var(--anc-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Membership Pricing ---------- */
.price-card {
  background: var(--anc-white);
  border-radius: var(--radius);
  border: 1px solid #ece7d8;
  padding: 34px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card.featured {
  border: 2px solid var(--anc-teal);
  position: relative;
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--anc-teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  text-transform: uppercase;
}
.price-card .amount { font-family: var(--font-heading); font-size: 2.1rem; color: var(--anc-ink); }
.price-card .amount small { font-size: 0.9rem; color: var(--anc-muted); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li { padding-left: 26px; position: relative; font-size: 0.92rem; }
.price-card ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--anc-teal-dark);
  font-weight: 700;
}

/* ---------- Timeline / Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step .step-form-btn { margin-top: 6px; padding: 10px 20px; font-size: 0.88rem; }
.step .num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--anc-green);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
  margin: 0 auto 14px;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--anc-ink); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d9d3c1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--anc-white);
  color: var(--anc-text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--anc-teal);
  box-shadow: 0 0 0 3px rgba(18,143,139,0.15);
}
textarea { resize: vertical; min-height: 120px; }
.form-card {
  background: var(--anc-white);
  border: 1px solid #ece7d8;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #ece7d8; font-size: 0.92rem; }
th { background: var(--anc-cream); color: var(--anc-ink); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.04em; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--anc-green-light), var(--anc-teal));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 1.8rem;
}

/* ---------- Partner logos ---------- */
.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 40px;
}
.logo-strip .logo-chip {
  padding: 14px 26px;
  border: 1px solid #ece7d8;
  border-radius: 8px;
  color: var(--anc-muted);
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--anc-cream);
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--anc-green), var(--anc-teal-dark));
  color: var(--anc-white);
  border-radius: var(--radius);
  padding: 52px;
  text-align: center;
}
.cta h2 { color: var(--anc-white); }
.cta p { color: #e3e8d8; }

/* ---------- Services grid (image cards) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--anc-white); border: 1px solid #ece7d8; border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Poster frame: always 4:5 (1080 x 1350) so cards line up. The poster is
   shown whole (never cropped); other shapes get a soft border around them. */
.service-media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  padding: 0; border: 0; border-bottom: 1px solid #ece7d8; background: #f1ede2; font: inherit;
}
button.service-media { cursor: zoom-in; }
.service-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* No poster yet: light panel, faded logo, "Poster coming soon" */
.service-media-empty { background: linear-gradient(160deg, #f6f3ea, #ebe5d3); }
.service-media-empty::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: url("../img/logo-iana-icon.png") center / contain no-repeat; opacity: 0.28; filter: grayscale(0.3);
}
.service-media-empty::after {
  content: "Poster coming soon"; position: absolute; left: 0; right: 0; top: 64%; text-align: center;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #9a9483;
}
.service-pdf::after { content: none; }
.service-pdf span { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); z-index: 1; white-space: nowrap;
  background: #fff; color: var(--anc-green-dark); font-weight: 600; font-size: 0.9rem; padding: 8px 16px; border-radius: 999px; }
.service-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.15rem; margin: 0 0 8px; }
.service-body p { margin: 0; color: var(--anc-muted); font-size: 0.94rem; line-height: 1.6; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* Event cards with posters: let cards keep their own height */
.poster-grid { align-items: start; }
.media-card > .service-media { border-radius: 0; }

/* Training program cards (reuse the services card + poster frame) */
.training-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mode-pill { background: var(--anc-green); }
.training-dates { margin: 0 0 8px !important; color: var(--anc-text) !important; font-size: 0.9rem !important; }
.training-card .service-body p + p { margin-top: 0; }
.training-video-btn { margin-top: 16px; align-self: flex-start; padding: 9px 18px; font-size: 0.86rem; }
.video-dialog { max-width: 880px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* News item links */
.news-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.news-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--anc-green); color: var(--anc-green); font-size: 0.85rem; font-weight: 600;
}
.news-link:hover { background: var(--anc-green); color: #fff; }

/* News category filter */
.news-filter { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.news-filter .pill { cursor: pointer; font: inherit; font-size: 0.8rem; font-weight: 600; }
.news-filter .pill:not(.outline) { border: 1px solid transparent; }

/* ---------- People: founder + Governing Council (about) ---------- */
/* Person photo frame: 4:5 (800 x 1000). Photos fill it, kept to the top so
   faces stay in view; no photo yet -> light panel with the initials. */
.person-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow);
  background: linear-gradient(160deg, #f6f3ea, #ebe5d3);
  display: flex; align-items: center; justify-content: center;
}
.person-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-initials {
  width: 42%; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--anc-green), var(--anc-teal)); color: #fff;
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: 0.04em;
}
.founder-grid { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 40px; max-width: 900px; margin: 0 auto; align-items: center; }
.council-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.council-card { background: var(--anc-white); border: 1px solid #ece7d8; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.council-card .person-photo { border-radius: 0; box-shadow: none; }
.council-info { padding: 18px 20px 22px; }
.council-card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.council-card p { margin: 0; font-size: 0.9rem; color: var(--anc-muted); line-height: 1.5; }
@media (max-width: 960px) { .council-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .founder-grid { grid-template-columns: 1fr; gap: 24px; }
  .founder-grid .person-photo { max-width: 320px; width: 100%; margin: 0 auto; }
}

/* Membership: Why Join poster */
.why-join-image { margin: 0 auto; max-width: 760px; }
.why-join-image img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--anc-ink);
  color: #c7cebb;
  padding: 60px 0 24px;
}
.site-footer p { color: #c7cebb; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid > div { min-width: 0; overflow-wrap: anywhere; }
.footer-grid h4 { color: var(--anc-white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: #c7cebb; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--anc-white); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand strong { color: var(--anc-white); font-family: var(--font-heading); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #c7cebb; font-size: 0.85rem;
}
.social-links a:hover { background: var(--anc-teal); border-color: var(--anc-teal); color: white; }

/* ---------- Admin portal preview ---------- */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 70vh; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #ece7d8; }
.admin-sidebar { background: var(--anc-ink); color: #c7cebb; padding: 26px 20px; }
.admin-sidebar .brand-text strong, .admin-sidebar .brand-text span { color: var(--anc-white); }
.admin-sidebar nav ul { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar nav a { display: block; padding: 10px 14px; border-radius: 8px; color: #c7cebb; font-size: 0.9rem; }
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: rgba(255,255,255,0.08); color: white; }
.admin-main { background: var(--anc-cream); padding: 30px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.stat-tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 26px; }
.stat-tile { background: white; border-radius: 10px; padding: 20px; border: 1px solid #ece7d8; }
.stat-tile strong { display:block; font-size: 1.6rem; font-family: var(--font-heading); color: var(--anc-ink); }
.stat-tile span { font-size: 0.78rem; color: var(--anc-muted); text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}
@media (max-width: 1100px) {
  .main-nav, .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .main-nav {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--anc-white);
    box-shadow: var(--shadow);
    padding: 16px 24px;
  }
  .site-header.open .main-nav ul { flex-direction: column; gap: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .topbar .container { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-tiles { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
