/* Chariot Global — shared styles */

:root{
  --navy-deep:#0B1826;
  --navy:#101F33;
  --steel:#2C4A6E;
  --steel-light:#4A6C93;
  --gold:#B98B4E;
  --gold-light:#D3AD78;
  --bone:#F1EEE6;
  --bone-dim:#E8E3D8;
  --white:#FFFFFF;
  --ink:#1B1E22;
  --ink-soft:#525A62;
  --border:#DEDACE;
  --border-dark:rgba(255,255,255,.14);
  --radius:12px;
  --shadow-md:0 10px 30px rgba(11,24,38,.12);
  --section-pad:clamp(48px,7vw,92px);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--bone); color:var(--ink);
  font-family:'Inter',-apple-system,sans-serif;
  font-size:clamp(16px,.35vw + 15px,17px);
  line-height:1.65;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,.serif{
  font-family:'Lora',Georgia,serif; font-weight:700; color:var(--navy);
  line-height:1.18; margin:0 0 .5em; letter-spacing:-0.015em;
}
h1{font-size:clamp(2.2rem,3.6vw+1rem,3.6rem); font-weight:700;}
h2{font-size:clamp(1.55rem,1.8vw+1rem,2.2rem); font-weight:700;}
h3{font-size:clamp(1.08rem,.6vw+.9rem,1.22rem); margin-bottom:.4em; font-weight:600; letter-spacing:-0.008em;}
p{margin:0 0 1em; color:var(--ink-soft); max-width:64ch;}
a{color:var(--steel); text-decoration:none;}
img{max-width:100%; display:block;}
strong{color:var(--ink); font-weight:600;}

.container{max-width:1180px; margin:0 auto; padding:0 clamp(20px,4vw,40px);}

header.site{
  position:sticky; top:0; z-index:50; background:rgba(241,238,230,.96);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--border);
  border-top:3px solid var(--navy);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px clamp(20px,4vw,40px); max-width:1180px; margin:0 auto; position:relative;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none;}
.brand-group{display:flex; align-items:center; gap:16px; min-width:0;}
.brand-affiliation{
  display:flex; align-items:center; gap:7px; text-decoration:none;
  color:var(--ink-soft); opacity:.85;
}
.brand-affiliation:hover{opacity:1;}
.brand-affiliation img{height:14px; width:auto;}
.brand-affiliation span{font-size:.78rem; font-weight:600; color:var(--ink-soft); white-space:nowrap;}
.brand-affiliation-divider{width:1px; height:22px; background:var(--border); flex-shrink:0;}
.brand-mark{
  width:40px; height:40px; border-radius:50%; background:var(--white);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  box-shadow:0 0 0 1px var(--border);
}
.brand-mark img{width:100%; height:100%; object-fit:contain; padding:3px;}
.brand span{
  font-family:'Lora',serif; font-weight:700; font-size:1.12rem; color:var(--navy);
  letter-spacing:-0.01em;
}
nav.links{display:flex; gap:clamp(20px,2.2vw,34px); align-items:center;}
nav.links a{
  color:var(--ink); font-weight:600; font-size:.86rem; padding:8px 1px;
  border-bottom:2px solid transparent; letter-spacing:.02em;
  transition:color .15s ease, border-color .15s ease;
}
nav.links a:hover, nav.links a.active{color:var(--navy); border-color:var(--gold);}
.nav-cta{
  background:var(--navy) !important; color:var(--white) !important; padding:11px 24px !important;
  border-radius:3px; font-weight:700 !important; border-bottom:none !important;
  letter-spacing:.03em; box-shadow:0 1px 2px rgba(11,24,38,.15);
  transition:background .15s ease, transform .15s ease;
}
.nav-cta:hover{background:var(--steel) !important; transform:translateY(-1px);}
.nav-toggle{display:none;}
.nav-toggle-label{display:none; font-size:1.6rem; cursor:pointer; color:var(--navy); padding:4px;}

/* Nav dropdowns (Services / Verticals) */
.nav-dropdown{position:relative;}
.nav-dropdown-label{
  cursor:default; color:var(--ink); font-weight:600; font-size:.86rem;
  padding:8px 1px; border-bottom:2px solid transparent; display:inline-flex;
  align-items:center; gap:4px; user-select:none; letter-spacing:.02em;
  transition:color .15s ease, border-color .15s ease;
}
.nav-dropdown-label::after{content:'▾'; font-size:.6em; opacity:.6; margin-top:1px;}
.nav-dropdown-label.active{color:var(--navy); border-color:var(--gold);}
.nav-dropdown-menu{
  position:absolute; top:100%; left:50%; transform:translateX(-50%);
  background:var(--white); border:1px solid var(--border); border-radius:3px;
  border-top:2px solid var(--gold); box-shadow:var(--shadow-md);
  padding:6px; min-width:230px; display:none; flex-direction:column; gap:1px; z-index:60;
}
.nav-dropdown-menu a{
  padding:11px 14px !important; border-radius:2px; font-size:.88rem; border-bottom:none !important;
  font-weight:500 !important; letter-spacing:0 !important;
}
.nav-dropdown-menu a:hover{background:var(--bone-dim); color:var(--navy);}
.nav-dropdown-menu a.active{color:var(--navy); font-weight:600 !important; background:var(--bone-dim);}
.nav-dropdown:hover .nav-dropdown-menu{display:flex;}
.nav-dropdown:hover .nav-dropdown-label{color:var(--navy);}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:6px; font-weight:600; font-size:.97rem;
  border:1.5px solid transparent; cursor:pointer; white-space:normal; text-align:center;
  transition:background .15s ease, transform .15s ease;
}
.btn-primary{background:var(--gold); color:var(--navy-deep);}
.btn-primary:hover{background:var(--gold-light); transform:translateY(-1px);}
.btn-outline{border-color:var(--navy); color:var(--navy);}
.btn-outline:hover{background:rgba(16,31,51,.06);}
.btn-outline-light{border-color:rgba(255,255,255,.5); color:var(--white);}
.btn-outline-light:hover{background:rgba(255,255,255,.08);}

/* Hero (dark navy band) */
.hero{background:var(--navy); color:var(--white); padding:clamp(56px,8vw,100px) 0 clamp(48px,7vw,80px); position:relative; overflow:hidden;}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(32px,5vw,60px); align-items:center;}
.hero .eyebrow{
  color:var(--gold-light); font-weight:700; font-size:.78rem; margin-bottom:18px; display:block;
  text-transform:uppercase; letter-spacing:.1em;
}
.hero h1{color:var(--white);}
.hero p.lead{color:rgba(255,255,255,.78); font-size:1.08rem; max-width:52ch;}
.hero-actions{display:flex; gap:14px; margin-top:28px; flex-wrap:wrap;}

/* Hero world map graphic */
.hero-art{
  background:rgba(255,255,255,.03); border:1px solid var(--border-dark);
  border-radius:2px; overflow:hidden; aspect-ratio:4/3;
}
.network-graphic{width:100%; height:100%; display:block;}

/* Section rhythm */
.section{padding:var(--section-pad) 0;}
.section.dark{background:var(--navy); color:var(--white);}
.section.dark h2, .section.dark h3{color:var(--white);}
.section.dark p{color:rgba(255,255,255,.72);}
.section-head{max-width:680px; margin-bottom:clamp(28px,4vw,44px);}
.section-head .eyebrow{
  color:var(--gold); font-weight:700; font-size:.78rem; display:block; margin-bottom:12px;
  text-transform:uppercase; letter-spacing:.1em;
}
.section.dark .section-head .eyebrow{color:var(--gold-light);}

/* Two pillars */
.pillars{display:grid; grid-template-columns:1fr 1fr; gap:28px;}
.pillar{
  background:rgba(255,255,255,.03); border:1px solid var(--border-dark); border-radius:2px;
  border-left:3px solid var(--gold); padding:clamp(28px,3vw,40px);
  display:flex; flex-direction:column;
}
.pillar .btn-row{margin-top:auto; padding-top:20px;}
.pillar .num{color:var(--gold-light); font-family:'Inter',sans-serif; font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:14px; display:block;}

/* Country pill band */
.country-pills{display:flex; flex-wrap:wrap; gap:12px;}
.country-pill{
  background:rgba(255,255,255,.06); border:1px solid var(--border-dark); color:var(--white);
  padding:10px 20px; border-radius:100px; font-weight:500; font-size:.95rem;
}

/* Expertise grid */
.expertise-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.expertise-grid-4{grid-template-columns:repeat(4,1fr);}
.expertise-card{
  background:var(--white); border:1px solid var(--border); border-radius:2px;
  padding:30px 26px; border-top:3px solid var(--gold); transition:transform .18s ease, box-shadow .18s ease;
  display:flex; flex-direction:column; height:100%;
}
.expertise-card:hover{transform:translateY(-3px); box-shadow:var(--shadow-md);}
.expertise-card .btn{margin-top:auto; align-self:flex-start;}
.expertise-icon{
  width:46px; height:46px; border-radius:9px; background:rgba(16,31,51,.05);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.expertise-icon svg{width:22px; height:22px; color:var(--navy); stroke:currentColor;}

/* Vertical cards */
.vertical-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.vertical-card{
  background:var(--white); border:1px solid var(--border); border-radius:2px;
  border-top:3px solid var(--gold); overflow:hidden; display:flex; flex-direction:column;
  transition:transform .18s ease, box-shadow .18s ease;
}
.vertical-card:hover{transform:translateY(-3px); box-shadow:var(--shadow-md);}
.vertical-card .body{padding:30px 28px; flex:1; display:flex; flex-direction:column;}
.vertical-card .btn{margin-top:auto; align-self:flex-start;}

/* Clients / trusted-by */
.clients-row{display:flex; flex-wrap:wrap; gap:clamp(24px,4vw,48px); align-items:center;}
.client-name{font-family:'Lora',serif; font-weight:600; font-size:1.15rem; color:var(--steel);}

/* Logo marquee */
.logo-marquee-wrap{
  overflow:hidden; position:relative; width:100%;
  -webkit-mask-image:linear-gradient(90deg,transparent,black 6%,black 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,black 6%,black 94%,transparent);
}
.logo-marquee-track{
  display:flex; align-items:center; gap:28px; width:max-content;
  animation:marquee-scroll 32s linear infinite;
}
.logo-marquee-track:hover{animation-play-state:paused;}
.logo-chip{
  background:var(--white); border-radius:3px; padding:14px 30px;
  display:flex; align-items:center; justify-content:center;
  height:68px; box-shadow:0 1px 2px rgba(0,0,0,.08); flex-shrink:0;
}
.logo-chip img{max-height:34px; max-width:150px; object-fit:contain; display:block;}
@keyframes marquee-scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
@media (max-width:640px){
  .logo-chip{height:56px; padding:10px 20px;}
  .logo-chip img{max-height:26px; max-width:110px;}
}

/* BrickRed affiliation strip */
.affiliation-strip{
  background:var(--bone-dim); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:16px 0; text-align:center;
}
.affiliation-strip p{margin:0; max-width:none; font-size:.92rem; color:var(--ink-soft);}
.affiliation-strip a{color:var(--navy); font-weight:600;}

/* Vertical page hero (lighter, not full dark) */
.page-hero{padding:clamp(48px,6vw,76px) 0 clamp(28px,4vw,40px);}
.page-hero .eyebrow{
  color:var(--gold); font-weight:700; font-size:.78rem; display:block; margin-bottom:16px;
  text-transform:uppercase; letter-spacing:.1em;
}

/* Simple checklist */
.check-list{list-style:none; padding:0; margin:0; display:grid; gap:14px;}
.check-list li{display:flex; gap:12px; align-items:flex-start;}
.check-list .dot{
  width:8px; height:8px; border-radius:50%; background:var(--gold); margin-top:9px; flex-shrink:0;
}

/* Roles We Place grid */
.role-grid{display:grid; grid-template-columns:1fr 1fr; gap:36px;}
.role-group-title{
  font-family:'Inter',sans-serif; font-weight:700; font-size:.98rem; color:var(--steel);
  margin-bottom:14px; letter-spacing:-0.005em; text-transform:uppercase; font-size:.8rem; letter-spacing:.06em;
}
@media (max-width:640px){
  .role-grid{grid-template-columns:1fr;}
}

/* Coming-soon card (About page leadership placeholder) */
.coming-soon-card{
  background:var(--white); border:1px solid var(--border); border-radius:2px;
  border-top:3px solid var(--gold);
  padding:clamp(32px,5vw,48px); text-align:center; max-width:600px; margin:0 auto;
}
.coming-soon-card .badge{
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.04em;
  padding:5px 13px; border-radius:100px; background:var(--bone-dim); color:var(--steel); margin-bottom:14px;
}

/* Contact */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,50px);}
.form-row{margin-bottom:16px;}
.form-row label{display:block; font-weight:600; margin-bottom:6px; font-size:.92rem;}
.form-row input, .form-row textarea{
  width:100%; padding:12px 14px; border:1px solid var(--border); border-radius:8px;
  font-family:inherit; font-size:.97rem; background:var(--white);
}
.form-row input:focus, .form-row textarea:focus{outline:2px solid var(--steel); outline-offset:1px;}

/* Footer */
footer{
  background:var(--navy-deep); color:var(--white); padding:0 0 28px; margin-top:0;
}
.footer-cta{background:var(--gold); padding:clamp(32px,4vw,44px) 0;}
.footer-cta-inner{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;}
.footer-cta h2{color:var(--navy-deep); margin:0; font-size:clamp(1.4rem,1.8vw+1rem,2rem);}
.footer-cta .btn-primary{background:var(--navy-deep); color:var(--white);}
.footer-cta .btn-primary:hover{background:var(--navy); transform:translateY(-1px);}
footer .container{
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px;
  padding-top:clamp(44px,6vw,64px); padding-bottom:clamp(36px,5vw,48px);
}
footer .foot-brand{max-width:300px;}
footer .foot-brand .brand{margin-bottom:16px;}
footer .foot-brand .brand span{color:var(--white);}
footer .foot-brand p{color:rgba(255,255,255,.6); font-size:.9rem; margin:0; line-height:1.7;}
.foot-col{display:flex; flex-direction:column; gap:13px;}
.foot-label{
  font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-light); margin-bottom:6px;
}
footer .foot-col a{color:rgba(255,255,255,.8); font-size:.92rem; font-weight:450;}
footer .foot-col a:hover{color:var(--gold-light);}
footer .foot-bottom{
  padding-top:22px; border-top:1px solid rgba(255,255,255,.1);
  font-size:.8rem; color:rgba(255,255,255,.45); letter-spacing:.01em;
}

/* Responsive */
@media (max-width:900px){
  .hero-grid, .pillars, .contact-grid{grid-template-columns:1fr;}
  .expertise-grid, .vertical-grid{grid-template-columns:1fr 1fr;}
  footer .container{grid-template-columns:1fr 1fr; row-gap:36px;}
  footer .foot-brand{grid-column:1 / -1; max-width:none;}
  .nav-toggle-label{display:block;}
  nav.links{
    display:flex; flex-direction:column; align-items:stretch; gap:2px;
    position:absolute; top:100%; left:0; right:0; background:var(--bone);
    border-bottom:1px solid var(--border); padding:8px clamp(20px,4vw,40px) 20px;
    max-height:0; overflow:hidden; transition:max-height .25s ease; box-shadow:var(--shadow-md);
  }
  nav.links a{width:100%; padding:13px 0; border-bottom:1px solid var(--border) !important;}
  nav.links a.nav-cta{width:auto; margin-top:10px; border-bottom:none !important; text-align:center;}
  .nav-toggle:checked ~ nav.links{max-height:600px;}
  .nav-dropdown-menu{
    position:static; display:flex !important; box-shadow:none; border:none;
    padding:0 0 6px 16px; background:transparent; min-width:0;
  }
  .nav-dropdown-label{
    padding:13px 0 4px; border-bottom:none; font-weight:700; font-size:.82rem;
    letter-spacing:.04em; text-transform:uppercase; color:var(--steel);
  }
  .nav-dropdown-label::after{display:none;}
  .nav-dropdown-menu a{padding:10px 0 !important; border-bottom:none !important;}
}
@media (max-width:640px){
  .expertise-grid, .vertical-grid{grid-template-columns:1fr;}
  .hero-actions .btn, .btn{width:100%;}
  .hero-actions{flex-direction:column;}
  footer .container{grid-template-columns:1fr; gap:32px;}
  .footer-cta-inner{flex-direction:column; align-items:flex-start;}
  .footer-cta .btn{width:100%;}
  .brand-affiliation{display:none;}
  .hero h1{font-size:1.75rem; line-height:1.25;}
  .hero p.lead{font-size:1rem;}
  .country-pills{gap:8px;}
  .country-pill{padding:8px 16px; font-size:.88rem;}
}
