/* =====================================================================
   ISAD — Main Stylesheet
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400;1,600&family=JetBrains+Mono:wght@400&family=Source+Sans+3:wght@400;600&display=swap');

/* ── Custom Properties ─────────────────────────────────────────────── */
:root {
  --navy:          #1A2540;
  --navy-deep:     #0F1729;
  --navy-mid:      #142035;
  --navy-hero:     #1a2744;
  --navy-card:     #243058;
  --navy-event:    #0f1a2e;
  --navy-footer:   #0f1929;

  --gold:          #C9A84C;
  --gold-deep:     #A8873A;
  --gold-light:    #E5D08A;
  --steel:         #7899B8;

  --cream:         #F4EFE2;
  --cream-section: #F4EBD0;
  --cream-muted:   rgba(244, 239, 226, 0.70);
  --navy-muted:    rgba(26,  37,  64,  0.60);

  --font-h:    'Cormorant Garamond', serif;
  --font-b:    'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-w:      1200px;
  --pad-x:      8%;
  --pad-sec:    96px;

  --ease:       150ms ease-out;
  --ease-slow:  300ms ease-in-out;
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream-section);
  overflow-x: hidden;
}
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Utilities ─────────────────────────────────────────────────────── */
.italic-gold { font-style: italic; color: var(--gold); }

/* ─────────────────────────────────────────────────────────────────── */
/*  NAVBAR                                                             */
/* ─────────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  background: var(--navy);
  transition: box-shadow var(--ease);
}
#navbar::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--gold);
  opacity: 0.35;
}
#navbar.scrolled { box-shadow: 0 4px 6px rgba(0,0,0,0.35); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 32px;
}

/* brand */
.nav-brand  { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo   { width: 38px; height: 38px; object-fit: contain; }
.nav-title  {
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--cream);
}

/* links */
nav { margin: 0 auto; }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(244,239,226,.72);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--cream);
  border-bottom-color: var(--gold);
}

/* right cluster */
.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.btn-join {
  display: inline-block;
  padding: 7px 18px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn-join:hover { background: var(--gold); color: var(--navy); }

.nav-flag {
  height: 34px;
  width: auto;
  border-radius: 4px;
  border: 1px solid rgba(201,168,76,.32);
  flex-shrink: 0;
}

/* ── Language selector ───────────────────────────────────────────── */
.lang-select { position: relative; flex-shrink: 0; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 2px solid rgba(201,168,76,.45);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  background: transparent;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
  white-space: nowrap;
  height: 34px;
}
.lang-btn:hover       { border-color: var(--gold); background: rgba(201,168,76,.07); }
.lang-btn[aria-expanded="true"] { border-color: var(--gold); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: var(--navy-card);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.50);
  z-index: 300;
  padding: 4px 0;
  list-style: none;
}
.lang-dropdown.open { display: block; }

.lang-option {
  display: block;
  width: 100%;
  padding: 9px 16px;
  text-align: left;
  color: var(--cream-muted);
  font-family: var(--font-b);
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.lang-option:hover  { background: rgba(201,168,76,.10); color: var(--cream); }
.lang-option.active { color: var(--gold); }

/* RTL overrides for Farsi */
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
html[dir="rtl"] .lang-option   { text-align: right; }
html[dir="rtl"] .event-card {
  border-left: none;
  border-right: 4px solid var(--gold);
  padding: 24px 24px 24px 28px;
}
html[dir="rtl"] .event-card:hover {
  border-right-width: 6px;
  padding-right: 22px;
  padding-left: 28px;
}
html[dir="rtl"] .navy-card,
html[dir="rtl"] .principle-card {
  border-left: none;
  border-right: 3px solid rgba(201,168,76,.22);
}
html[dir="rtl"] .navy-card:hover,
html[dir="rtl"] .principle-card:hover {
  border-right-color: var(--gold);
}

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--cream);
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─────────────────────────────────────────────────────────────────── */
/*  HERO                                                               */
/* ─────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(180deg, #1a2744 0%, #1a2540 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--pad-x) 80px;
}
.hero-inner  { max-width: 900px; width: 100%; }

.hero-crest-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
.hero-crest { width: 130px; height: 130px; object-fit: contain; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-h);
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.10;
  color: var(--cream);
  margin-bottom: 28px;
}

.hero-lede {
  font-family: var(--font-h);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: rgba(244,239,226,.88);
  max-width: 680px;
  margin: 0 auto;
}


/* ─────────────────────────────────────────────────────────────────── */
/*  STATS BAR                                                          */
/* ─────────────────────────────────────────────────────────────────── */
.stats-bar {
  background: #0f1a2e;
  border-top:    1px solid rgba(201,168,76,.38);
  border-bottom: 1px solid rgba(201,168,76,.38);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: stretch;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 0;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.stat-div {
  width: 1px;
  background: rgba(201,168,76,.28);
  align-self: stretch;
  margin: 16px 0;
}


/* ─────────────────────────────────────────────────────────────────── */
/*  SECTION SCAFFOLDING                                                */
/* ─────────────────────────────────────────────────────────────────── */
.section-cream { background: var(--cream-section); }
.section-navy  { background: var(--navy-hero); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-sec) var(--pad-x);
  text-align: center;
}

/* eyebrow label + rule */
.sec-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.sec-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--navy);
}
.sec-num.gold { color: var(--gold); }

.rule {
  width: 40px;
  height: 2px;
  border-radius: 1px;
}
.rule-dark { background: rgba(26,37,64,.30); }
.rule-gold { background: rgba(201,168,76,.60); }

/* headings */
.sec-h {
  font-family: var(--font-h);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}
.sec-h.cream { color: var(--cream); }

.sec-body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  max-width: 680px;
  margin: 0 auto 16px;
}

.sec-sub {
  font-family: var(--font-b);
  font-size: 15px;
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.sec-sub.cream-muted { color: var(--cream-muted); }
.sec-sub.navy-muted  { color: var(--navy-muted); }


/* ─────────────────────────────────────────────────────────────────── */
/*  ABOUT — two cards                                                  */
/* ─────────────────────────────────────────────────────────────────── */
.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}
.navy-card {
  background: var(--navy-card);
  border-radius: 4px;
  border-left: 3px solid rgba(201,168,76,.22);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(26,37,64,.08);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.navy-card:hover {
  border-left-color: var(--gold);
  box-shadow: 0 4px 12px rgba(201,168,76,.20);
}
.navy-card-h {
  font-family: var(--font-h);
  font-size: 22px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 10px;
}
.navy-card-p {
  font-family: var(--font-b);
  font-size: 14px;
  line-height: 1.65;
  color: var(--cream-muted);
}

/* Leadership quote */
.leadership-quote {
  max-width: 680px;
  margin: 52px auto;
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(26,37,64,.12);
  border-bottom: 1px solid rgba(26,37,64,.12);
}
.leadership-quote-text {
  font-family: var(--font-h);
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 20px;
}
.leadership-quote-attr {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Three-phase strategy */
.three-phase { margin-top: 16px; }
.phase-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-muted);
  text-align: center;
  margin-bottom: 36px;
}
.phase-grid { display: flex; flex-direction: column; }
.phase-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(26,37,64,.10);
  text-align: left;
}
.phase-item:last-child { border-bottom: none; }
.phase-num {
  font-family: var(--font-h);
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  background: rgba(201,168,76,.10);
  border: 1px solid rgba(201,168,76,.32);
  border-radius: 3px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phase-content { flex: 1; }
.phase-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.phase-p {
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
}


/* ─────────────────────────────────────────────────────────────────── */
/*  EVENTS                                                             */
/* ─────────────────────────────────────────────────────────────────── */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.event-card {
  background: var(--navy-event);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  padding: 24px 28px 24px 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,.30);
  transition:
    border-left-width var(--ease),
    padding-left       var(--ease),
    background         var(--ease),
    box-shadow         var(--ease);
}
.event-card:hover {
  border-left-width: 6px;
  padding-left: 22px;          /* keep total left space = 28px */
  background: var(--navy);
  box-shadow: 0 4px 12px rgba(201,168,76,.20);
}
.event-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.event-title {
  font-family: var(--font-h);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.20;
  margin-bottom: 10px;
}
.event-desc {
  font-family: var(--font-b);
  font-size: 14px;
  line-height: 1.65;
  color: var(--cream-muted);
}


/* ─────────────────────────────────────────────────────────────────── */
/*  CORE PRINCIPLES                                                    */
/* ─────────────────────────────────────────────────────────────────── */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}
.principle-card {
  background: var(--navy-card);
  border-radius: 4px;
  border-left: 3px solid rgba(201,168,76,.22);
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,.22);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.principle-card:hover {
  border-left-color: var(--gold);
  box-shadow: 0 4px 12px rgba(201,168,76,.20);
}
.principle-h {
  font-family: var(--font-h);
  font-size: 22px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 10px;
}
.principle-p {
  font-family: var(--font-b);
  font-size: 14px;
  line-height: 1.65;
  color: var(--cream-muted);
}


/* ─────────────────────────────────────────────────────────────────── */
/*  MEMBERS                                                            */
/* ─────────────────────────────────────────────────────────────────── */
.country-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab {
  padding: 12px 28px;
  background: var(--navy-card);
  border: 1px solid transparent;
  border-left: 3px solid rgba(201,168,76,.28);
  border-radius: 4px;
  color: var(--gold);
  font-family: var(--font-h);
  font-size: 16px;
  transition: border-color var(--ease), background var(--ease);
}
.tab:hover { border-color: rgba(201,168,76,.60); }
.tab.active {
  border-color: var(--gold);
  border-left-color: var(--gold);
}

.featured-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* avatar circle */
.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-card);
  transition: border-color var(--ease-slow), border-width var(--ease-slow);
  flex-shrink: 0;
}
.member-card:hover .avatar {
  border-color: var(--gold);
  border-width: 3px;
}

/* avatar photo (when a real image is used) */
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter var(--ease-slow);
}
.member-card:hover .avatar img { filter: grayscale(0); }

/* initial letter */
.avatar-init {
  font-family: var(--font-h);
  font-size: 52px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  user-select: none;
}

.member-name {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  margin-top: 4px;
}
.member-role { font-family: var(--font-b); font-size: 14px; color: var(--gold); }
.member-loc  { font-family: var(--font-b); font-size: 14px; color: var(--cream-muted); }


/* ─────────────────────────────────────────────────────────────────── */
/*  CONTACT FORM                                                       */
/* ─────────────────────────────────────────────────────────────────── */
.contact-intro { text-align: center; margin-bottom: 48px; }

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.form-field { margin-bottom: 32px; }

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26,37,64,.20);
  padding: 8px 0;
  font-family: var(--font-b);
  font-size: 16px;
  color: var(--navy);
  outline: none;
  transition: border-color var(--ease);
}
.form-input::placeholder { color: rgba(26,37,64,.38); }
.form-input:focus { border-bottom-color: var(--gold); }

.form-textarea { resize: vertical; min-height: 120px; }

/* phone row */
.phone-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.phone-code {
  width: 130px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231A2540' opacity='.45'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
  cursor: pointer;
}
.phone-code option { background: #fff; color: var(--navy); }
.phone-number { flex: 1; }

.form-hint {
  display: block;
  font-family: var(--font-b);
  font-size: 12px;
  color: var(--navy-muted);
  margin-top: 6px;
}

.form-rule {
  width: 100%;
  height: 1px;
  background: rgba(26,37,64,.18);
  margin: 16px 0 32px;
}

.form-actions { display: flex; justify-content: center; }

.btn-send {
  display: inline-block;
  padding: 14px 48px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background var(--ease);
}
.btn-send:hover { background: var(--gold-deep); }

.form-success {
  text-align: center;
  margin-top: 24px;
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--gold-deep);
}
.form-error {
  text-align: center;
  margin-top: 24px;
  font-family: var(--font-b);
  font-size: 15px;
  color: #b44;
}


/* ─────────────────────────────────────────────────────────────────── */
/*  FOOTER                                                             */
/* ─────────────────────────────────────────────────────────────────── */
footer {
  background: var(--navy-footer);
  border-top: 1px solid rgba(201,168,76,.38);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--pad-x);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
}

/* col 1 — brand */
.footer-wordmark {
  display: block;
  font-family: var(--font-b);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin-bottom: 10px;
}
.footer-tagline {
  font-family: var(--font-b);
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream-muted);
  margin-bottom: 16px;
}
.footer-meta {
  font-family: var(--font-b);
  font-size: 13px;
  color: var(--cream-muted);
  margin-top: 3px;
}

/* col headings */
.footer-col-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* quick links */
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--cream-muted);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--gold); }

/* social buttons */
.social-btns { display: flex; flex-direction: column; gap: 10px; }
.social-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: var(--navy);
  border: 2px solid var(--steel);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--font-b);
  font-size: 14px;
  transition: border-color var(--ease), color var(--ease);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* newsletter */
.footer-newsletter-blurb {
  font-family: var(--font-b);
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream-muted);
  margin-bottom: 14px;
}
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-input {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: 4px;
  padding: 10px 14px;
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--cream);
  outline: none;
  transition: border-color var(--ease);
}
.newsletter-input::placeholder { color: rgba(244,239,226,.32); }
.newsletter-input:focus { border-color: var(--gold); }

.btn-subscribe {
  padding: 10px 20px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background var(--ease);
}
.btn-subscribe:hover { background: var(--gold-deep); }

/* bottom bar */
.footer-rule {
  height: 1px;
  background: rgba(201,168,76,.18);
  margin: 0 var(--pad-x);
}
.footer-bottom {
  padding: 20px var(--pad-x);
  text-align: center;
}
.scroll-order {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(244,239,226,.38);
}


/* ─────────────────────────────────────────────────────────────────── */
/*  SCROLL FADE ANIMATIONS                                             */
/* ─────────────────────────────────────────────────────────────────── */
.anim {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity   0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim.anim-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .anim { transition: opacity 0.3s ease; transform: none; }
}


/* ─────────────────────────────────────────────────────────────────── */
/*  ARTICLE PAGES                                                       */
/* ─────────────────────────────────────────────────────────────────── */

a.event-card { display: block; }

.event-card-arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(201,168,76,.50);
  margin-top: 16px;
  display: block;
  transition: color var(--ease), letter-spacing var(--ease);
}
.event-card:hover .event-card-arrow { color: var(--gold); letter-spacing: 0.22em; }

/* Article hero */
.article-hero {
  background: linear-gradient(175deg, #1a2744 0%, #1A2540 100%);
  padding-top: 86px;
  border-bottom: 1px solid rgba(201,168,76,.28);
}
.article-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--pad-x) 0;
}
.article-top-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 30px;
}
.article-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.article-title {
  font-family: var(--font-h);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.10;
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 840px;
}
.article-lede {
  font-family: var(--font-h);
  font-style: italic;
  font-size: 19px;
  line-height: 1.62;
  color: rgba(244,239,226,.80);
  max-width: 680px;
  margin-bottom: 48px;
}
.article-hero-sep { height: 1px; background: rgba(201,168,76,.20); }

/* Meta bar */
.article-meta-bar { display: flex; padding: 24px 0; }
.article-meta-item {
  padding-right: 40px;
  margin-right: 40px;
  border-right: 1px solid rgba(201,168,76,.18);
}
.article-meta-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,168,76,.60);
  margin-bottom: 6px;
}
.meta-value {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
}

/* Article body */
.article-body {
  background: var(--cream-section);
  padding: 72px var(--pad-x) 96px;
}
.article-prose { max-width: 680px; margin: 0 auto; }

.article-prose p {
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.78;
  color: var(--navy);
  margin-bottom: 26px;
}
.article-prose p.drop-cap::first-letter {
  font-family: var(--font-h);
  font-size: 74px;
  font-weight: 400;
  line-height: 0.80;
  float: left;
  margin: 10px 14px 0 0;
  color: var(--navy);
}

.prose-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 52px 0 18px;
  display: block;
}

.article-blockquote {
  border-left: 3px solid var(--gold);
  padding: 2px 0 2px 24px;
  margin: 40px 0;
}
.article-blockquote p {
  font-family: var(--font-h);
  font-style: italic;
  font-size: 21px;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 0 !important;
}
.bq-gold { color: var(--gold); font-style: italic; }

/* Event detail card */
.event-detail-card {
  border-left: 3px solid var(--gold);
  background: rgba(26,37,64,.05);
  border-radius: 0 4px 4px 0;
  padding: 24px 28px;
  margin: 32px 0 40px;
}
.event-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.event-detail-item .meta-label { color: var(--navy-muted); }
.event-detail-item .meta-value { color: var(--navy); font-size: 15px; letter-spacing: 0; }

/* Tags and navigation */
.article-prose-rule { height: 1px; background: rgba(26,37,64,.14); margin: 56px 0 32px; }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.article-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid rgba(26,37,64,.32);
  border-radius: 2px;
  padding: 6px 12px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,.35);
  padding-bottom: 3px;
  transition: color var(--ease), border-color var(--ease);
}
.article-back:hover { color: var(--gold-deep); border-color: var(--gold-deep); }


/* ─────────────────────────────────────────────────────────────────── */
/*  RESPONSIVE — tablet                                                */
/* ─────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ─────────────────────────────────────────────────────────────────── */
/*  RESPONSIVE — mobile                                                */
/* ─────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --pad-sec: 64px; --pad-x: 6%; }

  /* hamburger */
  .hamburger { display: flex; }

  nav { order: 10; width: 100%; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(201,168,76,.18);
  }
  .nav-links.open { display: flex; }

  .nav-inner { flex-wrap: wrap; }
  /* push hamburger to right of brand */
  .hamburger { margin-left: auto; }
  .nav-right  { order: 1; }

  /* hero */
  .hero-crest { width: 100px; height: 100px; }

  /* stats stacked */
  .stats-inner { flex-direction: column; }
  .stat-div { width: 60px; height: 1px; margin: 4px auto; }

  /* cards single col */
  .two-cards, .principles-grid { grid-template-columns: 1fr; }

  /* members 2 col */
  .members-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .avatar { width: 120px; height: 120px; }
  .avatar-init { font-size: 40px; }

  /* footer single col */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .members-grid { grid-template-columns: 1fr; }
  .country-tabs { gap: 8px; }
  .tab { padding: 10px 18px; font-size: 14px; }
}

/* ─────────────────────────────────────────────────────────────────── */
/*  RESPONSIVE — article pages                                          */
/* ─────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .article-meta-bar { flex-direction: column; }
  .article-meta-item {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(201,168,76,.14);
  }
  .article-meta-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .article-body { padding: 48px var(--pad-x) 64px; }
  .article-prose p { font-size: 16px; }
  .article-prose p.drop-cap::first-letter { font-size: 60px; }
  .event-detail-grid { grid-template-columns: 1fr; }
}
