/* =============================================
   NAFAU INVESTMENT – SHARED STYLESHEET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --green:       #1a6b3c;
  --green2:      #155c32;
  --green-light: #2d9e5a;
  --gold:        #C8A96E;
  --gold2:       #e8c98a;
  --dark:        #0a0f0d;
  --dark2:       #0d1610;
  --card:        #0f1a12;
  --glass:       rgba(255,255,255,0.04);
  --glass2:      rgba(255,255,255,0.07);
  --border:      rgba(200,169,110,0.18);
  --border2:     rgba(200,169,110,0.38);
  --text:        #e8ede9;
  --muted:       rgba(232,237,233,0.55);
  --muted2:      rgba(232,237,233,0.30);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 5% 5%,  rgba(26,107,60,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 95% 90%, rgba(200,169,110,0.04) 0%, transparent 60%);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 5.5vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 3.2rem); margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
em { font-style: italic; color: var(--gold); }
p  { line-height: 1.75; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.divider { width: 44px; height: 1px; background: var(--gold); margin: 24px 0; }

/* ---- LAYOUT ---- */
.container  { max-width: 1280px; margin: 0 auto; padding: 0 60px; }
section     { padding: 90px 60px; position: relative; z-index: 1; }
.section-sub { font-size: 1rem; line-height: 1.8; color: var(--muted); max-width: 560px; font-weight: 300; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 70px;
  background: rgba(10,15,13,0.88);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; flex-direction: column; text-decoration: none; }
.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em;
}
.nav-brand-sub { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; text-decoration: none; font-size: 0.75rem;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
  transition: color 0.25s; font-family: 'Inter', sans-serif;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-cta {
  margin-left: 12px; padding: 9px 22px;
  background: var(--green); color: #fff; text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase;
  font-family: 'Inter', sans-serif; transition: all 0.25s;
  border: 1px solid var(--green);
}
.nav-cta:hover { background: var(--green-light); border-color: var(--green-light); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; padding: 13px 34px;
  font-family: 'Inter', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: all 0.3s;
  border: 1px solid; font-weight: 500;
}
.btn-green  { background: var(--green);      color: #fff;         border-color: var(--green);                      }
.btn-green:hover  { background: var(--green-light); border-color: var(--green-light); transform: translateY(-2px); }
.btn-ghost  { background: transparent;       color: var(--text);  border-color: rgba(232,237,233,0.22);             }
.btn-ghost:hover  { color: var(--gold);      border-color: var(--gold);                                             }
.btn-gold   { background: transparent;       color: var(--gold);  border-color: var(--gold);                        }
.btn-gold:hover   { background: var(--gold); color: var(--dark);                                                    }

/* ---- GLASS CARD ---- */
.gcard {
  background: var(--glass); backdrop-filter: blur(16px);
  border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.gcard:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.gcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.3), transparent);
  pointer-events: none;
}
/* gloss sweep */
.gcard::after {
  content: ''; position: absolute; top: 0; left: -90%; width: 55%; height: 100%;
  background: linear-gradient(105deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  transition: left 0.7s ease; pointer-events: none;
}
.gcard:hover::after { left: 110%; }

/* ---- INFO CARD ---- */
.icard {
  padding: 22px 26px; background: var(--glass); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-left: 3px solid var(--green);
  transition: border-left-color 0.3s, transform 0.3s;
}
.icard:hover { border-left-color: var(--gold); transform: translateX(3px); }
.icard-label { font-size: 0.63rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.icard-val   { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text); margin-bottom: 5px; }
.icard-body  { font-size: 0.83rem; line-height: 1.65; color: var(--muted); }

/* ---- PAGE HERO ---- */
.page-hero {
  height: 310px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 44px 60px;
  margin-top: 70px;
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.22);
  transition: transform 8s ease-in-out;
}
.page-hero:hover .page-hero-bg { transform: scale(1.04); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,13,1) 0%, rgba(10,15,13,0.4) 55%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 2; }

/* ---- STATS BAR ---- */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(26,107,60,0.04);
}
.stat { padding: 34px 40px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--gold); line-height: 1; }
.stat-lbl { font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }

/* ---- PERSON CARD ---- */
.person-card {
  background: var(--glass); backdrop-filter: blur(14px);
  border: 1px solid var(--border); overflow: hidden;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  position: relative;
}
.person-card:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.person-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.person-card:hover::after { transform: scaleX(1); }
.pimg { height: 240px; overflow: hidden; position: relative; }
.pimg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.6s; }
.person-card:hover .pimg img { transform: scale(1.06); }
.pimg::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 38%;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 100%);
  pointer-events: none; z-index: 1;
}
.pimg::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 55px;
  background: linear-gradient(transparent, rgba(10,15,13,0.88)); pointer-events: none;
}
.pinfo { padding: 20px 18px; }
.pname { font-family: 'Playfair Display', serif; font-size: 1.05rem; margin-bottom: 4px; }
.prole { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.pbio  { font-size: 0.8rem; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- VALUE PILL ---- */
.val-pill {
  padding: 10px 16px; background: var(--glass); backdrop-filter: blur(10px);
  border: 1px solid var(--border); font-size: 0.73rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 9px; transition: all 0.3s;
}
.val-pill:hover { background: rgba(26,107,60,0.12); border-color: var(--gold); }
.val-pill::before { content: ''; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ---- FOOTER ---- */
footer {
  padding: 36px 60px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  border-top: 1px solid var(--border); background: var(--dark2);
  position: relative; z-index: 1;
}
.footer-brand .footer-logo { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--gold); }
.footer-brand .footer-reg  { font-size: 0.68rem; color: var(--muted2); margin-top: 3px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.68rem; color: var(--muted2); }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.15s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.25s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.35s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.45s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.52s; }
.stagger.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.58s; }
.stagger.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay:0.63s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 60px 20px; }
  .page-hero { padding: 30px 20px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  footer { padding: 30px 20px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
