/* ---------- Design tokens ---------- */
:root{
  --charcoal-950:#1E1C24;
  --charcoal-900:#2B2833;
  --charcoal-800:#3C3844;
  --charcoal-700:#4E4A59;
  --green:#8FBE3A;
  --green-deep:#6F9A2A;
  --blue:#6EC1E4;
  --blue-deep:#4FA5CB;
  --ink:#28242E;
  --muted:#615C6C;
  --muted-light:#8A8496;
  --bg:#FBFBF9;
  --bg-alt:#F2F1EC;
  --white:#FFFFFF;
  --line:#E6E4DD;
  --radius:16px;
  --radius-sm:10px;
  --shadow-sm: 0 1px 2px rgba(30,28,36,0.06), 0 1px 1px rgba(30,28,36,0.04);
  --shadow-md: 0 12px 32px -12px rgba(30,28,36,0.20);
  --shadow-lg: 0 24px 60px -20px rgba(20,18,26,0.40);
  --grad-accent: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  --ff-head: "Sora", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--ff-body);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--ff-head); margin:0; line-height:1.15; letter-spacing:-0.01em; color:var(--ink); }
p{ margin:0; }
ul{ list-style:none; margin:0; padding:0; }
.wrap{ max-width:1160px; margin:0 auto; padding:0 28px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 26px; border-radius:999px; font-weight:600; font-size:0.98rem;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--grad-accent); color:#1E1C24; box-shadow:var(--shadow-md); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 36px -12px rgba(143,190,58,0.45); }
.btn-ghost{ background:rgba(255,255,255,0.08); color:#fff; border:1.5px solid rgba(255,255,255,0.55); backdrop-filter:blur(4px); }
.btn-ghost:hover{ background:rgba(255,255,255,0.18); border-color:#fff; }
.btn-large{ padding:16px 34px; font-size:1.05rem; margin-top:8px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,251,249,0.85);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:78px; }
.brand{ display:flex; align-items:center; }
.brand-logo{ height:34px; width:auto; }

.main-nav{ display:flex; align-items:center; gap:34px; }
.main-nav a{ font-weight:500; font-size:0.96rem; color:var(--muted); transition:color .15s ease; }
.main-nav a:hover{ color:var(--ink); }
.main-nav a.nav-cta{ color:#1E1C24; background:var(--grad-accent); padding:10px 20px; border-radius:999px; font-weight:700; }
.main-nav a.nav-cta:hover{ filter:brightness(1.06); }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; padding:8px; cursor:pointer; }
.nav-toggle span{ width:22px; height:2px; background:var(--ink); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }

.mobile-nav{ display:none; flex-direction:column; padding:10px 28px 22px; gap:4px; border-top:1px solid var(--line); background:var(--bg); }
.mobile-nav a{ padding:12px 4px; font-weight:500; color:var(--muted); border-bottom:1px solid var(--line); }
.mobile-nav a.nav-cta{ margin-top:10px; text-align:center; background:var(--grad-accent); color:#1E1C24; border-radius:999px; border:0; padding:12px; font-weight:700; }

body.nav-open .mobile-nav{ display:flex; }
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); }

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:640px; display:flex; align-items:flex-end; overflow:hidden; }
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-img{ width:100%; height:100%; object-fit:cover; object-position:center top; }
.hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, rgba(30,28,36,0.94) 0%, rgba(30,28,36,0.72) 32%, rgba(30,28,36,0.28) 62%, rgba(30,28,36,0.15) 100%);
}
.hero-inner{ position:relative; z-index:1; padding:120px 0 64px; max-width:760px; }
.eyebrow{
  display:inline-block; font-size:0.82rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--green-deep); margin-bottom:18px;
}
.eyebrow-light{ color:var(--green); }
.hero h1{ font-size:clamp(2.1rem, 4.4vw, 3.25rem); font-weight:700; color:#fff; }
.grad-text{
  background:var(--grad-accent); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-lede{ margin-top:22px; font-size:1.1rem; line-height:1.6; color:#E4E2ED; max-width:580px; }
.hero-actions{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }

/* ---------- Industry strip ---------- */
.strip{ padding:30px 0; border-bottom:1px solid var(--line); background:var(--white); }
.strip-label{ color:var(--muted); font-size:0.96rem; margin-bottom:16px; max-width:640px; }
.strip-tags{ display:flex; flex-wrap:wrap; gap:10px; }
.strip-tags li{ font-size:0.83rem; font-weight:600; color:var(--charcoal-800); background:var(--bg-alt); padding:8px 16px; border-radius:999px; }

/* ---------- Sections ---------- */
.section{ padding:96px 0; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(1.7rem, 3.2vw, 2.3rem); margin-top:10px; }
.section-lede{ margin-top:16px; font-size:1.04rem; line-height:1.6; color:var(--muted); }
.light-lede{ color:#C9C5D6; }

.section-dark{ background:var(--charcoal-900); color:#fff; position:relative; }
.section-dark::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(520px 320px at 92% 0%, rgba(111,193,228,0.14), transparent 65%),
             radial-gradient(520px 320px at 4% 100%, rgba(143,190,58,0.14), transparent 65%);
  pointer-events:none;
}
.section-dark .wrap{ position:relative; }
h2.light{ color:#fff; }

/* ---------- Services ---------- */
.service-group{ margin-bottom:56px; }
.service-group:last-child{ margin-bottom:0; }
.service-group-title{
  display:flex; align-items:center; gap:12px; font-size:1.15rem; font-weight:700; margin-bottom:24px;
}
.dot{ width:10px; height:10px; border-radius:50%; flex:none; }
.dot-green{ background:var(--green); }
.dot-blue{ background:var(--blue); }

.card-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 24px; box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent; }
.card-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:12px; margin-bottom:16px;
  background:var(--bg-alt); color:var(--green-deep);
}
.service-group-advisory .card-icon{ color:var(--blue-deep); }
.card-icon svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.card h4{ font-size:1rem; margin-bottom:8px; line-height:1.3; }
.card p{ color:var(--muted); font-size:0.92rem; line-height:1.55; }

/* ---------- Industries ---------- */
.industry-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.industry-card{
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius); padding:24px; backdrop-filter:blur(6px);
}
.industry-card h4{ color:#fff; font-size:1.02rem; margin-bottom:10px; }
.industry-card p{ color:#C9C5D6; font-size:0.92rem; line-height:1.58; }

/* ---------- About ---------- */
.about-inner{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:60px; align-items:center; }
.about-copy p{ color:var(--muted); font-size:1.03rem; line-height:1.65; margin-bottom:16px; }
.about-copy p:last-child{ margin-bottom:0; }
.about-copy h2{ margin:10px 0 22px; font-size:clamp(1.8rem, 3.4vw, 2.4rem); }

.about-visual{ display:flex; align-items:center; justify-content:center; }
.tag-cloud{ display:flex; flex-wrap:wrap; gap:12px; max-width:320px; }
.tag-cloud span{
  font-size:0.86rem; font-weight:600; padding:10px 18px; border-radius:999px;
  background:var(--bg-alt); color:var(--charcoal-800); border:1px solid var(--line);
}
.tag-cloud span:nth-child(2n){ background:rgba(143,190,58,0.12); color:var(--green-deep); border-color:rgba(143,190,58,0.3); }
.tag-cloud span:nth-child(3n){ background:rgba(110,193,228,0.14); color:var(--blue-deep); border-color:rgba(110,193,228,0.35); }

/* ---------- Contact ---------- */
.contact{ text-align:left; }
.contact-inner{
  max-width:1120px; display:grid; grid-template-columns:1.05fr 0.95fr; gap:48px; align-items:center;
}
.contact h2{ margin:10px 0 14px; }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:36px 0; }
.contact-card{
  display:flex; gap:16px; align-items:flex-start;
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius); padding:22px;
}
.contact-icon{
  flex:none; width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:rgba(143,190,58,0.16); color:var(--green);
}
.contact-icon svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.contact-card h4{ color:#fff; font-size:0.95rem; margin-bottom:6px; }
.contact-card p{ color:#C9C5D6; font-size:0.92rem; line-height:1.55; }
.contact-card a{ color:var(--blue); font-weight:600; }
.contact-card a:hover{ color:var(--green); }

.contact-map{
  position:relative; width:100%; aspect-ratio:4/5; border-radius:var(--radius);
  overflow:hidden; border:1px solid rgba(255,255,255,0.12); box-shadow:var(--shadow-lg);
  background:var(--charcoal-800);
}
.contact-map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; filter:grayscale(0.15) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--charcoal-950); padding:32px 0; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.footer-logo{ height:22px; width:auto; }
.footer-copy{ color:#8A8496; font-size:0.85rem; }

/* ---------- Hero load-in (CSS-only, no scroll dependency) ---------- */
.hero-inner > *{ opacity:0; animation: fadeUp .7s ease forwards; }
.hero-inner .eyebrow{ animation-delay:.05s; }
.hero-inner h1{ animation-delay:.14s; }
.hero-inner .hero-lede{ animation-delay:.26s; }
.hero-inner .hero-actions{ animation-delay:.38s; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .hero-inner > *{ opacity:1; animation:none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .card-grid{ grid-template-columns:repeat(2, 1fr); }
  .industry-grid{ grid-template-columns:repeat(2, 1fr); }
  .about-inner{ grid-template-columns:1fr; gap:36px; }
  .about-visual{ order:-1; }
  .contact-inner{ grid-template-columns:1fr; gap:32px; }
  .contact-map{ aspect-ratio:16/10; }
  .contact-grid{ grid-template-columns:1fr; }
}

@media (max-width: 760px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .hero{ min-height:560px; }
  .hero-inner{ padding:100px 0 48px; }
  .section{ padding:68px 0; }
  .card-grid{ grid-template-columns:1fr; }
  .industry-grid{ grid-template-columns:1fr; }
}

@media (max-width: 480px){
  .wrap{ padding:0 20px; }
  .hero-actions .btn{ width:100%; }
  .hero-actions{ flex-direction:column; }
}
