/* Emela LLC — flagship site (navy · gold · white) */
:root{
  --navy:#0a1628;
  --navy-mid:#121f35;
  --navy-soft:#1a2d4d;
  --gold:#c9a227;
  --gold-light:#e8d48a;
  --white:#ffffff;
  --cream:#f4f6f9;
  --muted:#8b9bb8;
  --ink:#0a1628;
  --border:rgba(255,255,255,.12);
  --border-light:#e2e8f0;
  --radius:1rem;
  --radius-lg:1.5rem;
  --shadow:0 4px 24px rgba(10,22,40,.08);
  --shadow-lg:0 20px 50px -20px rgba(10,22,40,.25);
  --gradient-hero:linear-gradient(135deg,rgba(10,22,40,.92) 0%,rgba(10,22,40,.75) 45%,rgba(18,31,53,.65) 100%);
  --font-display:"Poppins",system-ui,sans-serif;
  --font-accent:"Montserrat",system-ui,sans-serif;
  --font-body:"Inter",system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-body);
  background:var(--white);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  font-size:1rem;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;letter-spacing:-.02em;line-height:1.15}
.text-balance{text-wrap:balance}
.italic{font-style:italic}
.container{max-width:1200px;margin:0 auto;padding:0 1.25rem}
@media(min-width:1024px){.container{padding:0 2rem}}

/* Typography scale */
.display-xl{font-size:clamp(2.5rem,5.5vw,3.75rem)}
.display-lg{font-size:clamp(2rem,4vw,3rem)}
.lead{font-size:1.125rem;color:var(--muted);line-height:1.7;max-width:42rem}
.lead-light{color:rgba(244,246,249,.88);line-height:1.65}
.muted{color:var(--muted)}
.small-caps{
  font-family:var(--font-accent);
  font-size:.7rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.22em;
  color:var(--gold);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  border-radius:9999px;
  padding:.85rem 1.5rem;
  font-family:var(--font-accent);
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  transition:transform .2s,box-shadow .2s,background .2s,border-color .2s,color .2s;
  cursor:pointer;
  border:1px solid transparent;
}
.btn-primary{
  background:var(--gold);
  color:var(--navy);
  box-shadow:0 4px 20px rgba(201,162,39,.35);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(201,162,39,.45)}
.btn-outline-light{
  border-color:rgba(255,255,255,.35);
  color:var(--white);
  background:transparent;
}
.btn-outline-light:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.55)}
.btn-outline-dark{
  border-color:var(--navy-soft);
  color:var(--navy);
  background:transparent;
}
.btn-outline-dark:hover{border-color:var(--gold);color:var(--navy)}
.btn-ghost{color:var(--navy);background:rgba(10,22,40,.06)}
.btn-ghost:hover{background:rgba(10,22,40,.1)}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}

/* ===== Site nav ===== */
.nav{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border-light);
}
.nav-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 1.25rem;
  height:4.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
@media(min-width:1024px){.nav-inner{padding:0 2rem;height:5rem}}
.nav-brand{display:flex;align-items:center;gap:.65rem;min-width:0}
.nav-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:2.75rem;
  width:2.75rem;
  border-radius:9999px;
  background:var(--navy);
  padding:.3rem;
  flex-shrink:0;
}
.nav-logo img{height:100%;width:100%;object-fit:contain}
.nav-brand-text{min-width:0}
.nav-brand .name{
  font-family:var(--font-display);
  font-size:1.05rem;
  font-weight:600;
  color:var(--navy);
  line-height:1.2;
}
.nav-brand .sub{
  font-family:var(--font-accent);
  font-size:.58rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:var(--muted);
}
.nav-links{display:none;align-items:center;gap:1.75rem;font-size:.875rem;font-weight:500}
@media(min-width:1024px){.nav-links{display:flex}}
.nav-links a{
  color:rgba(10,22,40,.65);
  padding:.25rem 0;
  border-bottom:2px solid transparent;
  transition:color .2s,border-color .2s;
}
.nav-links a:hover{color:var(--navy)}
.nav-links a.is-active{color:var(--navy);border-bottom-color:var(--gold)}

.nav-toggle{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:2.5rem;
  height:2.5rem;
  background:transparent;
  border:0;
  cursor:pointer;
  padding:0;
  color:var(--navy);
}
@media(min-width:1024px){.nav-toggle{display:none}}
.nav-toggle span{
  display:block;
  height:2px;
  width:1.35rem;
  background:currentColor;
  border-radius:1px;
  transition:transform .25s,opacity .25s;
}
body.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.nav-open .nav-toggle span:nth-child(2){opacity:0}
body.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.nav-drawer{
  display:none;
  position:fixed;
  inset:4.5rem 0 0;
  background:rgba(10,22,40,.97);
  padding:1.5rem;
  flex-direction:column;
  gap:.25rem;
  overflow-y:auto;
}
body.nav-open .nav-drawer{display:flex}
@media(min-width:1024px){.nav-drawer{display:none!important}}
.nav-drawer a{
  font-family:var(--font-display);
  font-size:1.125rem;
  font-weight:600;
  color:rgba(255,255,255,.9);
  padding:.85rem 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav-drawer a.is-active{color:var(--gold-light)}

/* ===== Hero (pages) ===== */
.hero{
  position:relative;
  overflow:hidden;
  color:var(--white);
  min-height:min(92vh,52rem);
  display:flex;
  align-items:center;
}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-bg::after{content:"";position:absolute;inset:0;background:var(--gradient-hero)}
.hero-inner{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:6rem 1.25rem 5rem;
}
@media(min-width:1024px){.hero-inner{padding:8.5rem 2rem 6.5rem}}
.hero h1{
  font-size:clamp(2.35rem,5.5vw,3.65rem);
  max-width:52rem;
  font-weight:700;
}
.hero h1 .accent{color:var(--gold-light)}
.hero .lede{margin-top:1.5rem;font-size:1.1rem;line-height:1.7;max-width:46rem;color:rgba(244,246,249,.9)}
.hero-cta{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.75rem}
.chips{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.5rem}
.chip{
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.22);
  padding:.4rem .85rem;
  border-radius:9999px;
  color:rgba(255,255,255,.88);
  background:rgba(255,255,255,.06);
}

/* Compact hero (inner pages) */
.hero.compact{min-height:auto}
.hero.compact .hero-inner{padding:5.5rem 1.25rem 3.5rem}
@media(min-width:1024px){.hero.compact .hero-inner{padding:6.5rem 2rem 4rem}}

/* ===== Sections ===== */
section.section{padding:4.5rem 0}
@media(min-width:1024px){section.section{padding:7rem 0}}
.section-head{
  display:grid;
  gap:1.5rem;
  margin-bottom:3rem;
}
@media(min-width:900px){
  .section-head{grid-template-columns:1fr 1fr;align-items:end;gap:3rem}
}
.section-head h2{font-size:clamp(1.85rem,3.5vw,2.75rem)}
.section-head .desc{font-size:1.05rem;color:var(--muted);line-height:1.75;max-width:36rem}

.section-navy{background:var(--navy);color:var(--white)}
.section-navy .section-head .desc{color:rgba(244,246,249,.72)}
.section-navy h2{color:var(--white)}
.section-navy .small-caps{color:var(--gold-light)}

.section-cream{background:var(--cream)}

/* Cards grid */
.card-grid{
  display:grid;
  gap:1.25rem;
  grid-template-columns:1fr;
}
@media(min-width:640px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.card-grid{grid-template-columns:repeat(3,1fr)}}

.card{
  background:var(--white);
  border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:1.75rem;
  box-shadow:var(--shadow);
  transition:transform .25s,box-shadow .25s,border-color .25s;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:rgba(201,162,39,.35);
}
.card-icon{
  width:2.75rem;
  height:2.75rem;
  border-radius:.75rem;
  background:rgba(201,162,39,.15);
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
}
.card h3{margin-top:1.25rem;font-size:1.15rem}
.card p{margin-top:.65rem;font-size:.9rem;color:var(--muted);line-height:1.65}
.card ul{margin-top:1rem;padding-left:1.1rem;color:var(--muted);font-size:.875rem;line-height:1.7}
.card ul li{margin:.25rem 0}

/* Service category (services page) */
.service-cat{
  border-radius:var(--radius-lg);
  border:1px solid var(--border-light);
  padding:2rem;
  background:var(--white);
  box-shadow:var(--shadow);
  transition:box-shadow .25s,border-color .25s;
}
.service-cat:hover{box-shadow:var(--shadow-lg);border-color:rgba(201,162,39,.4)}
.service-cat .tag{
  font-family:var(--font-accent);
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--gold);
}
.service-cat h3{margin-top:.75rem;font-size:1.35rem}
.service-cat p{margin-top:.75rem;color:var(--muted);font-size:.95rem}

/* Stats */
.stat-grid{
  display:grid;
  gap:2rem;
  grid-template-columns:1fr 1fr;
}
@media(min-width:768px){.stat-grid{grid-template-columns:repeat(4,1fr)}}
.stat{
  text-align:center;
  padding:1.5rem;
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
}
.stat-value{
  font-family:var(--font-display);
  font-size:clamp(2rem,4vw,2.75rem);
  font-weight:700;
  color:var(--gold-light);
  line-height:1.1;
}
.stat-label{
  margin-top:.5rem;
  font-size:.8rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(244,246,249,.65);
  font-weight:600;
}

/* Flow diagram */
.flow-wrap{margin-top:3rem;display:flex;flex-direction:column;align-items:center;gap:0}
.flow-box{
  width:100%;
  max-width:28rem;
  border-radius:var(--radius-lg);
  padding:2rem;
  text-align:center;
  border:1px solid var(--border-light);
  background:var(--white);
  box-shadow:var(--shadow);
}
.flow-box.llc{border-top:4px solid var(--gold)}
.flow-box.assoc{border-top:4px solid var(--navy-soft);background:var(--navy);color:var(--white);border-color:transparent}
.flow-box h3{font-size:1.25rem}
.flow-box .caps{
  margin-top:.5rem;
  font-size:.8rem;
  color:var(--muted);
  line-height:1.5;
}
.flow-box.assoc .caps{color:rgba(244,246,249,.7)}
.flow-arrow{
  font-size:2rem;
  color:var(--gold);
  padding:.5rem 0;
  line-height:1;
}

/* Integrated model (home) */
.integ-grid{margin-top:3rem;display:grid;gap:1.25rem}
@media(min-width:768px){.integ-grid{grid-template-columns:1fr 1fr}}
.integ-card{
  border-radius:var(--radius-lg);
  padding:2rem;
  border:1px solid var(--border-light);
  background:var(--white);
  box-shadow:var(--shadow);
  transition:opacity .6s ease,transform .6s ease;
}
.integ-card.dark{background:var(--navy-mid);color:var(--white);border-color:transparent}
.integ-card .tag{
  font-family:var(--font-accent);
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--gold);
}
.integ-card.dark .tag{color:var(--gold-light)}
.integ-card .head{margin-top:.75rem;font-size:1.35rem;font-family:var(--font-display)}
.integ-card .body{margin-top:.75rem;font-size:.95rem;color:var(--muted);line-height:1.65}
.integ-card.dark .body{color:rgba(244,246,249,.78)}
.integ-card .link{
  margin-top:1.25rem;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  font-weight:600;
  font-size:.9rem;
  color:var(--navy);
}
.integ-card.dark .link{color:var(--gold-light)}
.integ-card .link:hover{gap:.5rem}

/* Testimonials */
.testimonial-grid{display:grid;gap:1.25rem}
@media(min-width:768px){.testimonial-grid{grid-template-columns:repeat(2,1fr)}}
.testimonial{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:2rem;
  border:1px solid var(--border-light);
  box-shadow:var(--shadow);
}
.testimonial blockquote{
  font-size:1.05rem;
  line-height:1.65;
  color:var(--ink);
}
.testimonial cite{
  display:block;
  margin-top:1.25rem;
  font-size:.85rem;
  font-style:normal;
  color:var(--muted);
  font-weight:600;
}

/* Partner strip */
.partner-strip{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1.25rem 2.5rem;
  align-items:center;
}
.partner-pill{
  font-family:var(--font-accent);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:.65rem 1.25rem;
  border-radius:9999px;
  border:1px solid rgba(255,255,255,.2);
  color:rgba(255,246,249,.85);
  background:rgba(255,255,255,.06);
}
.partner-pill--outline{
  border-color:rgba(10,22,40,.12);
  color:var(--navy);
  background:rgba(10,22,40,.04);
}

/* CTA band */
.cta-band{
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 100%);
  color:var(--white);
  padding:4rem 0;
  text-align:center;
}
.cta-band h2{font-size:clamp(1.75rem,3vw,2.5rem)}
.cta-band p{margin-top:1rem;max-width:36rem;margin-left:auto;margin-right:auto;color:rgba(244,246,249,.75)}
.cta-band .btn-row{margin-top:2rem;justify-content:center}

/* Project cards */
.project-card{
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--border-light);
  background:var(--white);
  box-shadow:var(--shadow);
  transition:transform .25s;
}
.project-card:hover{transform:translateY(-3px)}
.project-card .ph{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,var(--navy-soft),var(--navy));
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.35);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.project-card .body{padding:1.5rem}
.project-card h3{font-size:1.1rem}
.project-card p{margin-top:.5rem;font-size:.875rem;color:var(--muted)}

/* Map placeholder */
.map-placeholder{
  border-radius:var(--radius-lg);
  min-height:14rem;
  background:linear-gradient(180deg,var(--cream),var(--white));
  border:1px dashed var(--border-light);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:.9rem;
}

/* Forms */
.form-grid{display:grid;gap:1rem}
@media(min-width:768px){.form-grid{grid-template-columns:1fr 1fr}}
.field{display:flex;flex-direction:column;gap:.35rem}
.field span{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.field input,.field textarea,.field select{
  border:1px solid var(--border-light);
  border-radius:.65rem;
  padding:.75rem 1rem;
  font:inherit;
  background:var(--white);
}
.field textarea{min-height:8rem;resize:vertical}
.field-full{grid-column:1/-1}

/* Footer */
.footer{background:var(--navy);color:var(--white)}
.footer-inner{max-width:1200px;margin:0 auto;padding:3.5rem 1.25rem}
@media(min-width:1024px){.footer-inner{padding:4rem 2rem}}
.footer-grid{display:grid;gap:2.5rem}
@media(min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer img{height:3.25rem;width:auto}
.footer p.tagline{
  margin-top:1rem;
  font-size:.875rem;
  color:rgba(244,246,249,.65);
  max-width:22rem;
  line-height:1.65;
}
.footer h4{
  font-family:var(--font-display);
  font-size:.95rem;
  margin-bottom:1rem;
  color:var(--gold-light);
}
.footer ul{list-style:none;display:flex;flex-direction:column;gap:.5rem;font-size:.875rem;color:rgba(244,246,249,.78)}
.footer a{transition:color .2s}
.footer a:hover{color:var(--gold-light)}
.newsletter-form{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}
.newsletter-form input{
  flex:1;
  min-width:12rem;
  border:1px solid rgba(255,255,255,.2);
  border-radius:.65rem;
  padding:.65rem 1rem;
  background:rgba(255,255,255,.08);
  color:var(--white);
  font:inherit;
}
.newsletter-form input::placeholder{color:rgba(255,255,255,.45)}
.newsletter-form button{
  border:0;
  border-radius:.65rem;
  padding:.65rem 1.25rem;
  background:var(--gold);
  color:var(--navy);
  font-family:var(--font-accent);
  font-weight:700;
  font-size:.75rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  cursor:pointer;
}
.newsletter-form button:hover{filter:brightness(1.05)}
.footer-bottom{
  margin-top:2.5rem;
  padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  justify-content:space-between;
  font-size:.75rem;
  color:rgba(244,246,249,.45);
}

/* Insight / blog cards */
.insight-card{
  border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:1.75rem;
  background:var(--white);
  transition:box-shadow .25s;
}
.insight-card:hover{box-shadow:var(--shadow-lg)}
.insight-card .date{font-size:.75rem;color:var(--muted);font-weight:600}
.insight-card h3{margin-top:.5rem;font-size:1.15rem}

/* Vision list */
.vision-list{
  list-style:none;
  display:grid;
  gap:1rem;
  margin-top:2rem;
}
@media(min-width:768px){.vision-list{grid-template-columns:1fr 1fr}}
.vision-list li{
  display:flex;
  gap:.85rem;
  align-items:flex-start;
  padding:1.25rem;
  border-radius:var(--radius);
  background:var(--white);
  border:1px solid var(--border-light);
  box-shadow:var(--shadow);
}
.vision-list .dot{
  flex-shrink:0;
  width:.5rem;
  height:.5rem;
  border-radius:9999px;
  background:var(--gold);
  margin-top:.45rem;
}

/* SDG chips */
.sdg-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}
.sdg{
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.05em;
  padding:.4rem .75rem;
  border-radius:9999px;
  background:rgba(201,162,39,.12);
  color:var(--navy);
}

/* Contact split */
.contact-split{display:grid;gap:2rem}
@media(min-width:900px){.contact-split{grid-template-columns:1fr 1fr}}
.contact-box{
  border-radius:var(--radius-lg);
  padding:2rem;
  border:1px solid var(--border-light);
  background:var(--white);
  box-shadow:var(--shadow);
}
.contact-box.assoc{border-top:4px solid var(--navy)}
.contact-box.biz{border-top:4px solid var(--gold)}
.contact-box h3{font-size:1.2rem}
.contact-box p{margin-top:.75rem;color:var(--muted);font-size:.95rem}
.contact-actions{margin-top:1.25rem;display:flex;flex-wrap:wrap;gap:.5rem}

/* Reveal animation */
@media (prefers-reduced-motion:no-preference){
  html.js .reveal-on-scroll{
    opacity:0;
    transform:translateY(1rem);
    transition:opacity .65s cubic-bezier(.22,1,.36,1),transform .65s cubic-bezier(.22,1,.36,1);
  }
  html.js .reveal-on-scroll.is-visible{
    opacity:1;
    transform:none;
  }
  .hero-bg > img{
    transform-origin:50% 45%;
    animation:hero-drift 32s ease-in-out infinite alternate;
  }
}
@keyframes hero-drift{
  from{transform:scale(1)}
  to{transform:scale(1.05)}
}
@media (prefers-reduced-motion:reduce){
  .hero-bg > img{animation:none!important}
  html.js .reveal-on-scroll{opacity:1;transform:none}
}

/* Gateway (optional landing) */
.gateway{position:relative;min-height:100vh;overflow:hidden;background:var(--navy);color:var(--cream)}
.gateway-bg{position:absolute;inset:0;z-index:0}
.gateway-bg img{width:100%;height:100%;object-fit:cover}
.gateway-bg::after{content:"";position:absolute;inset:0;background:var(--gradient-hero)}
.gateway-inner{position:relative;z-index:2;display:flex;flex-direction:column;min-height:100vh;padding:2rem 1.25rem}
.gateway-top{display:flex;justify-content:space-between;align-items:center}
.gateway-top img{height:4rem;width:auto}
.gateway-hero{flex:1;display:flex;align-items:center;justify-content:center;padding:3rem 0}
.gateway-hero h1{font-size:clamp(2rem,5vw,3rem);color:var(--white);text-align:center;max-width:40rem}
.gateway-hero .lede{margin-top:1.5rem;text-align:center;color:rgba(244,246,249,.8);max-width:32rem;margin-left:auto;margin-right:auto}
.gateway-actions{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}
