/* ==========================================================================
   Asia Financiers Club — Site Stylesheet
   Palette: Deep Navy + Gold (sourced from AFC deck)
   ========================================================================== */

:root{
  /* ONE dark blue used for every dark surface across the site */
  --navy-950:#0a1628;
  --navy-900:#0a1628;
  --navy-850:#0a1628;
  --navy-800:#11223d;
  --navy-700:#16294a;
  --navy-600:#1d3560;
  --navy-line:rgba(255,255,255,0.10);
  --gold:#c9a227;
  --gold-light:#e3c667;
  --gold-dark:#9c7d1e;
  --white:#ffffff;
  --off-white:#f7f5ef;
  --ink:#0b1524;
  --muted-dark:#c4cede;   /* body text on dark navy */
  --muted-light:#39425a;  /* body text on white  */
  --border-dark:rgba(255,255,255,0.09);
  --border-light:rgba(10,22,40,0.10);
  --shadow:0 20px 50px rgba(4,9,20,0.35);
  --radius:14px;
  --serif:'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  background:var(--off-white);
  color:var(--ink);
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--serif); margin:0 0 .5em; font-weight:600; letter-spacing:.01em; }
p{ margin:0 0 1em; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }

/* ---------- Top utility bar ---------- */
.topbar{ background:var(--navy-950); color:var(--muted-dark); font-size:12px; letter-spacing:.12em; }
.topbar-inner{ display:flex; justify-content:space-between; align-items:center; padding:8px 24px; }
.topbar-inner.topbar-end{ justify-content:flex-end; }
.topbar span{ text-transform:uppercase; }
.topbar-whatsapp{ display:inline-flex; align-items:center; gap:6px; color:var(--gold-light); font-weight:600; letter-spacing:.04em; }
.topbar-whatsapp svg{ flex:none; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(10,22,40,0.96);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border-dark);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:10px 24px; gap:24px; }
.brand{ display:flex; align-items:center; flex:none; }
.brand-logo{ height:70px; width:auto; max-width:none; }
.main-nav{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.main-nav a{
  color:#e7ebf3; font-size:15.5px; font-weight:500; letter-spacing:.02em;
  padding:6px 2px; position:relative; white-space:nowrap;
}
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ transform:scaleX(1); }
.main-nav a.active{ color:var(--gold-light); }
.nav-cta{
  margin-left:8px; padding:9px 20px !important; border-radius:999px;
}
.nav-toggle{ display:none; flex-direction:column; justify-content:center; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ width:24px; height:2px; background:#fff; display:block; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 30px; border-radius:6px; font-weight:600; font-size:15.5px;
  letter-spacing:.03em; border:1px solid transparent; cursor:pointer; transition:all .2s ease;
}
.btn-gold{ background:linear-gradient(135deg,var(--gold-light),var(--gold) 60%,var(--gold-dark)); color:#1a1300; }
.btn-gold:hover{ filter:brightness(1.08); transform:translateY(-1px); }
.btn-outline-light{ border-color:rgba(255,255,255,0.5); color:#fff; }
.btn-outline-light:hover{ background:rgba(255,255,255,0.1); }
.btn-outline-dark{ border-color:var(--navy-900); color:var(--navy-900); }
.btn-outline-dark:hover{ background:var(--navy-900); color:#fff; }
.btn-navy{ background:var(--navy-900); color:#fff; }
.btn-navy:hover{ background:var(--navy-700); }

/* ---------- Section shells (alternating navy / white) ---------- */
.section{ padding:96px 0; position:relative; overflow:hidden; }
.section[id]{ scroll-margin-top:130px; }
.section-tight{ padding:64px 0; }
.section-navy{ background:var(--navy-900); color:#eef1f7; }
.section-navy-alt{ background:var(--navy-850); color:#eef1f7; }
.section-white{ background:var(--white); color:var(--ink); }
.section-offwhite{ background:var(--off-white); color:var(--ink); }

.eyebrow{
  display:inline-block; text-transform:uppercase; letter-spacing:.16em; font-size:13px;
  font-weight:700; color:var(--gold); margin-bottom:14px;
}
.section-navy .eyebrow, .section-navy-alt .eyebrow{ color:var(--gold-light); }
/* Gold reads poorly on white — use the deeper gold for small text there */
.section-white .eyebrow, .section-offwhite .eyebrow,
.section-white .card-kicker, .section-offwhite .card-kicker,
.section-white .callout h4, .section-offwhite .callout h4{ color:#7d6414; }
.section-white .card-num, .section-offwhite .card-num{ color:var(--gold-dark); }

.section-title{
  font-size:clamp(26px,3.2vw,38px); padding-bottom:20px; margin-bottom:44px;
  border-bottom:1px solid var(--navy-line); position:relative;
}
.section-navy .section-title, .section-navy-alt .section-title{ color:#fff; }
.section-white .section-title, .section-offwhite .section-title{ color:var(--navy-900); border-bottom-color:rgba(10,22,40,0.15); }
.section-title.center{ text-align:center; }

.section-lead{ font-size:18.5px; max-width:780px; }
.section-navy .section-lead, .section-navy-alt .section-lead{ color:var(--muted-dark); }
.section-white .section-lead, .section-offwhite .section-lead{ color:var(--muted-light); }

.divider-gold{ width:64px; height:3px; background:var(--gold); border:0; margin:18px 0 26px; }

/* ---------- Grid helpers ---------- */
.grid{ display:grid; gap:26px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-5{ grid-template-columns:repeat(5,1fr); }
.two-col{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.two-col.reverse{ direction:rtl; } .two-col.reverse > *{ direction:ltr; }

/* ---------- Cards ---------- */
.card{
  background:rgba(255,255,255,0.035); border:1px solid var(--border-dark);
  border-radius:10px; padding:26px 26px;
}
.section-white .card, .section-offwhite .card{
  background:#fff; border:1px solid var(--border-light);
  box-shadow:0 10px 30px rgba(10,22,40,0.06);
}
.card h3{ font-size:20px; margin-bottom:10px; }
.section-navy .card h3, .section-navy-alt .card h3{ color:#fff; }
.section-white .card h3, .section-offwhite .card h3{ color:var(--navy-900); }
.card p, .card li{ font-size:16px; }
.section-navy .card p, .section-navy-alt .card p, .section-navy .card li, .section-navy-alt .card li{ color:var(--muted-dark); }
.section-white .card p, .section-offwhite .card p, .section-white .card li, .section-offwhite .card li{ color:var(--muted-light); }

.card-num{
  font-family:var(--serif); font-size:34px; font-weight:700; color:var(--gold); line-height:1;
  margin-bottom:8px; display:block;
}
.card.accent-blue .card-num{ color:#4d7cd6; }
.card.accent-green .card-num{ color:#3fb98b; }
.section-white .card.accent-blue .card-num, .section-offwhite .card.accent-blue .card-num{ color:#3560b8; }
.section-white .card.accent-green .card-num, .section-offwhite .card.accent-green .card-num{ color:#1d7d59; }
.card-kicker{ display:block; font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); margin-bottom:2px; font-weight:700; }

/* Topic-only card (event titles, no description) */
.card-topic{ text-align:center; padding:34px 18px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.card-topic .badge-circle{ margin:0 auto 18px; }
.card-topic h3{ font-size:17.5px; margin-bottom:0; line-height:1.35; }

/* Numbered circle badge (experience items) */
.badge-circle{
  width:40px; height:40px; border-radius:50%; border:1.5px solid var(--border-dark);
  display:flex; align-items:center; justify-content:center; font-family:var(--serif);
  font-weight:700; color:var(--gold-light); margin-bottom:14px; font-size:16px;
}
.section-white .badge-circle, .section-offwhite .badge-circle{
  border-color:var(--border-light); color:var(--gold-dark);
}

/* ---------- Tags / Pills ---------- */
.tags{ display:flex; flex-wrap:wrap; gap:10px; }
.tag{
  display:inline-block; padding:9px 17px; border-radius:999px; font-size:14px; font-weight:600;
  border:1px solid var(--gold); color:var(--gold-light); background:rgba(201,162,39,0.08);
  letter-spacing:.01em;
}
.section-white .tag, .section-offwhite .tag{ color:#7d6414; background:rgba(201,162,39,0.10); border-color:var(--gold-dark); }
.tag.blue{ border-color:#4d7cd6; color:#6f97e6; background:rgba(77,124,214,0.08); }
.section-white .tag.blue, .section-offwhite .tag.blue{ color:#3560b8; }

/* ---------- Feature list with diamond bullets ---------- */
.diamond-list li{ position:relative; padding-left:22px; margin-bottom:12px; font-size:16px; }
.diamond-list li::before{
  content:""; position:absolute; left:0; top:8px; width:7px; height:7px; background:var(--gold);
  transform:rotate(45deg);
}
.section-navy .diamond-list li, .section-navy-alt .diamond-list li{ color:var(--muted-dark); }
.section-white .diamond-list li, .section-offwhite .diamond-list li{ color:var(--muted-light); }

/* ---------- The 6 AFC Principles (term | Over | term) ---------- */
.principles{ margin-top:14px; }
.principles li{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px;
  padding:13px 0; border-bottom:1px solid var(--border-dark); font-size:16px;
}
.section-white .principles li, .section-offwhite .principles li{ border-bottom-color:var(--border-light); }
.principles li:last-child{ border-bottom:0; }
.p-left{ text-align:left; font-weight:600; }
.section-navy .p-left{ color:#fff; }
.section-white .p-left, .section-offwhite .p-left{ color:var(--navy-900); }
.p-over{ text-align:center; font-style:italic; font-weight:700; min-width:58px; color:var(--gold); }
.section-white .p-over, .section-offwhite .p-over{ color:#7d6414; }
.p-right{ text-align:right; font-weight:600; color:var(--gold); }
.section-white .p-right, .section-offwhite .p-right{ color:#7d6414; }

/* ---------- Callout box ---------- */
.callout{
  border:1px solid var(--border-dark); border-radius:10px; padding:20px 22px; margin:18px 0;
  background:rgba(255,255,255,0.04);
}
.section-white .callout, .section-offwhite .callout{
  border-color:var(--border-light); background:rgba(10,22,40,0.03);
}
.callout h4{ color:var(--gold); font-family:var(--sans); font-weight:700; font-size:13.5px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.callout p{ margin:0; font-size:16px; }

.quote-box{
  border-left:3px solid var(--border-dark); padding:16px 22px; font-style:italic; font-size:16.5px;
  background:rgba(255,255,255,0.03); border-radius:0 8px 8px 0;
}
.section-white .quote-box, .section-offwhite .quote-box{ border-left-color:var(--border-light); }
.section-white .quote-box, .section-offwhite .quote-box{ background:rgba(10,22,40,0.03); }

/* ---------- Hero (index) ---------- */
.hero-v2{
  background:var(--navy-950);
  padding:44px 24px 76px;
  text-align:center;
}
.hero-image-wrap{
  max-width:1180px; margin:0 auto; border-radius:16px; overflow:hidden;
  box-shadow:var(--shadow); border:1px solid var(--navy-line);
}
.hero-graphic{ width:100%; height:auto; display:block; }
.hero-caption{ max-width:720px; margin:44px auto 0; }
.hero-caption .divider-gold{ margin-left:auto; margin-right:auto; }
.hero-caption h1{ color:#fff; font-size:clamp(22px,2.8vw,30px); font-weight:500; margin-bottom:0; }
.hero-ctas{ display:flex; gap:16px; justify-content:center; margin-top:34px; flex-wrap:wrap; }
.hero-scroll{ position:absolute; bottom:28px; left:50%; transform:translateX(-50%); color:var(--muted-dark); font-size:12px; letter-spacing:.1em; text-transform:uppercase; }


/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  padding:70px 0 54px; background:var(--navy-950);
  border-bottom:1px solid var(--border-dark);
}
.page-hero .eyebrow{ color:var(--gold-light); }
.page-hero h1{ color:#fff; font-size:clamp(30px,4vw,44px); margin-bottom:14px; }
.page-hero p{ color:var(--muted-dark); max-width:680px; font-size:17.5px; margin-bottom:0; }

/* ---------- Media frame ---------- */
.logo-showcase{
  display:flex; align-items:center; justify-content:center; padding:50px 30px;
  border-radius:var(--radius); border:1px solid var(--border-dark);
  background:var(--navy-950);
}
.logo-showcase img{ width:100%; max-width:332px; }
.media-frame{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--border-dark); }
.media-frame img{ width:100%; height:100%; object-fit:cover; }
.media-trio{ display:grid; grid-template-columns:1.2fr 1fr 1.2fr; gap:4px; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.media-trio img{ width:100%; height:260px; object-fit:cover; }
.media-duo{ display:grid; grid-template-columns:1fr 1fr; gap:4px; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.media-duo img{ width:100%; height:300px; object-fit:cover; }

/* ---------- Founder profile ---------- */
.founder{ display:grid; grid-template-columns:340px 1fr; gap:48px; align-items:start; }
.founder-photo-wrap{ position:relative; }
.founder-photo{
  border-radius:var(--radius); overflow:hidden; border:1px solid var(--border-dark); box-shadow:var(--shadow);
}
.founder-photo img{ width:100%; height:420px; object-fit:cover; }
.founder-name-plate{
  margin-top:-1px; background:var(--navy-950); border:1px solid var(--border-dark); border-top:none;
  text-align:center; padding:14px 10px; border-radius:0 0 10px 10px;
}
.founder-name-plate strong{ color:var(--gold-light); letter-spacing:.05em; font-size:13px; text-transform:uppercase; }
.founder-role{ color:var(--gold); font-family:var(--serif); font-style:italic; font-size:16.5px; margin-bottom:14px; display:block; }
.founder-bio p{ color:var(--muted-dark); font-size:16.5px; }
.founder-badges{ display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; margin-top:22px; padding-top:22px; border-top:1px solid var(--border-dark); }
.founder-badges span{
  font-size:13.5px; font-weight:700; letter-spacing:.03em; color:#c7cee0;
  background:rgba(255,255,255,0.06); border:1px solid var(--border-dark); padding:8px 14px; border-radius:6px;
}
/* Founder profile on a white section */
.section-white .founder-bio p, .section-offwhite .founder-bio p{ color:var(--muted-light); }
.section-white .founder-role, .section-offwhite .founder-role{ color:#7d6414; }
.section-white .founder-photo, .section-offwhite .founder-photo{ border-color:var(--border-light); }
.section-white .founder-badges, .section-offwhite .founder-badges{ border-top-color:var(--border-light); }
.section-white .founder-badges span, .section-offwhite .founder-badges span{
  background:rgba(10,22,40,0.05); color:var(--navy-900); border-color:var(--border-light);
}

/* ---------- Region / stat strip ---------- */
.stat-row{ display:flex; flex-wrap:wrap; gap:14px; }

/* ---------- Promise / CTA panel ---------- */
.promise-panel{
  max-width:840px; margin:0 auto; text-align:center; border:1px solid var(--navy-line);
  border-radius:18px; padding:56px 48px; background:rgba(255,255,255,0.03);
}
.promise-panel h2{ color:var(--gold); font-size:clamp(24px,3vw,30px); text-transform:uppercase; letter-spacing:.04em; }
.promise-panel p{ color:#dde2ee; font-size:17px; }
.promise-panel strong{ color:#fff; }
.promise-name{ color:#fff; letter-spacing:.05em; }
.promise-tagline{ color:var(--gold-light); text-transform:uppercase; letter-spacing:.1em; font-size:14px !important; }
/* Promise panel on a white section */
.section-white .promise-panel, .section-offwhite .promise-panel{
  border-color:var(--border-light); background:rgba(10,22,40,0.02);
}
.section-white .promise-panel h2, .section-offwhite .promise-panel h2{ color:var(--gold-dark); }
.section-white .promise-panel p, .section-offwhite .promise-panel p{ color:var(--muted-light); }
.section-white .promise-panel strong, .section-offwhite .promise-panel strong{ color:var(--navy-900); }
.section-white .promise-name, .section-offwhite .promise-name{ color:var(--navy-900); }
.section-white .promise-tagline, .section-offwhite .promise-tagline{ color:var(--gold-dark); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.contact-card{
  border:1px solid var(--border-dark); border-radius:var(--radius); padding:36px; background:rgba(255,255,255,0.03);
}
.whatsapp-btn{
  display:inline-flex; align-items:center; gap:12px; background:#25D366; color:#06210f; font-weight:700;
  padding:16px 26px; border-radius:10px; font-size:15.5px; margin-top:18px;
}
.whatsapp-btn:hover{ filter:brightness(1.05); }
.contact-list li{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--border-dark); font-size:16px; color:var(--muted-dark); }
.contact-list li strong{ color:#fff; min-width:130px; display:inline-block; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float{
  position:fixed; right:22px; bottom:22px; z-index:200; width:60px; height:60px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(0,0,0,0.35); animation:pulse 2.4s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,0.55), 0 10px 26px rgba(0,0,0,0.35); }
  70%{ box-shadow:0 0 0 14px rgba(37,211,102,0), 0 10px 26px rgba(0,0,0,0.35); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0), 0 10px 26px rgba(0,0,0,0.35); }
}

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-950); color:var(--muted-dark); padding:64px 0 0; border-top:1px solid var(--border-dark); }
.footer-inner{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:36px; padding-bottom:44px; border-bottom:1px solid var(--border-dark); }
.footer-logo{ height:92px; width:auto; max-width:none; margin-bottom:14px; }
.footer-tagline{ color:#fff; font-family:var(--serif); font-style:italic; font-size:16px; }
.footer-fine{ font-size:13.5px; color:var(--muted-dark); }
.footer-col h4{ color:#fff; font-family:var(--sans); text-transform:uppercase; letter-spacing:.08em; font-size:13px; margin-bottom:16px; }
.footer-col ul li{ margin-bottom:10px; font-size:15px; }
.footer-col ul li a:hover{ color:var(--gold-light); }
.footer-whatsapp{ display:inline-flex; align-items:center; gap:8px; color:#7fe3a8; font-weight:600; }
.footer-disclaimer{ padding:20px 24px 0; }
.footer-disclaimer p{ margin:0; font-size:13px; line-height:1.65; color:var(--muted-dark); opacity:.85; max-width:none; }
.footer-disclaimer strong{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; padding:18px 24px 22px; font-size:12.5px; flex-wrap:wrap; gap:8px; }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.max-w{ max-width:720px; }
.center-col{ margin-left:auto; margin-right:auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .two-col, .founder{ grid-template-columns:1fr; }
  /* Show profile photos in full on mobile (no cropped faces) */
  .founder-photo img{ height:auto; max-height:none; object-fit:contain; }
  .grid-2, .grid-3, .grid-4, .grid-5{ grid-template-columns:repeat(2,1fr); }
  .footer-inner{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .media-trio, .media-duo{ grid-template-columns:1fr; }
  .media-trio img, .media-duo img{ height:220px; }
}
@media (max-width: 760px){
  .main-nav{
    position:absolute; top:100%; left:0; right:0; background:var(--navy-950);
    flex-direction:column; align-items:flex-start; padding:20px 24px; gap:16px;
    border-top:1px solid var(--border-dark); display:none;
  }
  .main-nav.open{ display:flex; }
  .nav-toggle{ display:flex; }
  .nav-cta{ margin-left:0; }
  .grid-3, .grid-4, .grid-5{ grid-template-columns:1fr 1fr; }
  .hero-panel{ padding:38px 22px; }
  .section{ padding:64px 0; }
  .topbar-inner{ font-size:10.5px; }
}
@media (max-width: 520px){
  .grid-2, .grid-3, .grid-4, .grid-5{ grid-template-columns:1fr; }
  .brand-logo{ height:56px; }
  .footer-inner{ grid-template-columns:1fr; }
}