/* =========================================================
   TPA Website — Global Stylesheet
   ========================================================= */

:root {
  --green:         #009A44;
  --green-dark:    #00702F;
  --green-deep:    #053D20;
  --green-deepest: #021A0C;
  --green-light:   #E6F5EC;

  --skyblue:       #38B6E0;
  --skyblue-dark:  #1B8CB5;
  --skyblue-light: #E6F6FC;

  --red:           #D32828;
  --red-light:     #FDECEC;

  --white:         #FFFFFF;
  --grey-bg:       #F5F7F9;
  --text:          #1F2933;
  --muted:         #6B7280;
  --border:        #E5E7EB;

  --radius-sm:     8px;
  --radius:        12px;
  --radius-lg:     18px;

  --shadow-sm:     0 2px 8px  rgba(5, 61, 32, 0.06);
  --shadow-md:     0 10px 30px rgba(5, 61, 32, 0.10);
  --shadow-lg:     0 20px 50px rgba(5, 61, 32, 0.18);

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:    0.25s var(--ease-out);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  animation: pageIn 0.35s var(--ease-out);
}
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
ul li { margin-bottom: 0.4em; }

/* ---------- Focus rings ---------- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-grey { background: var(--grey-bg); }
.section-navy { background: var(--green-deep); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; max-width: none; flex-wrap: wrap;
}
.section-head.split > div { max-width: 680px; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--green);
  margin: 0 0 14px;
}
.eyebrow.gold       { color: var(--skyblue); }
.eyebrow.on-navy    { color: var(--skyblue); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.section-navy .lead { color: rgba(255, 255, 255, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; text-decoration: none;
  line-height: 1;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    transform 0.15s var(--ease-spring),
    box-shadow 0.2s var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn:disabled:hover { transform: none; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn-outline-navy { background: transparent; color: var(--green-deep); border-color: var(--green-deep); }
.btn-outline-navy:hover { background: var(--green-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { background: var(--grey-bg); color: var(--text); }
.btn-danger { background: #fff; color: var(--red); border-color: var(--red-light); }
.btn-danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-small { padding: 7px 14px; font-size: 0.82rem; border-radius: 8px; font-weight: 600; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  transition:
    box-shadow 0.3s var(--ease-out),
    backdrop-filter 0.3s var(--ease-out),
    background 0.3s var(--ease-out);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(5, 61, 32, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.5px; color: var(--green-deep); line-height: 1.15;
}
.brand-sub {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 1.2px;
  color: var(--muted); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 600; font-size: 0.94rem; color: var(--text);
  position: relative; padding: 6px 0; transition: color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--green); text-decoration: none; }
.nav-links a.active { color: var(--green); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--green); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  border-radius: 8px; width: 42px; height: 42px; cursor: pointer;
  color: var(--green-deep); font-size: 1.15rem;
  align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 120px 0 100px; color: #fff;
  background-color: var(--green-deep);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 14px),
    linear-gradient(135deg, var(--green-deep) 0%, var(--green-deepest) 100%);
  overflow: hidden;
}
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4rem); max-width: 900px; margin-bottom: 20px; }
.hero-lead { font-size: 1.1rem; color: rgba(255, 255, 255, 0.82); max-width: 680px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Feature card ---------- */
.feature-section { padding: 0 0 64px; }
.feature-card {
  position: relative; z-index: 2; margin-top: -60px; color: #fff;
  padding: 44px 44px; border-radius: var(--radius-lg);
  border-left: 4px solid var(--skyblue); box-shadow: var(--shadow-lg);
  background-color: var(--green-dark);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 14px),
    linear-gradient(135deg, #064E27 0%, var(--green) 100%);
}
.feature-card h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 12px; }
.feature-card p { margin: 0; color: rgba(255, 255, 255, 0.9); max-width: 820px; }

/* ---------- Two-column ---------- */
.two-col { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.stat-box { background: var(--green-light); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.stat-number { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: var(--green-dark); line-height: 1; }
.stat-label { font-size: 0.82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Pillars ---------- */
.pillars { display: flex; flex-direction: column; gap: 18px; }
.pillar-card {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--skyblue);
  border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.pillar-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pillar-card .pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-light); color: var(--green-dark);
  font-size: 1.05rem; margin-bottom: 14px;
}
.pillar-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pillar-card p { color: var(--muted); margin: 0 0 12px; font-size: 0.95rem; }
.pillar-card .link-more { font-weight: 700; font-size: 0.9rem; color: var(--green); }

.pillar-block { display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.pillar-block:last-child { border-bottom: none; }
.pillar-block .pillar-icon-lg {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-light); color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.pillar-block h2 { font-size: 1.6rem; margin-bottom: 8px; }
.pillar-block p { color: var(--muted); margin: 0; max-width: 820px; }

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.news-card:hover { box-shadow: 0 20px 44px rgba(5, 61, 32, 0.14); transform: translateY(-5px); }
.news-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.news-date { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.news-category {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--green);
}
.news-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.news-card p { color: var(--muted); font-size: 0.94rem; flex-grow: 1; }
.news-card-link {
  display: inline-block; margin-top: 14px; font-weight: 700; font-size: 0.9rem;
  color: var(--green); background: transparent; border: none; padding: 0;
  cursor: pointer; align-self: flex-start; font-family: inherit;
  transition: transform 0.25s var(--ease-out);
}
.news-card-link:hover { text-decoration: underline; transform: translateX(4px); }
.link-more { transition: transform 0.25s var(--ease-out); display: inline-block; }
.link-more:hover { transform: translateX(4px); }

/* ---------- Membership form ---------- */
.membership-card {
  max-width: 720px; margin: 0 auto; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-sm);
}
.stack-form { display: flex; flex-direction: column; gap: 18px; }
.stack-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: 0.98rem;
  color: var(--text); background: #fff; transition: var(--transition);
}
.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 154, 68, 0.14);
}
.stack-form select:disabled { opacity: 0.55; cursor: not-allowed; }
.stack-form textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.form-success {
  background: var(--green-light); border-left: 3px solid var(--green);
  padding: 10px 14px; border-radius: 6px; color: var(--green-dark);
  font-size: 0.9rem; margin: 0;
}
.form-error {
  background: var(--red-light); border-left: 3px solid var(--red);
  padding: 10px 14px; border-radius: 6px; color: var(--red);
  font-size: 0.9rem; margin: 0;
}

/* ---------- Page hero ---------- */
.page-hero {
  padding: 80px 0 64px; color: #fff; background-color: var(--green-deep);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 14px),
    linear-gradient(135deg, var(--green-deep) 0%, var(--green-deepest) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 640px; margin: 0; }

/* ---------- Constitution grid ---------- */
.constitution-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.constitution-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.constitution-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--green-dark); }
.constitution-card ul { margin: 0; padding-left: 18px; font-size: 0.92rem; color: var(--muted); }
.constitution-card ul li { margin-bottom: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green-deep); color: #fff; padding: 72px 0; text-align: center;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 14px),
    linear-gradient(135deg, var(--green-deep) 0%, var(--green-deepest) 100%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 22px; }

/* ---------- Executives cards ---------- */
.exec-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 26px;
}
.exec-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.exec-card:hover { box-shadow: 0 20px 44px rgba(5, 61, 32, 0.14); transform: translateY(-5px); }
.exec-photo {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  max-width: 240px; margin: 0 auto 16px; border-radius: var(--radius);
  overflow: hidden; background: var(--grey-bg);
}
.exec-photo img { width: 100%; height: 100%; object-fit: cover; }
.exec-photo-initials {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-deepest) 100%);
  color: var(--skyblue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 2.6rem; letter-spacing: 2px;
}
.exec-card h3 {
  font-size: 1.08rem; margin-bottom: 6px;
  font-family: var(--font-body); font-weight: 700;
}
.exec-role {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.4px; color: var(--green); margin: 0;
}

/* ---------- Leadership ---------- */
.leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px; margin: 0 auto; }
.leadership-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 24px 30px; text-align: center; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.leadership-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(5, 61, 32, 0.14); }
.leadership-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--green) 0%, var(--skyblue) 100%);
}
.leadership-photo {
  position: relative; width: 180px; height: 180px; margin: 0 auto 22px;
  border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-deepest) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(5, 61, 32, 0.22);
}
.leadership-photo img { width: 100%; height: 100%; object-fit: cover; }
.leadership-photo-fallback {
  color: var(--skyblue); font-size: 3.5rem; font-family: var(--font-heading);
  font-weight: 700; letter-spacing: 2px;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.leadership-card h3 {
  font-family: var(--font-body); font-size: 1.15rem; font-weight: 700;
  margin-bottom: 6px; color: var(--green-deep); line-height: 1.35;
}
.leadership-role {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--green); margin: 0;
}
@media (max-width: 640px) {
  .leadership-grid { grid-template-columns: 1fr; gap: 20px; }
  .leadership-photo { width: 150px; height: 150px; }
  .leadership-card { padding: 30px 20px 24px; }
}

/* ---------- Blur-up image ---------- */
.img-blur {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.img-blur img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.img-blur img.loaded { opacity: 1; }

/* ---------- Search ---------- */
.search-wrap { position: relative; max-width: 420px; margin-bottom: 24px; }
.search-wrap i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 0.9rem;
}
.search-wrap input {
  width: 100%; padding: 12px 14px 12px 42px;
  border: 1px solid var(--border); border-radius: 999px;
  font-family: inherit; font-size: 0.95rem; background: #fff;
  transition: var(--transition);
}
.search-wrap input:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 154, 68, 0.14);
}

/* ---------- Coordinators table ---------- */
.coord-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
table.coord-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
table.coord-table th,
table.coord-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: top;
}
table.coord-table th {
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--grey-bg);
}
table.coord-table tbody tr:last-child td { border-bottom: none; }
table.coord-table tbody tr:hover td { background: #FAFBFC; }
table.coord-table tbody td:first-child { font-weight: 600; color: var(--green-deep); }
@media (max-width: 640px) {
  table.coord-table th,
  table.coord-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

/* ---------- Column widths: wide name, compact LGA ---------- */
table.coord-table th:nth-child(1),
table.coord-table td:nth-child(1) { width: 58%; }
table.coord-table th:nth-child(2),
table.coord-table td:nth-child(2) { width: 20%; }
table.coord-table th:nth-child(3),
table.coord-table td:nth-child(3) { width: 22%; }

/* On small screens, give name more breathing room and shrink LGA further */
@media (max-width: 640px) {
  table.coord-table th:nth-child(1),
  table.coord-table td:nth-child(1) { width: 55%; }
  table.coord-table th:nth-child(2),
  table.coord-table td:nth-child(2) { width: 20%; }
  table.coord-table th:nth-child(3),
  table.coord-table td:nth-child(3) { width: 25%; }
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center; padding: 40px 20px; color: var(--muted);
  font-size: 0.96rem; background: #fff; border: 1px dashed var(--border);
  border-radius: var(--radius); grid-column: 1 / -1; margin: 0;
}

/* ---------- Skeletons ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--grey-bg) 0%, #e8ecf0 40%, var(--grey-bg) 80%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.skeleton-photo { width: 100%; aspect-ratio: 1; margin-bottom: 16px; border-radius: var(--radius); }
.skeleton-line { height: 14px; margin-bottom: 10px; }
.skeleton-line.short { width: 60%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deepest); color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 24px; margin-top: 64px;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
  align-items: center; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 40px; height: 40px; object-fit: contain; }
.footer-title {
  font-family: var(--font-heading); font-weight: 700; color: #fff;
  font-size: 0.92rem; letter-spacing: 0.5px; line-height: 1.2; max-width: 220px;
}
.footer-address { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; justify-self: center; max-width: 320px; }
.footer-address i { color: var(--skyblue); }
.footer-social { display: flex; gap: 12px; justify-self: end; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08); color: #fff;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--green); color: #fff; text-decoration: none; transform: translateY(-2px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 20px; font-size: 0.82rem; flex-wrap: wrap;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.55); }
.admin-link { color: rgba(255, 255, 255, 0.4); font-size: 0.78rem; }
.admin-link:hover { color: rgba(255, 255, 255, 0.75); text-decoration: none; }

/* ---------- Admin ---------- */
.admin-shell { padding: 56px 0 80px; }
.admin-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap; padding-bottom: 24px;
  border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.admin-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 4px; }
.admin-signedin { color: var(--muted); margin: 0; font-size: 0.9rem; }
.admin-signedin strong { color: var(--text); }

.admin-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 32px; flex-wrap: wrap; }
.admin-tab {
  background: transparent; border: none; padding: 12px 20px;
  font-weight: 600; font-size: 0.94rem; color: var(--muted); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -1px; transition: var(--transition);
}
.admin-tab:hover { color: var(--green-deep); }
.admin-tab.active { color: var(--green); border-bottom-color: var(--green); }

.admin-tab-panel { animation: fadeIn 0.25s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.admin-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.admin-card h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-list-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  transition: var(--transition);
}
.admin-list-row:hover { background: #FAFBFC; }
.admin-list-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.admin-list-main strong { display: block; font-size: 0.95rem; color: var(--green-deep); word-break: break-word; }
.admin-list-sub { display: block; font-size: 0.8rem; color: var(--muted); }
.admin-list-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.admin-thumb { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--grey-bg); flex-shrink: 0; }
.admin-thumb-initials {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-deep), var(--green-deepest));
  color: var(--skyblue); font-weight: 700; font-size: 0.85rem;
}
.preview-wrap {
  display: flex; justify-content: center; padding: 16px;
  border: 1px dashed var(--border); border-radius: 10px; background: var(--grey-bg);
}
.preview-wrap img { max-width: 160px; max-height: 160px; border-radius: 10px; object-fit: cover; }

.admin-members-toolbar {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 16px;
}
.admin-members-toolbar .search-wrap { margin-bottom: 0; flex: 1 1 260px; max-width: 480px; }

/* ---------- Admin gate ---------- */
.admin-gate, .admin-denied {
  padding: 80px 0; min-height: 60vh; background: var(--grey-bg);
}
.gate-card {
  max-width: 460px; margin: 0 auto; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.gate-card h1 { font-size: 1.8rem; margin-bottom: 8px; }
.gate-card > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 24px; }
.gate-card .btn { margin-top: 8px; }

/* ---------- Fade-up + stagger ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- Article ---------- */
.article-full { max-width: 780px; margin: 0 auto; padding: 8px 0 24px; }
.article-back {
  display: inline-block; font-weight: 600; font-size: 0.92rem;
  color: var(--green); margin-bottom: 28px;
}
.article-back:hover { text-decoration: underline; }
.article-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--green-deep); margin: 6px 0 22px; line-height: 1.15; }
.article-body p { font-size: 1.05rem; line-height: 1.8; color: var(--text); margin-bottom: 1.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 20px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: var(--transition);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .admin-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-address, .footer-social { justify-self: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 88px 0 88px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .feature-card { padding: 30px 24px; }
  .membership-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .gate-card { padding: 28px 22px; }
  .admin-card { padding: 22px; }
  .admin-header { flex-direction: column; align-items: stretch; }
  .admin-header .btn { align-self: flex-start; }
  .admin-list-row { flex-direction: column; align-items: stretch; }
  .admin-list-actions { justify-content: flex-end; flex-wrap: wrap; }
  .pillar-block { flex-direction: column; gap: 16px; }
  .brand-title { font-size: 0.86rem; }
  .brand-sub { font-size: 0.6rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .skeleton { animation: none; background: var(--grey-bg); }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
