*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --deep:      #141715;
    --navy:      #143d28;
    --royal:     #22a366;
    --mid-blue:  #1a7a4c;
    --gold:      #1a7a4c;
    --gold-lt:   #22a366;
    --gold-pale: #b8e6cc;
    --cream:     #141715;
    --white:     #FFFFFF;
    --muted:     rgba(20,23,21,0.78);
    --line:      rgba(26,122,76,0.22);
    --glass-bg:     rgba(255,255,255,0.4);
    --glass-border: rgba(255,255,255,0.75);
    --serif:     'Barlow Condensed', sans-serif;
    --sans:      'Barlow', sans-serif;
  }

  [data-theme="dark"] {
    --deep:      #eef5f0;
    --cream:     #eef5f0;
    --white:     #0d100e;
    --muted:     rgba(238,245,240,0.68);
    --line:      rgba(34,163,102,0.3);
    --glass-bg:     rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.12);
  }
  [data-theme="dark"] body { background: linear-gradient(180deg, #0d100e 0%, #10201a 55%, #0c1712 100%); }

  html { scroll-behavior: smooth; }

  body {
    background: linear-gradient(180deg, #ffffff 0%, #f5faf7 55%, #eaf5ef 100%);
    color: var(--cream);
    font-family: var(--sans);
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
  }

  /* ── CONTENT WRAPPER ── */
  .page-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 60px;
  }

  /* ── PAGE HEADING ── */
  .page-heading { margin-bottom: 8px; }
  .page-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
  }
  .page-tag::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--gold); }
  .page-title {
    font-family: var(--serif);
    font-size: clamp(30px, 6vw, 52px);
    font-weight: 900; line-height: 1.1;
    color: var(--deep); margin-bottom: 10px;
  }
  .page-title em { color: var(--gold); font-style: italic; }
  .page-sub {
    font-size: 15px; font-weight: 300; line-height: 1.7;
    color: var(--muted); margin-bottom: 36px;
  }

  /* ── PREAMBLE ── */
  .preamble {
    background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(26,122,76,0.1));
    border: 1px solid rgba(26,122,76,0.25);
    border-radius: 18px; padding: 24px;
    margin-bottom: 32px;
  }
  .preamble-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
  }
  .preamble-text {
    font-family: var(--serif); font-size: 15px; line-height: 1.75;
    color: var(--muted); font-style: italic;
  }
  .preamble-meta {
    font-size: 11px; color: rgba(20,23,21,0.55); margin-top: 12px;
  }

  /* ── MOTTO BADGE ── */
  .motto-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(26,122,76,0.08); border: 1px solid rgba(26,122,76,0.3);
    border-radius: 30px; padding: 6px 14px; margin-bottom: 20px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gold-lt);
  }
  .motto-badge::before { content: '❝'; font-size: 13px; }
  .motto-badge::after  { content: '❞'; font-size: 13px; }

  /* ── TOC ── */
  .toc-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
  }
  .toc-label {
    font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--cream);
  }
  .toc-badge {
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    padding: 3px 10px; border-radius: 20px;
    background: rgba(26,122,76,0.12); border: 1px solid var(--line); color: var(--gold);
  }
  .toc-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    margin-bottom: 32px;
  }
  .toc-item {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px; border-radius: 10px;
    background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.75);
    cursor: pointer; font-size: 11px; color: var(--muted); line-height: 1.35;
    transition: all 0.18s; text-align: left; font-family: var(--sans);
  }
  .toc-item:hover {
    background: rgba(26,122,76,0.08); border-color: var(--line); color: var(--cream);
  }
  .toc-num {
    font-family: var(--serif); font-weight: 700; font-size: 11px;
    color: var(--gold); min-width: 22px; flex-shrink: 0;
  }

  /* ── ACCORDION ── */
  .accordion-item {
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 14px; overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 8px;
  }
  .accordion-item.open {
    border-color: rgba(26,122,76,0.3);
    background: rgba(26,122,76,0.04);
  }
  .accordion-trigger {
    width: 100%; display: flex; align-items: center; gap: 14px;
    padding: 16px 18px; cursor: pointer; text-align: left;
    background: none; border: none; transition: background 0.18s;
  }
  .accordion-trigger:hover { background: rgba(255,255,255,0.6); }
  .acc-num {
    width: 34px; height: 34px; border-radius: 8px;
    background: rgba(26,122,76,0.1); border: 1px solid rgba(26,122,76,0.25);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 10px; font-weight: 700; color: var(--gold);
    flex-shrink: 0; transition: all 0.2s; line-height: 1.2; text-align: center;
  }
  .accordion-item.open .acc-num {
    background: rgba(26,122,76,0.2); border-color: rgba(26,122,76,0.5);
  }
  .acc-title {
    flex: 1; font-family: var(--serif); font-size: 14px;
    font-weight: 700; color: var(--muted); transition: color 0.2s; text-align: left;
    line-height: 1.3;
  }
  .accordion-item.open .acc-title { color: var(--cream); }
  .acc-chevron {
    width: 16px; height: 16px; opacity: 0.3; flex-shrink: 0;
    transition: transform 0.3s, opacity 0.2s;
  }
  .accordion-item.open .acc-chevron { transform: rotate(180deg); opacity: 0.8; }

  .accordion-body {
    max-height: 0; overflow: hidden; padding: 0 18px;
    transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
  }
  .accordion-item.open .accordion-body { max-height: 4000px; padding: 0 18px 22px; }

  /* Body content styles */
  .accordion-body .sec-label {
    font-size: 9px; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold); margin: 18px 0 8px;
    padding-bottom: 6px; border-bottom: 1px solid rgba(26,122,76,0.15);
  }
  .accordion-body p {
    font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 10px;
  }
  .accordion-body ol, .accordion-body ul {
    padding-left: 20px; margin-bottom: 10px;
  }
  .accordion-body li {
    font-size: 14px; color: var(--muted); line-height: 1.75;
    margin-bottom: 5px; list-style: disc;
  }
  .accordion-body ol li { list-style: decimal; }
  .accordion-body strong { color: var(--gold-lt); font-weight: 600; }
  .accordion-body .sub-heading {
    font-family: var(--serif); font-size: 13px; font-weight: 700;
    color: var(--cream); margin: 16px 0 8px;
  }
  .accordion-body .officer-card {
    background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.75);
    border-radius: 10px; padding: 14px 16px; margin-bottom: 10px;
  }
  .accordion-body .officer-card .officer-title {
    font-family: var(--serif); font-size: 13px; font-weight: 700;
    color: var(--gold-lt); margin-bottom: 8px;
  }
  .accordion-body .nb {
    background: rgba(26,122,76,0.06); border-left: 2px solid var(--gold);
    padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 12px 0;
    font-size: 13px; color: rgba(20,23,21,0.78); font-style: italic; line-height: 1.65;
  }
  .accordion-body table {
    width: 100%; border-collapse: collapse; margin: 12px 0;
    font-size: 13px;
  }
  .accordion-body th {
    text-align: left; padding: 8px 10px;
    background: rgba(26,122,76,0.1); color: var(--gold-lt);
    font-weight: 700; font-size: 11px; letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .accordion-body td {
    padding: 8px 10px; color: var(--muted);
    border-bottom: 1px solid rgba(26,122,76,0.15);
  }
  .accordion-body tr:last-child td { border-bottom: none; }

  /* ══════════════════════════════════════════
     TALSUUDUS MENU BAR
  ══════════════════════════════════════════ */
  .talsu-topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 150;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; height: 60px;
    background: rgba(255,255,255,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.75);
    box-shadow: 0 8px 32px rgba(10,40,25,0.18);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
  }
  .talsu-logo {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
  }
  .talsu-logo-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, #22a366, #1a7a4c);
    border: 1.5px solid rgba(255,255,255,0.75);
    box-shadow: 0 4px 10px rgba(90,60,200,0.3);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
  }
  .talsu-logo-text { color: #141715; font-weight: 700; font-size: 16px; letter-spacing: 0.3px; }
  .talsu-logo-text span { color: #1a7a4c; }
  .talsu-topbar-right { display: flex; align-items: center; gap: 8px; }
  .talsu-menu-btn {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.4);
    border: 1.5px solid rgba(255,255,255,0.75);
    cursor: pointer; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 5px; transition: background 0.2s; flex-shrink: 0;
  }
  .talsu-menu-btn:hover { background: rgba(26,122,76,0.14); }
  .talsu-menu-btn span { display: block; height: 2px; background: #141715; border-radius: 2px; }
  .talsu-menu-btn span:nth-child(1) { width: 18px; }
  .talsu-menu-btn span:nth-child(2) { width: 18px; }
  .talsu-menu-btn span:nth-child(3) { width: 12px; align-self: flex-end; }

  .talsu-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    display: flex; background: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.75);
    box-shadow: 0 -8px 32px rgba(10,40,25,0.18);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    padding: 10px 0 14px;
  }
  .talsu-nav-item {
    flex: 1; background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0;
  }
  .talsu-nav-icon {
    width: 26px; height: 26px; border-radius: 7px;
    background: rgba(26,122,76,0.08);
    border: 1.5px solid rgba(26,122,76,0.18);
    transition: all 0.2s; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .talsu-nav-label {
    font-size: 11px; font-weight: 500;
    color: rgba(20,23,21,0.68); letter-spacing: 0.2px; transition: color 0.2s;
  }
  .talsu-nav-item.active .talsu-nav-icon {
    background: rgba(26,122,76,0.22); border-color: rgba(26,122,76,0.5);
  }
  .talsu-nav-item.active .talsu-nav-label { color: #1a7a4c; font-weight: 700; }
  [data-theme="dark"] .talsu-nav-label { color: rgba(238,245,240,0.68); }
  [data-theme="dark"] .talsu-bottom-nav { background: rgba(13,16,14,0.7); border-top-color: rgba(255,255,255,0.12); }

  .talsu-overlay {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(20,23,21,0.72);
    opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
  }
  .talsu-overlay.show { opacity: 1; pointer-events: all; }

  .talsu-panel {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 78%; max-width: 320px;
    background: linear-gradient(180deg, #f7fbf9 0%, #eef7f1 100%); z-index: 400;
    display: flex; flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.32,0,0.15,1);
    box-shadow: -12px 0 40px rgba(10,40,25,0.3);
  }
  .talsu-panel.open { transform: translateX(0); }
  .talsu-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(26,122,76,0.22); flex-shrink: 0;
  }
  .talsu-panel-title { color: #1a7a4c; font-size: 22px; font-weight: 700; }
  .talsu-close-btn {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.4);
    border: 1.5px solid rgba(255,255,255,0.75);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #141715; font-size: 17px; transition: background 0.2s;
  }
  .talsu-close-btn:hover { background: rgba(26,122,76,0.14); }
  .talsu-menu-list {
    flex: 1; overflow-y: auto; padding: 12px 14px;
    display: flex; flex-direction: column; gap: 8px; scrollbar-width: none;
  }
  .talsu-menu-list::-webkit-scrollbar { display: none; }
  .talsu-menu-item {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 14px; border-radius: 14px;
    background: rgba(255,255,255,0.4);
    border: 1.5px solid rgba(255,255,255,0.75);
    cursor: pointer; width: 100%; text-align: left;
    transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
    text-decoration: none;
  }
  .talsu-menu-item:hover { background: rgba(255,255,255,0.65); }
  .talsu-menu-item.active {
    background: linear-gradient(135deg, #22a366 0%, #1a7a4c 100%);
    border-color: #1a7a4c;
    box-shadow: 0 4px 20px rgba(26,122,76,0.35);
  }
  .talsu-item-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(26,122,76,0.08);
    border: 1.5px solid rgba(26,122,76,0.18);
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .talsu-menu-item.active .talsu-item-icon {
    background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.6);
  }
  .talsu-item-label {
    flex: 1; color: #141715;
    font-weight: 500; font-size: 15px; letter-spacing: 0.2px;
  }
  .talsu-menu-item.active .talsu-item-label { color: #fff; font-weight: 700; }
  .talsu-chevron { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.35; }
  .talsu-menu-item.active .talsu-chevron { opacity: 1; }

  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: #ffffff; }
  ::-webkit-scrollbar-thumb { background: rgba(26,122,76,0.2); border-radius: 99px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(26,122,76,0.4); }

  /* ── PAGE ENTRY ANIMATIONS (same pattern as members.html) ── */
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  .page-heading {
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 0.65s 0.1s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  .motto-badge {
    opacity: 0; transform: translateY(16px);
    animation: fadeUp 0.6s 0.22s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  .preamble {
    opacity: 0; transform: translateY(16px);
    animation: fadeUp 0.6s 0.32s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  .toc-header, .toc-grid {
    opacity: 0; transform: translateY(14px);
    animation: fadeUp 0.6s 0.42s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  #accordionContainer {
    opacity: 0; transform: translateY(14px);
    animation: fadeUp 0.6s 0.52s cubic-bezier(0.16,1,0.3,1) forwards;
  }

/* ── Accessibility: visible keyboard focus ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid #1a7a4c;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Dark mode toggle button ── */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.4);
  border: 1.5px solid rgba(255,255,255,0.75);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s ease;
}
.theme-toggle:hover { background: rgba(26,122,76,0.14); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(34,163,102,0.2); }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ── WhatsApp floating button ── */
.whatsapp-fab {
  position: fixed; right: 18px; bottom: 96px; z-index: 140;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab svg { width: 26px; height: 26px; }

/* ── LEADERSHIP / EXEC CARDS ── */
.exec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 8px;
}
@media (max-width: 480px) { .exec-grid { grid-template-columns: 1fr; } }
.exec-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 20px 16px; text-align: center;
  box-shadow: 0 8px 24px rgba(10,40,25,0.1);
}
.exec-photo {
  width: 74px; height: 74px; border-radius: 50%;
  margin: 0 auto 14px; object-fit: cover;
  border: 2.5px solid var(--gold); box-shadow: 0 6px 16px rgba(26,122,76,0.25);
}
.exec-name { font-weight: 700; font-size: 15px; color: var(--deep); margin-bottom: 3px; }
.exec-role {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
  background: rgba(26,122,76,0.1); display: inline-block; padding: 3px 12px;
  border-radius: 30px; margin-bottom: 10px;
}
.exec-course { font-size: 12px; color: var(--muted); }
.exec-note {
  margin-top: 40px; padding: 18px 20px; border-radius: 16px;
  background: rgba(26,122,76,0.06); border: 1px dashed rgba(26,122,76,0.3);
  font-size: 12.5px; line-height: 1.6; color: var(--muted);
}

/* ── FAQ ACCORDION ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 16px; overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px; background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--sans); font-weight: 700; font-size: 14.5px;
  color: var(--deep);
}
.faq-q .faq-chevron { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.25s ease; stroke: var(--gold); }
.faq-item.open .faq-q .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 18px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 18px 18px; }
.faq-a p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ── PRIVACY / PROSE PAGE ── */
.prose h2 {
  font-family: var(--serif); font-size: 20px; font-weight: 800;
  color: var(--deep); margin: 30px 0 10px;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 10px; }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose strong { color: var(--deep); font-weight: 700; }
.prose .updated-tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--gold); background: rgba(26,122,76,0.1); padding: 4px 12px;
  border-radius: 30px; margin-bottom: 20px;
}
