/* ============================================================
   FinOrion Advisors & Consultants LLP — site stylesheet
   Palette: navy / gold / cream, matching the firm profile deck
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  --paper: #FFFFFF;
  --cream: #FAF6EC;
  --ink: #16233A;
  --navy: #0F2A4A;
  --navy-2: #17385E;
  --gold: #B8912F;
  --gold-light: #D9B85B;
  --gold-pale: #F1E6C8;
  --crimson: #A32A24;
  --line: #E7E1CE;
  --muted: #5B6B7A;
  --shadow: 0 4px 24px rgba(15,42,74,0.07);
  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family:'IBM Plex Sans', system-ui, sans-serif;
  font-size:16px;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.container{
  width:100%;
  max-width: var(--max);
  margin-inline:auto;
  padding-inline: 24px;
}

/* ---------- typography ---------- */
h1,h2,h3,h4{
  font-family:'Fraunces', serif;
  font-weight:600;
  color: var(--navy);
  line-height:1.15;
  text-wrap: balance;
  margin: 0 0 14px;
}
h1{ font-size: clamp(2rem, 4vw, 2.9rem); font-weight:700; }
h1.display{ font-size: clamp(2.6rem, 5.4vw, 4rem); font-weight:700; letter-spacing:-0.01em; }
h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight:700; }
h3{ font-size: 1.25rem; }
p{ margin:0 0 14px; color: var(--ink); }
.lede{ font-size:1.1rem; color: var(--muted); max-width: 60ch; }

.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.72rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color: var(--gold);
  font-weight:500;
  display:block;
  margin-bottom:10px;
}
.rule-gold{
  width:64px; height:3px; background: var(--gold); border:none;
  margin: 0 0 22px;
}
.two-tone{ width:100%; height:3px; display:flex; }
.two-tone span{ flex:1; }
.two-tone .g{ background: var(--gold); }
.two-tone .n{ background: var(--navy); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight:600;
  font-size:0.95rem;
  text-decoration:none;
  border: 1px solid transparent;
  transition: opacity .15s ease, transform .15s ease;
}
.btn:active{ transform: scale(0.98); }
.btn-primary{ background: var(--navy); color:#fff; box-shadow: 0 10px 24px rgba(15,42,74,0.22); }
.btn-primary:hover{ opacity:0.9; }
.btn-ghost{ background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover{ background: var(--navy); color:#fff; }
.btn-gold{ background: var(--gold); color:#fff; box-shadow: 0 10px 24px rgba(184,145,47,0.28); }
.btn-gold:hover{ opacity:0.9; }

/* ---------- header / nav ---------- */
header.site{
  position: sticky; top:0; z-index:50;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--line);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-block: 14px;
  gap: 20px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.brand img{ width:42px; height:42px; }
.brand-text{ line-height:1.2; }
.brand-text .fn{
  font-family:'Fraunces', serif; font-weight:700; font-size:1.05rem; color: var(--navy);
}
.brand-text .fn em{ color: var(--gold); font-style:normal; }
.brand-text .tag{
  font-family:'IBM Plex Mono', monospace; font-size:0.6rem; letter-spacing:0.08em;
  text-transform:uppercase; color: var(--muted);
}
.nav-right{ display:flex; align-items:center; gap:26px; }
nav.main{ display:flex; align-items:center; gap: 28px; }
nav.main a{
  text-decoration:none; color: var(--ink); font-weight:500; font-size:0.94rem;
  padding-block:6px; border-bottom:2px solid transparent;
}
nav.main a:hover, nav.main a.active{ color: var(--navy); border-color: var(--gold); }

/* ---------- get in touch widget (always visible, outside collapsible nav) ---------- */
.git{ position:relative; }
.git-toggle{ padding:9px 18px; font-size:0.9rem; cursor:pointer; border:1px solid transparent; }
.git-menu{
  position:absolute; top:calc(100% + 8px); right:0;
  background: var(--paper); border:1px solid var(--line); border-radius:12px;
  box-shadow: var(--shadow);
  min-width:190px; padding:8px;
  display:none; flex-direction:column; gap:2px;
  z-index:70;
}
.git-menu.open{ display:flex; }
.git-menu a{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:8px;
  font-size:0.92rem; font-weight:500; color: var(--ink); text-decoration:none;
}
.git-menu a svg{ width:18px; height:18px; color: var(--gold); flex:none; }
.git-menu a:hover{ background: var(--cream); }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle svg{ width:26px; height:26px; color: var(--navy); }

@media (max-width: 860px){
  nav.main{
    position:fixed; inset: 64px 0 0 0; background: var(--paper);
    backdrop-filter:none; -webkit-backdrop-filter:none;
    flex-direction:column; align-items:flex-start; gap:0;
    padding: 10px 24px 24px;
    transform: translateY(-8px);
    opacity:0; pointer-events:none;
    transition: opacity .18s ease, transform .18s ease;
    border-top: 1px solid var(--line);
    z-index: 60;
  }
  nav.main.open{ opacity:1; pointer-events:auto; transform:none; }
  nav.main a{ width:100%; padding-block:14px; border-bottom:1px solid var(--line); }
  nav.main .btn{ margin-top:14px; }
  .nav-toggle{ display:block; }
  .nav-right{ gap:10px; }
  .git-toggle{ padding:9px 12px; font-size:0.82rem; white-space:nowrap; }
  .brand-text .fn{ font-size:0.92rem; }
}
@media (max-width: 380px){
  .git-toggle{ padding:8px 10px; font-size:0.76rem; }
}

/* ---------- hero ---------- */
.hero{
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  padding-block: 64px 56px;
  text-align:center;
}
.hero .crest{ width:96px; margin-inline:auto 0; margin: 0 auto 18px; }
.hero .tagline{
  font-size:0.85rem; letter-spacing:0.12em; text-transform:uppercase;
  color: var(--navy); font-weight:500; margin-bottom:22px; opacity:0.85;
}
.hero h1{ margin-inline:auto; max-width: 16ch; }
.hero .lede{ margin-inline:auto; margin-bottom: 30px; }
.hero-ctas{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- bold photo hero (home) ---------- */
.hero-photo{
  position:relative;
  isolation:isolate;
  color:#fff;
  padding-block: 110px 92px;
  background:
    linear-gradient(120deg, rgba(10,26,48,0.94) 0%, rgba(13,34,61,0.86) 42%, rgba(15,42,74,0.62) 100%),
    url('../img/hero-skyline.jpg') center 32% / cover no-repeat,
    linear-gradient(160deg, #0F2A4A 0%, #17385E 60%, #0B1E36 100%);
  background-blend-mode: normal, normal, normal;
}
.hero-photo .tagline{ color: var(--gold-light); opacity:1; text-align:left; }
.hero-photo .eyebrow{ color: var(--gold-light); }
.hero-photo h1{ color:#fff; margin-inline:0; max-width:17ch; text-align:left; text-wrap:balance; }
.hero-photo .lede{ color:#D7DEE7; margin-inline:0; text-align:left; max-width:52ch; font-size:1.15rem; }
.hero-photo .hero-ctas{ justify-content:flex-start; }
.hero-photo .btn-ghost{ color:#fff; border-color: rgba(255,255,255,0.55); }
.hero-photo .btn-ghost:hover{ background:#fff; color: var(--navy); border-color:#fff; }
.hero-photo .container{ position:relative; z-index:2; text-align:left; }

/* ---------- hero slider ---------- */
.hero-slider{ position:relative; }
.hero-slide{ display:none; }
.hero-slide.is-active{ display:block; animation: heroFade .5s ease; }
@keyframes heroFade{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.check-list{
  list-style:none; padding:0; margin: 6px 0 30px;
  display:grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; max-width: 640px;
}
.check-list li{
  position:relative; padding-left: 28px; color:#E7ECF1; font-size:0.98rem;
}
.check-list li::before{
  content:""; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:50%; background: var(--gold);
}
.check-list li::after{
  content:""; position:absolute; left:6px; top:7px; width:7px; height:4px;
  border-left:2px solid var(--navy); border-bottom:2px solid var(--navy); transform:rotate(-45deg);
}
@media (max-width:620px){ .check-list{ grid-template-columns:1fr; } }
.hero-dots{ display:flex; gap:9px; margin-top:38px; }
.hero-dots .dot{
  width:9px; height:9px; border-radius:50%; background: rgba(255,255,255,0.35);
  border:none; padding:0; cursor:pointer; transition: background .2s ease, transform .2s ease;
}
.hero-dots .dot.is-active{ background: var(--gold-light); transform:scale(1.3); }

.stats-strip{
  position:relative; z-index:3;
  margin-top: -64px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(15,42,74,0.16);
  display:grid;
  grid-template-columns: repeat(3, 1fr);
}
.stats-strip .stat{
  text-align:center;
  padding: 26px 12px;
  border-right: 1px solid var(--line);
}
.stats-strip .stat:last-child{ border-right:none; }
.stats-strip .num{
  font-family:'Fraunces', serif; font-weight:700; font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--navy); line-height:1;
}
.stats-strip .label{
  margin-top:6px;
  font-family:'IBM Plex Mono', monospace; font-size:0.66rem; letter-spacing:0.08em;
  text-transform:uppercase; color: var(--muted);
}
@media (max-width: 700px){
  .stats-strip{ grid-template-columns: repeat(3, 1fr); }
  .stats-strip .stat{ padding: 20px 6px; }
  .stats-strip .num{ font-size:1.35rem; }
  .stats-strip .label{ font-size:0.58rem; }
}
@media (max-width: 460px){
  .stats-strip{ grid-template-columns: 1fr; }
  .stats-strip .stat{ border-right:none !important; border-bottom:1px solid var(--line); }
  .stats-strip .stat:last-child{ border-bottom:none; }
}

.mission-band{
  background: var(--navy);
  color: #F4EFE0;
  border-radius: 14px;
  padding: 30px 34px;
  margin-block: 40px;
}
.mission-band .eyebrow{ color: var(--gold-light); }
.mission-band p{
  color:#F4EFE0; font-family:'Fraunces', serif; font-style:italic; font-size:1.15rem; margin:0;
  text-wrap:balance;
}

/* ---------- sections ---------- */
section{ padding-block: 56px; }
section.alt{ background: var(--cream); }
.section-head{ margin-bottom: 34px; max-width: 70ch; }
.section-head.center{ margin-inline:auto; text-align:center; }

.grid{ display:grid; gap: 22px; }
.grid-2{ grid-template-columns: 1fr 1fr; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  padding: 26px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover{ box-shadow: 0 16px 36px rgba(15,42,74,0.12); transform: translateY(-3px); }
.card h3{ margin-bottom:8px; }
.card p{ color: var(--muted); margin:0; font-size:0.94rem; }

.icon-tile{
  width:46px; height:46px;
  border-radius:10px;
  background: var(--gold-pale);
  color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 14px;
}
.icon-tile svg{ width:24px; height:24px; }

/* service list */
.service-cat{ margin-bottom: 30px; scroll-margin-top: 96px; }
.service-cat .eyebrow{ margin-bottom: 6px; }
.service-items{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin-top:18px; }
@media (max-width: 700px){ .service-items{ grid-template-columns: 1fr; } }
.service-item dt{
  font-weight:700; color: var(--navy); font-size:0.98rem; margin-bottom:3px;
}
.service-item dd{ margin:0; color: var(--muted); font-size:0.92rem; }

/* team */
.team-card{
  display:flex; gap:22px; align-items:flex-start;
  background: var(--paper); border:1px solid var(--line); border-top:4px solid var(--gold); border-radius:16px; padding:28px;
}
.team-card img{
  width:104px; height:104px; border-radius:50%; object-fit:cover; flex:none;
  border: 3px solid var(--gold-pale);
}
.team-card .role{
  font-family:'IBM Plex Mono', monospace; font-size:0.68rem; letter-spacing:0.1em;
  text-transform:uppercase; color: var(--gold); margin-bottom:4px; display:block;
}
.team-card .postnoms{ color: var(--muted); font-size:0.85rem; margin-bottom:10px; }
@media (max-width:600px){ .team-card{ flex-direction:column; align-items:center; text-align:center; } }

/* stat / value strip */
.values-list{ list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.values-list li{
  display:flex; align-items:flex-start; gap:10px; color: var(--ink); font-size:0.95rem;
}
.values-list li::before{
  content:""; width:7px; height:7px; border-radius:50%; background: var(--gold);
  margin-top:8px; flex:none;
}

/* client category cards */
.client-card{
  background: var(--cream); border-radius:14px; padding:28px; text-align:center;
  border-top: 3px solid var(--navy);
  transition: box-shadow .2s ease, transform .2s ease;
}
.client-card:hover{ box-shadow: 0 16px 36px rgba(15,42,74,0.1); transform: translateY(-3px); }
.client-card .icon-tile{ margin-inline:auto; }

/* footer */
footer.site{
  background: var(--navy); color:#D9D4C2;
  padding-block: 46px 26px;
  margin-top: 20px;
}
footer.site .foot-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
  margin-bottom: 30px;
}
@media (max-width:700px){ footer.site .foot-grid{ grid-template-columns: 1fr; } }
footer.site h4{
  color:#fff; font-family:'IBM Plex Mono', monospace; text-transform:uppercase;
  font-size:0.72rem; letter-spacing:0.1em; margin-bottom:14px; font-weight:500;
}
footer.site .brand-text .fn{ color:#fff; }
footer.site .brand-text .tag{ color:#B7C2CE; }
footer.site p, footer.site a{ color:#D9D4C2; font-size:0.9rem; text-decoration:none; }
footer.site a:hover{ color: var(--gold-light); }
footer.site .foot-bottom{
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
  font-size:0.8rem; color:#9BA8B4; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

/* contact page */
.contact-card{
  background: var(--cream); border-radius:14px; padding:26px;
  border-top: 3px solid var(--gold);
}
.map-card{
  background: var(--cream);
  border-radius: 14px;
  border-top: 3px solid var(--gold);
  overflow: hidden;
  min-height: 260px;
}
.map-card iframe{
  display:block; width:100%; height:100%; min-height:260px; border:0;
}
.contact-card h3{ margin-bottom:14px; }
.contact-row{ display:flex; gap:10px; align-items:flex-start; margin-bottom:12px; font-size:0.94rem; }
.contact-row svg{ width:18px; height:18px; color: var(--gold); flex:none; margin-top:2px; }

/* page hero (interior pages) */
.page-hero{
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  padding-block: 56px 46px;
  text-align:center;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow{ display:flex; justify-content:center; }
.page-hero h1{ margin-inline:auto; font-size: clamp(2.2rem, 4.6vw, 3.1rem); }
.page-hero .rule-two{
  width:64px; height:4px; margin:0 auto 20px; display:flex; border-radius:2px; overflow:hidden;
}
.page-hero .rule-two span{ flex:1; }
.page-hero .rule-two .g{ background: var(--gold); }
.page-hero .rule-two .n{ background: var(--navy); }

.breadcrumb{
  font-family:'IBM Plex Mono', monospace; font-size:0.72rem; color: var(--muted);
  letter-spacing:0.05em;
}
