:root{
  --navy:#0b2342;
  --navy2:#061b39;
  --steel:#223a5b;
  --accent:#2f63a2;
  --accent2:#3a6ea5;
  --ink:#1f2937;
  --muted:#6b7280;
  --bg:#ffffff;
  --panel:#f4f5f8;
  --line:#e2e6ee;
  --card:#ffffff;
  --shadow: 0 14px 28px rgba(10, 27, 51, .10);
  --shadow2: 0 10px 22px rgba(10, 27, 51, .08);
  --radius: 14px;
  --radius2: 12px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 20px;}

/* Header */
.header{
  position:sticky; top:0; z-index:20;
  background: rgba(11, 35, 66, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  color:#fff;
}
.brand{
  display:flex; flex-direction:column; gap:2px;
}
.brand .name{
  font-family:"Playfair Display", Georgia, serif;
  font-weight:600;
  font-size:22px;
  letter-spacing:.2px;
}
.brand .tag{
  font-size:11px;
  color: rgba(255,255,255,.70);
}
.navlinks{
  display:flex; gap:16px; align-items:center;
}
.navlinks a{
  text-decoration:none;
  color: rgba(255,255,255,.85);
  font-weight:600;
  font-size:13px;
  padding:8px 10px;
  border-radius:10px;
}
.navlinks a:hover{background:rgba(255,255,255,.08)}
.navlinks .cta{
  background: rgba(58,110,165,.85);
  color:#fff;
  padding:10px 14px;
  border-radius:12px;
  box-shadow: 0 10px 18px rgba(0,0,0,.20);
}
.burger{
  display:none;
  width:44px;height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color:#fff;
}
.burger svg{width:20px;height:20px; fill:#fff; opacity:.95}

/* Mobile menu */
.mobile-menu{
  display:none;
  padding: 0 0 14px;
}
.mobile-menu a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  text-decoration:none;
  color: rgba(255,255,255,.90);
  font-weight:600;
}
.mobile-menu a:hover{background:rgba(255,255,255,.08)}

/* Hero */
.hero{
  background:
    radial-gradient(900px 420px at 70% 40%, rgba(58,110,165,.35), rgba(58,110,165,0) 60%),
    linear-gradient(180deg, #0b2342 0%, #071b36 100%);
  padding:46px 0 26px;
  color:#fff;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:32px;
  align-items:center;
}
.hero h1{
  font-family:"Playfair Display", Georgia, serif;
  font-size:44px;
  line-height:1.08;
  margin:0 0 14px;
}
.hero p{
  margin:0 0 18px;
  color: rgba(255,255,255,.80);
  max-width: 56ch;
}
.hero .btnrow{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px;}
.btn{
  height:38px;
  padding:0 16px;
  border-radius: 10px;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn.primary{background: rgba(58,110,165,.92); color:#fff; box-shadow: 0 16px 28px rgba(0,0,0,.22);}
.btn.primary:hover{transform: translateY(-1px); box-shadow: 0 18px 34px rgba(0,0,0,.26);}
.btn.secondary{background: rgba(255,255,255,.10); color:#fff; border-color: rgba(255,255,255,.20);}
.btn.secondary:hover{transform: translateY(-1px); background: rgba(255,255,255,.14);}
.hero-photo{
  justify-self:end;
  width:min(420px, 100%);
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 26px 60px rgba(0,0,0,.28);
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
}
.hero-photo img{width:100%; height:100%; object-fit:cover; display:block;}

/* Logo strip */
.logo-strip{
  background: #f2f2f6;
  border-top: 1px solid #e9ecf2;
  border-bottom: 1px solid #e9ecf2;
}
.logo-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 34px;
  padding: 14px 0;
  flex-wrap:wrap;
}
.logo-pill{
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 10px 20px rgba(10,27,51,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  height: 52px;
}
.logo-pill img{
  height: 30px;
  width:auto;
  display:block;
  filter: saturate(.95);
}

/* Sections */
.section{
  padding: 42px 0;
  background: var(--bg);
}
.section.panel{
  background: var(--panel);
}
.section-title{
  text-align:center;
  font-family:"Playfair Display", Georgia, serif;
  font-size:30px;
  margin:0;
  color:#2b3b57;
}
.divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin: 0 auto 22px;
}
.divider:before,.divider:after{
  content:"";
  height:1px;
  width: min(320px, 26vw);
  background: var(--line);
}
.grid4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  margin-top: 22px;
}
.card{
  background: var(--card);
  border: 1px solid #e6e8ee;
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 18px 16px 16px;
  text-align:center;
  min-height: 170px;
}
.card .icon{
  width:56px;height:56px;
  margin: 0 auto 10px;
  display:grid; place-items:center;
}
.card .icon svg{
  width:46px;height:46px;
  stroke:#244f86;
  fill:none;
  stroke-width:2.2;
}
.card h3{margin:6px 0 10px; font-size:14px; font-weight:900; color:#2b3b57;}
.card p{margin:0; font-size:12px; color:#7b8794; line-height:1.35;}

.case-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  margin-top: 22px;
}
.case{
  background:#fff;
  border: 1px solid #e6e8ee;
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow2);
}
.case .media{height: 240px; background: linear-gradient(135deg,#cfd7e6,#e7eef9);}
.case .media img{width:100%; height:100%; object-fit:cover; display:block;}
.case .label{
  background: #273b5d;
  color:#fff;
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.case .label strong{font-size:13px;}
.case .label a{
  text-decoration:none;
  background: rgba(58,110,165,.92);
  color:#fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size:12px;
  font-weight:800;
}

/* Footer CTA */
.footer-cta{
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(58,110,165,.26), rgba(58,110,165,0) 60%),
    linear-gradient(180deg, #0b2342 0%, #071b36 100%);
  padding: 44px 0 22px;
  color:#fff;
  text-align:center;
}
.footer-cta h2{
  font-family:"Playfair Display", Georgia, serif;
  margin:0;
  font-size:30px;
}
.footer-cta p{margin:10px 0 16px; color: rgba(255,255,255,.76);}
.footer-row{
  margin-top:20px;
  padding-top:14px;
  border-top: 1px solid rgba(255,255,255,.18);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.footer-links{display:flex; gap:14px; flex-wrap:wrap; justify-content:center;}
.footer-links a{color: rgba(255,255,255,.78); text-decoration:none; font-size:12px; font-weight:600;}
.footer-links a:hover{color:#fff;}
.social{display:flex; gap:10px; align-items:center;}
.social a{
  width:30px;height:30px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.social svg{width:16px;height:16px; fill:#fff; opacity:.92;}

/* Forms */
.form{
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.field{display:grid; gap:6px; margin-bottom:12px; text-align:left;}
label{font-size:12px; font-weight:700; color:#2b3b57;}
input, textarea{
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dfe3ea;
  outline: none;
}
input:focus, textarea:focus{border-color: rgba(58,110,165,.70); box-shadow: 0 0 0 3px rgba(58,110,165,.18);}
textarea{min-height: 120px; resize: vertical;}

/* Responsive */
@media (max-width: 980px){
  .navlinks{display:none}
  .burger{display:inline-flex; align-items:center; justify-content:center}
  .mobile-menu{display:none}
  .mobile-menu.open{display:block}
  .hero-grid{grid-template-columns:1fr; text-align:left}
  .hero-photo{justify-self:start; max-width: 420px}
  .grid4{grid-template-columns: 1fr 1fr}
  .case-grid{grid-template-columns: 1fr}
}
@media (max-width: 560px){
  .hero h1{font-size:34px}
  .grid4{grid-template-columns: 1fr}
  .logo-row{gap: 14px}
  .logo-pill{height: 48px; padding: 8px 12px}
  .logo-pill img{height: 26px}
}


/* ===== Homepage mockup-perfect styling ===== */
.logo-row--home .logo-pill{
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  height: 40px;
}
.logo-row--home .logo-pill img{
  height: 22px;
  filter: grayscale(1) contrast(1.05);
  opacity: .60;
}

/* unified light lavender body from consulting down */
.home-body{
  background: radial-gradient(1100px 520px at 50% 0%, rgba(210,200,232,.55), rgba(244,245,248,0) 60%),
              linear-gradient(180deg, #f5f4fb 0%, #f2f2f7 40%, #f6f6fa 100%);
  padding-bottom: 0;
}

.home-section{
  padding: 36px 0 10px;
}
.section-heading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  margin: 0 auto 18px;
}
.section-heading h2{
  font-family:"Playfair Display", Georgia, serif;
  font-weight:600;
  font-size:30px;
  color:#2b3b57;
  margin:0;
  position:relative;
  padding-bottom: 10px;
}
.section-heading h2:after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:2px;
  width: 110px;
  height: 2px;
  background: rgba(58,110,165,.55);
  border-radius: 999px;
}
.section-heading .line{
  height:1px;
  width: min(360px, 28vw);
  background: rgba(43,59,87,.18);
}

.card-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 10px;
}

.service-card{
  background: rgba(240, 238, 248, .92);
  border: 1px solid rgba(43,59,87,.10);
  border-radius: 10px;
  box-shadow: 0 12px 20px rgba(18, 33, 61, .08);
  padding: 18px 16px 16px;
  text-align:center;
  min-height: 170px;
}
.service-icon{
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(43,59,87,.10);
  box-shadow: 0 10px 16px rgba(18,33,61,.06);
  margin: 0 auto 12px;
  display:grid;
  place-items:center;
}
.service-icon svg{
  width: 44px; height: 44px;
  stroke: #233a5c;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: #2b3b57;
}
.service-card p{
  margin: 0;
  font-size: 12px;
  color: #7b8794;
  line-height: 1.35;
}

.home-case-grid{
  padding: 0 10px 18px;
}
.case{
  border-radius: 10px;
}
.case .media{height: 260px;}
.case-bar{
  background:#273b5d;
  color:#fff;
  padding: 12px 14px;
  text-align:center;
}
.case-title{
  font-weight:800;
  letter-spacing:.2px;
}
.case-action{
  padding: 12px 14px 16px;
  background: rgba(240, 238, 248, .92);
  text-align:center;
}
.case-btn{
  display:inline-flex;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(58,110,165,.92);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  align-items:center;
  justify-content:center;
  box-shadow: 0 12px 20px rgba(18,33,61,.12);
}
.case-btn:hover{transform: translateY(-1px);}

/* tighter footer CTA to match mockup */
.footer-cta h2{font-size:32px}
.footer-cta .btn.primary{height:40px; border-radius:10px}

/* Responsive */
@media (max-width: 980px){
  .card-grid{grid-template-columns: 1fr 1fr; padding:0;}
  .section-heading .line{width: 22vw;}
}
@media (max-width: 560px){
  .card-grid{grid-template-columns: 1fr;}
  .section-heading h2{font-size:26px}
  .section-heading .line{width: 18vw;}
}


/* ===== Exact Mockup Hero ===== */
.hero-exact{
  background: url('img/hero_exact.png') center center / cover no-repeat;
  min-height: 520px;
  display:flex;
  align-items:center;
  position:relative;
}
.hero-overlay-content{
  position:relative;
  z-index:2;
}
.hero-text{
  max-width: 560px;
  color:#ffffff;
  padding-top:40px;
}
.hero-text h1{
  font-family:"Playfair Display", Georgia, serif;
  font-size:48px;
  font-weight:600;
  line-height:1.2;
  margin:0 0 20px;
}
.hero-text p{
  font-size:18px;
  line-height:1.6;
  margin-bottom:28px;
  color:rgba(255,255,255,0.9);
}
.hero-exact .btn.primary{
  background:#3a6ea5;
  height:44px;
  padding:0 22px;
  border-radius:8px;
}
.hero-exact .btn.ghost{
  border:1px solid rgba(255,255,255,0.7);
  color:#fff;
  height:44px;
  padding:0 22px;
  border-radius:8px;
}

/* Responsive hero */
@media (max-width: 900px){
  .hero-exact{
    min-height:460px;
    background-position: 70% center;
  }
  .hero-text h1{font-size:36px}
}
@media (max-width: 600px){
  .hero-exact{
    min-height:420px;
    background-position: 75% center;
  }
  .hero-text{max-width:100%}
  .hero-text h1{font-size:30px}
  }


/* ===== Header exact mockup styling ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 27, 54, .92); /* deep navy */
  backdrop-filter: blur(10px);
  border-bottom: none;
}
.nav{
  padding: 18px 0 16px;
  align-items: flex-start;
}
.brand .name{
  font-family:"Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 34px;
  letter-spacing: .3px;
  line-height: 1.05;
}
.brand .tag{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  letter-spacing: .2px;
}
.navlinks{
  gap: 26px;
  padding-top: 10px;
}
.navlinks a{
  background: transparent !important;
  padding: 0;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.90);
}
.navlinks a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255,255,255,.55);
}
/* Make "Contact Me" look like a normal link to match mockup */
.navlinks .cta{
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  color: rgba(255,255,255,.90);
}

/* Mobile header */
.burger{
  margin-top: 6px;
  width: 44px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.mobile-menu{
  padding: 6px 0 16px;
}
.mobile-menu a{
  font-size: 14px;
}

/* Hero spacing under header (exact mockup feel) */
.hero-exact{
  padding-top: 0;
  margin-top: -6px;
}



.hero-composed .btn.primary{
  height: 40px;
  border-radius: 8px;
  padding: 0 18px;
  background: rgba(58,110,165,.92);
}
.hero-composed .btn.secondary{
  height: 40px;
  border-radius: 8px;
  padding: 0 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.24);
  color:#fff;
}
/* Mobile hero */
@media (max-width: 980px){
  }

/* Remove older hero-exact visual if present */
.hero-exact{ background: none !important; min-height:auto !important; }


/* ===== Composed hero using mockup assets (linkable, no overlap) ===== */
.hero-composed{
  background:
    linear-gradient(90deg, rgba(7,27,54,.92) 0%, rgba(7,27,54,.62) 48%, rgba(7,27,54,.18) 70%, rgba(7,27,54,0) 86%),
    url('img/hero_bg_mockup.jpg') left center / cover no-repeat,
    linear-gradient(180deg, #0b2342 0%, #071b36 100%);
  min-height: 520px;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding: 50px 0 34px;
  color:#fff;
}
.hero-grid2{
  display:grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 26px;
  align-items:end;
}
.hero-copy h1{
  font-family:"Playfair Display", Georgia, serif;
  font-weight:600;
  font-size: 46px;
  line-height: 1.14;
  margin: 0 0 14px;
}
.hero-copy p{
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
}
.hero-actions{
  display:flex;
  gap: 14px;
}
.hero-actions .btn.primary{
  background: rgba(58,110,165,.92);
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}
.hero-actions .btn.secondary{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.26);
  color:#fff;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}
.hero-portrait{
  justify-self:end;
  width: min(520px, 100%);
  margin-right: -10px;
  margin-bottom: -6px;
  filter: drop-shadow(0 28px 55px rgba(0,0,0,.28));
}
.hero-portrait img{
  width: 100%;
  height: auto;
  display:block;
}

/* Mobile */
@media (max-width: 980px){
  .hero-composed{
    background:
      linear-gradient(180deg, rgba(7,27,54,.90) 0%, rgba(7,27,54,.60) 58%, rgba(7,27,54,.18) 100%),
      url('img/hero_bg_mockup_mobile.jpg') center center / cover no-repeat,
      linear-gradient(180deg, #0b2342 0%, #071b36 100%);
    padding: 40px 0 22px;
    min-height: 600px;
  }
  .hero-grid2{grid-template-columns: 1fr; align-items:start}
  .hero-copy h1{font-size: 34px}
  .hero-actions{flex-wrap:wrap}
  .hero-portrait{justify-self:start; max-width: 440px; margin-right:0; margin-bottom:0;}
}


/* ===== Exact homepage mockup hero ===== */
.container{
  max-width: 1180px;
}

.hero-exact-mockup{
  background:
    linear-gradient(90deg, rgba(7,27,54,.92) 0%, rgba(7,27,54,.66) 46%, rgba(7,27,54,.22) 70%, rgba(7,27,54,0) 86%),
    url('img/hero_bg_exact.jpg') left center / cover no-repeat,
    linear-gradient(180deg, #0b2342 0%, #071b36 100%);
  min-height: 560px;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding: 62px 0 38px;
  color:#fff;
}
.hero-exact-grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  align-items:end;
}
.hero-exact-copy h1{
  font-family:"Playfair Display", Georgia, serif;
  font-weight:600;
  font-size: 52px;
  line-height: 1.10;
  margin: 0 0 18px;
}
.hero-exact-copy p{
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,.82);
}
.hero-exact-actions{
  display:flex;
  gap: 14px;
}
.hero-exact-primary{
  background: rgba(58,110,165,.92);
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}
.hero-exact-secondary{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.26);
  color:#fff;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}
.hero-exact-portrait{
  justify-self:end;
  width: min(560px, 100%);
  margin-right: -18px;
  margin-bottom: -10px;
  filter: drop-shadow(0 28px 55px rgba(0,0,0,.26));
}
.hero-exact-portrait img{width:100%; height:auto; display:block;}

/* Article featured image style */
.article-hero-img{
  width:100%;
  border-radius: 12px;
  border: 1px solid #e6e8ee;
  box-shadow: 0 12px 20px rgba(18,33,61,.08);
  margin: 14px 0 18px;
  display:block;
}

/* Responsive */
@media (max-width: 980px){
  .container{max-width: 960px;}
  .hero-exact-mockup{
    background:
      linear-gradient(180deg, rgba(7,27,54,.90) 0%, rgba(7,27,54,.62) 58%, rgba(7,27,54,.18) 100%),
      url('img/hero_bg_exact.jpg') center center / cover no-repeat,
      linear-gradient(180deg, #0b2342 0%, #071b36 100%);
    padding: 44px 0 26px;
    min-height: 620px;
  }
  .hero-exact-grid{grid-template-columns: 1fr; align-items:start}
  .hero-exact-copy h1{font-size: 36px}
  .hero-exact-actions{flex-wrap:wrap}
  .hero-exact-portrait{justify-self:start; max-width: 460px; margin-right:0; margin-bottom:0;}
}


/* ===== Clean hero (no hero images) ===== */
.hero-clean{
  background: radial-gradient(900px 520px at 30% 20%, rgba(58,110,165,.35), rgba(7,27,54,0) 60%),
              linear-gradient(180deg, #0b2342 0%, #071b36 100%);
  color:#fff;
  min-height: 360px;
  display:flex;
  align-items:center;
  padding: 90px 0 70px 0;

  position: relative;

  overflow: hidden;
}
.hero-clean-wrap{display:block;}
.hero-clean-copy{max-width: 720px;}
.hero-clean-copy h1{
  font-family:"Playfair Display", Georgia, serif;
  font-weight:600;
  font-size: 52px;
  line-height: 1.10;
  margin: 0 0 18px;
}
.hero-clean-copy p{
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,.82);
}
.hero-clean-actions{display:flex; gap:14px; flex-wrap:wrap;}
.hero-clean-primary{
  background: rgba(58,110,165,.92);
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}
.hero-clean-secondary{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.26);
  color:#fff;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

/* Ensure old hero variants don't show background images */
.hero-exact-mockup, .hero-composed, .hero-mockup, .hero-exact{
  background-image: none !important;
}
.hero-exact-portrait, .hero-portrait, .hero-mockup-portrait{
  display:none !important;
}

@media (max-width: 980px){
  .hero-clean{min-height: 460px; padding: 52px 0 34px;}
  .hero-clean-copy h1{font-size: 36px}
}


/* ===== SEO/UX Enhancements ===== */
.breadcrumbs{
  font-size: 13px;
  color: #6a778a;
  margin: 18px 0 10px;
}
.breadcrumbs a{ color: inherit; text-decoration: none; }
.breadcrumbs a:hover{ text-decoration: underline; }

.author-box{
  margin-top: 26px;
  padding: 18px 18px;
  border: 1px solid #e6e8ee;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
}
.author-box h3{ margin: 0 0 6px; font-size: 16px; }
.author-box p{ margin: 0; color:#516073; line-height: 1.7; font-size: 14px; }

.related-links{
  margin-top: 22px;
  padding: 18px 18px;
  border-radius: 16px;
  background: #f7f8fb;
  border: 1px solid #e6e8ee;
}
.related-links h3{ margin: 0 0 10px; font-size: 16px; }
.related-links ul{ margin: 0; padding-left: 18px; }
.related-links li{ margin: 8px 0; }
.related-links a{ text-decoration: none; }
.related-links a:hover{ text-decoration: underline; }

.faq{
  max-width: 980px;
  margin: 0 auto;
}
.faq details{
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
  box-shadow: 0 10px 22px rgba(18,33,61,.06);
}
.faq summary{
  cursor: pointer;
  font-weight: 800;
  color: #0b2342;
}
.faq p{
  margin: 10px 0 0;
  color:#516073;
  line-height: 1.7;
}


/* ===== Authority Pages Design System ===== */
.page-hero{
  background: linear-gradient(180deg, rgba(11,35,66,0.96) 0%, rgba(7,27,54,0.96) 100%);
  color:#fff;
  padding: 56px 0 34px;
}
.page-hero .kicker{
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .82;
  margin: 0 0 10px;
}
.page-hero h1{
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.15;
}
.page-hero p{
  margin: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.7;
  max-width: 900px;
}
.page-hero .hero-actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn.ghost{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.25);
  color:#fff;
}
.grid-2{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}
.card{
  background:#fff;
  border:1px solid #e6e8ee;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(18,33,61,.06);
}
.card h3{ margin: 0 0 10px; color:#0b2342; }
.card p{ margin: 0; color:#516073; line-height: 1.7; }
.card ul{ margin: 0; padding-left: 18px; color:#21324a; }
.card li{ margin: 8px 0; }
.pill-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background:#f0f4ff;
  border: 1px solid #dfe7ff;
  color:#1b3a6b;
  font-weight: 800;
}
.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.stat{
  background:#f7f8fb;
  border:1px solid #e6e8ee;
  border-radius: 16px;
  padding: 14px;
}
.stat .num{
  font-weight: 900;
  font-size: 20px;
  color:#0b2342;
}
.stat .lbl{
  margin-top: 4px;
  font-size: 12px;
  color:#6a778a;
}
.callout{
  background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
  border:1px solid #e6e8ee;
  border-radius: 18px;
  padding: 18px;
}
.callout h2{ margin:0 0 10px; }
.callout p{ margin:0; color:#516073; line-height:1.7; }
.steps{
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li{
  counter-increment: step;
  margin: 12px 0;
  padding: 14px 14px 14px 54px;
  border:1px solid #e6e8ee;
  border-radius: 16px;
  background:#fff;
  position: relative;
  box-shadow: 0 10px 22px rgba(18,33,61,.05);
}
.steps li::before{
  content: counter(step);
  position:absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background:#0b2342;
  color:#fff;
}
@media (max-width: 980px){
  .page-hero{ padding: 42px 0 26px; }
  .page-hero h1{ font-size: 34px; }
  .grid-2{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: 1fr; }
}

}



.hero-clean-media{
  position:absolute;
  right:-20px;
  bottom:0;
  top:auto;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  z-index:1;
  pointer-events:none;
}


.hero-clean-media img{
  height:520px;
  width:auto;
  object-fit:contain;
  transform:translateX(40px);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
}


/* ensure text stays readable over the image */
.hero-clean::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(1200px 520px at 32% 55%, rgba(0,0,0,.30) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
  pointer-events:none;
}

@media (max-width: 980px){
  
.hero-clean-media{
  position:absolute;
  right:-20px;
  bottom:0;
  top:auto;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  z-index:1;
  pointer-events:none;
}

  .hero-clean-wrap{ flex-direction: column; align-items:flex-start; }
  
.hero-clean-media img{
  height:520px;
  width:auto;
  object-fit:contain;
  transform:translateX(40px);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
}

  .hero-clean::after{ display:none; }
}
@media (max-width: 520px){
  
.hero-clean-media img{
  height:520px;
  width:auto;
  object-fit:contain;
  transform:translateX(40px);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
}

}


/* --- Hero layout: Image 1 aligned (text left, portrait right, no overlap) --- */
.hero-clean{
  position: relative;
  overflow: hidden;
}
.hero-clean .hero-clean-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 520px;
  align-items: center;
}
.hero-clean .hero-clean-copy{
  flex: 1 1 58%;
  max-width: 720px;
}
.hero-clean .hero-clean-media{
  flex: 0 0 42%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}


.hero-clean .hero-clean-media img{
  max-width: 100%;
  height: 540px; /* larger portrait removes top/bottom dead space */
  width: auto;
  display:block;
  object-fit:cover;
  object-position: center top; /* trims extra headroom */
  transform: translateY(10px); /* pushes portrait down to remove top gap */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
  filter: drop-shadow(0 22px 48px rgba(0,0,0,.28));
}



/* Make sure hero background stays premium and readable (without covering layout) */
.hero-clean::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(900px 520px at 28% 55%, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 60%);
}

/* Responsive: stack, keep portrait below text */
@media (max-width: 980px){
  .hero-clean .hero-clean-wrap{ flex-direction: column; align-items:flex-start; gap: 18px; }
  .hero-clean .hero-clean-copy{ max-width: 100%; }
  .hero-clean .hero-clean-media{ width: 100%; justify-content: flex-end; }
  

.hero-clean .hero-clean-media img{
  max-width: 100%;
  height: 600px; /* larger portrait removes top/bottom dead space */
  width: auto;
  display:block;
  object-fit:cover;
  object-position: center top; /* trims extra headroom */
  transform: translateY(30px); /* pushes portrait down to remove top gap */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
  filter: drop-shadow(0 22px 48px rgba(0,0,0,.28));
}


  .hero-clean::after{ display:none; }
}
@media (max-width: 520px){
  .hero-clean .hero-clean-media{ justify-content:center; }
  

.hero-clean .hero-clean-media img{
  max-width: 100%;
  height: 600px; /* larger portrait removes top/bottom dead space */
  width: auto;
  display:block;
  object-fit:cover;
  object-position: center top; /* trims extra headroom */
  transform: translateY(30px); /* pushes portrait down to remove top gap */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 28%);
  filter: drop-shadow(0 22px 48px rgba(0,0,0,.28));
}


}




/* subtle readability gradient behind hero text */
.hero-clean .hero-clean-copy{
  position: relative;
}
.hero-clean .hero-clean-copy:before{
  content:"";
  position:absolute;
  inset:-40px -40px -40px -60px;
  background: radial-gradient(circle at left center, rgba(0,0,0,0.35), rgba(0,0,0,0));
  z-index:-1;
  pointer-events:none;
}


/* --- Mobile optimization (hero + layout) --- */
@media (max-width: 820px){
  .hero-clean{ padding: 70px 0 46px 0; }
  .hero-clean .hero-clean-wrap{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    min-height: auto;
  }
  .hero-clean .hero-clean-copy{ max-width: 100%; }
  /* tighten hero typography */
  .hero-clean h1, .hero-clean .hero-title{
    font-size: clamp(34px, 7vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.01em;
  }
  .hero-clean p, .hero-clean .hero-subtitle{
    font-size: 16px;
    line-height: 1.6;
    max-width: 46ch;
  }
  /* buttons wrap nicely */
  .hero-clean .hero-actions,
  .hero-clean .hero-clean-copy .hero-actions{
    display:flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-clean .btn{ padding: 12px 16px; }
  /* portrait as a clean block below text (no weird fade/crop) */
  .hero-clean .hero-clean-media{
    width: 100%;
    position: relative;
    right: auto;
    bottom: auto;
    top: auto;
    display: flex;
    justify-content: center;
    margin-top: 6px;
  }
  .hero-clean .hero-clean-media img{
    height: 320px;
    max-width: min(520px, 100%);
    width: auto;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
    opacity: 0.98;
  }
  /* soften background behind the portrait for a premium look */
  .hero-clean::after{
    display:block;
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background: radial-gradient(900px 520px at 35% 30%, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 62%);
  }
}

@media (max-width: 520px){
  .hero-clean{ padding: 58px 0 38px 0; }
  .hero-clean .hero-clean-media img{ height: 260px; }
  /* keep CTAs full width on small screens */
  .hero-clean .btn{
    width: auto;
  }
}

/* global mobile nav spacing polish (non-breaking) */
@media (max-width: 820px){
  header .nav a{ padding: 10px 10px; }
  .container{ padding-left: 18px; padding-right: 18px; }
}

