@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root{
  --navy:#263C4C;
  --navy-dark:#1a2b38;
  --navy-soft:rgba(38,60,76,0.06);
  --teal:#0CC0DF;
  --teal-dim:rgba(12,192,223,0.10);
  --ink:#263C4C;
  --muted:#5b7180;
  --line:#e3e2df;
  --paper:#f7f7f5;
  --white:#ffffff;
  --f-disp:'Space Grotesk',sans-serif;
  --f-body:'Plus Jakarta Sans',sans-serif;
  --f-mono:'JetBrains Mono',monospace;
  --header-h:96px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

html{scroll-behavior:smooth}

body{
  font-family:var(--f-body);
  color:var(--ink);
  background-color:var(--paper);
  background-image:url('../images/fs-web-2.png');
  background-repeat:repeat;
  background-size:1400px auto;
  background-attachment:fixed;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  padding-top:var(--header-h);
}

a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;display:block}

.wrap{width:100%;margin:0 auto;padding:0 48px}
@media(max-width:820px){.wrap{padding:0 24px}}
@media(max-width:480px){.wrap{padding:0 18px}}

h1,h2,h3,h4,h5,h6{font-family:var(--f-disp);letter-spacing:-0.01em;color:var(--navy)}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-family:var(--f-disp);
  font-weight:600;
  font-size:14px;
  letter-spacing:.03em;
  text-transform:uppercase;
  padding:14px 30px;
  border-radius:8px;
  cursor:pointer;
  transition:all .2s ease;
  border:1.5px solid transparent;
}
.btn-primary{background:var(--navy);color:var(--white);}
.btn-primary:hover{background:var(--navy-dark);transform:translateY(-1px)}
.btn-outline{background:transparent;color:var(--navy);border-color:var(--navy);}
.btn-outline:hover{background:var(--navy);color:var(--white)}
.btn-row{display:flex;gap:14px;flex-wrap:wrap}

/* ---------- Header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;height:var(--header-h);
  display:flex;align-items:center;
  background-color:var(--paper);
  background-image:url('../images/fs-web-2.png');
  background-repeat:repeat;
  background-size:1400px auto;
  background-attachment:fixed;
}
.site-header::after{
  content:'';position:absolute;left:48px;right:48px;bottom:0;height:2px;background:var(--line);z-index:-1;
}
@media(max-width:820px){.site-header::after{left:24px;right:24px}}
@media(max-width:480px){.site-header::after{left:18px;right:18px}}
.header-inner{position:relative;height:var(--header-h);display:flex;align-items:center;justify-content:space-between;padding:0 48px;gap:24px;width:100%}
.logo img{height:56px;width:auto}
.main-nav{position:absolute;left:50%;top:0;height:100%;transform:translateX(-50%);display:flex;align-items:center}
.main-nav ul{display:flex;align-items:stretch;gap:32px;height:100%}
.main-nav ul li{display:flex;align-items:center}
.main-nav a{font-size:14px;font-weight:600;color:var(--navy);white-space:nowrap}
.main-nav a:hover{color:var(--teal)}

/* Desktop dropdown: Industries Served */
.nav-dropdown{position:relative}
.nav-dropdown-btn{
  display:flex;align-items:center;gap:5px;background:none;border:none;cursor:pointer;
  font-family:var(--f-body);font-size:14px;font-weight:600;color:var(--navy);padding:0;
}
.nav-dropdown-btn:hover{color:var(--teal)}
.nav-dropdown .caret{font-size:9px;transition:transform .2s;display:inline-block}
.nav-dropdown:hover .caret,.nav-dropdown.open .caret{transform:rotate(180deg)}
.nav-dropdown-menu{
  position:absolute;top:100%;left:50%;transform:translateX(-50%);
  padding-top:10px;opacity:0;visibility:hidden;
  transition:opacity .18s ease,visibility .18s ease;z-index:200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{opacity:1;visibility:visible}
.nav-dropdown-menu-inner{
  background:var(--white);border:1px solid var(--line);border-radius:12px;
  padding:10px;min-width:230px;box-shadow:0 16px 40px rgba(38,60,76,.18);
  display:grid;grid-template-columns:1fr;gap:1px;
}
.nav-dropdown-menu-inner a{
  display:block;padding:9px 12px;border-radius:8px;
  font-size:13.5px;font-weight:500;color:var(--navy);white-space:nowrap;
}
.nav-dropdown-menu-inner a:hover{background:var(--navy-soft);color:var(--teal)}
.nav-right{display:flex;align-items:center;gap:24px}
.nav-toggle{
  display:none;flex-direction:column;justify-content:center;align-items:flex-start;
  width:32px;height:32px;background:none;border:none;cursor:pointer;padding:0;
}
.nav-toggle span{display:block;width:100%;height:2px;background:var(--navy);transition:all .25s}
.nav-toggle span+span{margin-top:6px}
.site-header.menu-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.site-header.menu-open .nav-toggle span:nth-child(2){opacity:0}
.site-header.menu-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.mobile-panel{
  position:absolute;top:100%;left:0;right:0;
  background-color:var(--paper);
  background-image:url('../images/fs-web-2.png');
  background-repeat:repeat;background-size:1400px auto;background-attachment:fixed;
  max-height:0;overflow:hidden;transition:max-height .3s ease;
}
.site-header.menu-open .mobile-panel{border-bottom:1px solid var(--line)}
.mobile-panel ul{display:flex;flex-direction:column;padding:8px 24px 0}
.mobile-panel ul > li > a{display:block;padding:14px 0;font-family:var(--f-disp);font-weight:600;font-size:15px;color:var(--navy);border-bottom:1px solid var(--line)}
.mobile-panel .btn{display:block;text-align:center;margin:20px 24px 24px}

/* Mobile accordion: Industries Served */
.mp-dropdown{border-bottom:1px solid var(--line)}
.mp-dropdown-btn{
  display:flex;align-items:center;justify-content:space-between;width:100%;
  padding:14px 0;background:none;border:none;cursor:pointer;
  font-family:var(--f-disp);font-weight:600;font-size:15px;color:var(--navy);
}
.mp-dropdown .caret{font-size:11px;color:var(--teal);transition:transform .25s}
.mp-dropdown.open .caret{transform:rotate(180deg)}
.mp-dropdown-menu{max-height:0;overflow:hidden;transition:max-height .3s ease}
.mp-dropdown.open .mp-dropdown-menu{max-height:520px}
.mp-dropdown-menu a{display:block;padding:11px 0 11px 14px;font-family:var(--f-body);font-weight:500;font-size:14px;color:var(--navy)}
.mp-dropdown-menu a:first-child{padding-top:2px}
.mp-dropdown-menu a:last-child{padding-bottom:14px}

@media(max-width:820px){
  .main-nav{display:none}
  .nav-toggle{display:flex}
  .nav-cta-btn{display:none}
  :root{--header-h:80px}
  .header-inner{padding:0 24px}
  .logo img{height:42px}
  .site-header.menu-open .mobile-panel{max-height:500px}
}
@media(max-width:380px){
  .header-inner{padding:0 16px;gap:12px}
  .logo img{height:32px}
  .nav-toggle{width:26px;height:26px}
}

/* ---------- Hero ---------- */
.hero{padding-top:64px;padding-bottom:72px;padding-left:104px;text-align:left}
@media(max-width:1100px){.hero{padding-left:64px}}
@media(max-width:820px){.hero{padding-left:24px}}
.hero-eyebrow{
  display:inline-block;font-family:var(--f-mono);font-size:14.5px;font-weight:400;
  color:var(--navy);background:transparent;border:1.5px solid var(--navy);
  padding:14px 22px;border-radius:3px;margin-bottom:44px;
}
.hero-eyebrow:hover{background:var(--navy-soft)}
.hero-eyebrow:hover{border-color:var(--teal)}
.hero h1{
  font-family:var(--f-disp);text-transform:uppercase;font-size:clamp(34px,5.6vw,64px);
  font-weight:700;line-height:1.05;letter-spacing:-0.01em;max-width:880px;margin:0 0 28px;
}
.hero p.lead{
  font-family:var(--f-mono);font-size:16.5px;line-height:1.75;color:var(--muted);
  max-width:640px;margin:0 0 40px;
}
.hero .lead-line1{white-space:nowrap}
@media(max-width:680px){.hero .lead-line1{white-space:normal}}
.hero .btn-row{justify-content:flex-start;margin-bottom:8px}
.hero .btn{border-radius:6px;font-family:var(--f-mono);letter-spacing:.02em}

/* ---------- Sections ---------- */
.section{padding:64px 0}
.section-tight{padding:40px 0}
.eyebrow{font-family:var(--f-disp);font-size:15px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--teal);text-align:center;margin-bottom:12px}
.section-title{text-align:center;font-size:clamp(24px,3vw,36px);font-weight:700;max-width:760px;margin:0 auto 12px}
.section-desc{text-align:center;color:var(--muted);max-width:640px;margin:0 auto 44px;font-size:16px}

/* ---------- Feature cards ---------- */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
@media(max-width:1200px){.grid-5{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.grid-4{grid-template-columns:repeat(2,1fr)}.grid-5{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.grid-4,.grid-2,.grid-5{grid-template-columns:1fr}}

.feature-card{
  background:var(--white);border:1px solid var(--line);border-radius:16px;
  padding:26px 22px;transition:box-shadow .2s, transform .2s;
}
.feature-card:hover{box-shadow:0 12px 30px rgba(38,60,76,0.08);transform:translateY(-3px)}
.feature-card h3{font-size:16.5px;margin-bottom:10px;line-height:1.25}
.feature-card p{color:var(--muted);font-size:13.5px;line-height:1.6}

.feature-card-sm{
  background:var(--white);border:1px solid var(--line);border-radius:14px;
  padding:22px 20px;
}
.feature-card-sm h4{font-size:15px;margin-bottom:8px;font-family:var(--f-disp)}
.feature-card-sm p{color:var(--muted);font-size:13.5px}
.grid-note{text-align:center;color:var(--muted);font-size:13px;font-style:italic;margin-top:24px}

/* ---------- Team ---------- */
.team-photos{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:36px}
.team-photos img{border-radius:14px;aspect-ratio:1/1;object-fit:cover}
@media(max-width:760px){.team-photos{grid-template-columns:repeat(2,1fr)}}
.center-cta{text-align:center}

/* ---------- Industries ---------- */
.industries-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}
@media(max-width:760px){.industries-grid{grid-template-columns:repeat(2,1fr)}}
.industry-pill{
  background:var(--white);border:1px solid var(--line);border-radius:12px;
  padding:20px 16px;text-align:center;font-family:var(--f-disp);font-weight:600;
  font-size:13px;letter-spacing:.03em;color:var(--navy);
}
.industries-note{text-align:center;color:var(--muted);font-size:14px;max-width:560px;margin:0 auto}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--navy);border-radius:24px;padding:56px 40px;text-align:center;
  margin:0 48px;color:var(--white);
}
.cta-band h2{color:var(--white);font-size:clamp(22px,3vw,32px);margin-bottom:14px}
.cta-band p{color:rgba(255,255,255,.75);max-width:560px;margin:0 auto 28px}
.cta-band .btn-row{justify-content:center}
.cta-band .btn-outline{color:var(--white);border-color:rgba(255,255,255,.5)}
.cta-band .btn-outline:hover{background:var(--white);color:var(--navy)}
.cta-band .btn-primary{background:var(--teal);color:var(--navy-dark)}
.cta-band .btn-primary:hover{background:#0ae0ff}

/* ---------- Page hero CTA row (industry pages) ---------- */
.page-hero .btn-row{justify-content:center;margin-top:20px}

/* ---------- Industry split (image + text) ---------- */
.industry-split{display:flex;align-items:center;gap:52px}
.industry-split.reverse{flex-direction:row-reverse}
.industry-split-img{flex:0 0 44%}
.industry-split-img img{width:100%;border-radius:18px;display:block;box-shadow:0 20px 40px rgba(38,60,76,.12)}
.industry-split-content{flex:1;min-width:0}
.industry-split-content h2{font-size:clamp(22px,2.8vw,30px);margin-bottom:16px}
.industry-split-content p{color:var(--muted);font-size:15.5px;line-height:1.75;margin-bottom:22px}
@media(max-width:820px){
  .industry-split,.industry-split.reverse{flex-direction:column}
  .industry-split-img{flex:none;width:100%}
}

/* ---------- Stat band ---------- */
.stat-band{
  background:var(--navy);border-radius:24px;margin:0 48px;padding:56px 40px;
  text-align:center;color:var(--white);
}
.stat-band .stat-num{font-family:var(--f-disp);font-size:clamp(40px,6vw,68px);font-weight:700;color:var(--teal);line-height:1;margin-bottom:14px}
.stat-band h3{color:var(--white);font-size:clamp(18px,2.2vw,24px);max-width:680px;margin:0 auto 14px;font-weight:600}
.stat-band p{color:rgba(255,255,255,.72);max-width:600px;margin:0 auto 26px;font-size:15px}
.stat-band .btn-row{justify-content:center}
.stat-band .btn-outline{color:var(--white);border-color:rgba(255,255,255,.5)}
.stat-band .btn-outline:hover{background:var(--white);color:var(--navy)}
@media(max-width:480px){.stat-band{margin:0 18px;padding:40px 24px}}

/* ---------- Checklist section ---------- */
.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:640px){.check-grid{grid-template-columns:1fr}}
.check-item{
  display:flex;gap:14px;align-items:flex-start;background:var(--white);
  border:1px solid var(--line);border-radius:12px;padding:18px 20px;
}
.check-item .ck-ic{
  flex-shrink:0;width:24px;height:24px;border-radius:50%;background:var(--teal-dim);
  color:var(--teal);display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;margin-top:1px;
}
.check-item p{margin:0;font-size:14.5px;color:var(--navy);font-weight:500;line-height:1.5}

/* ---------- CTA strip (compact inline CTA between sections) ---------- */
.cta-strip{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  background:var(--navy-soft);border:1px solid var(--line);border-radius:16px;
  padding:26px 30px;
}
.cta-strip h4{font-size:17px;margin:0;max-width:520px}
.cta-strip .btn{flex-shrink:0}
@media(max-width:560px){.cta-strip{padding:22px 22px}.cta-strip h4{font-size:15.5px}}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--line);margin-top:64px;padding:48px 0 24px}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:32px;margin-bottom:36px}
.footer-brand img{height:44px;margin-bottom:14px}
.footer-brand p{color:var(--muted);font-size:13px}
.footer-cols{display:flex;gap:56px;flex-wrap:wrap}
.footer-col h6{font-family:var(--f-disp);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.footer-col a, .footer-col p{display:block;font-size:14px;color:var(--navy);margin-bottom:8px}
.footer-social{display:flex;gap:14px;margin-top:6px}
.footer-social a{
  width:34px;height:34px;border-radius:50%;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--navy);
}
.footer-social a:hover{background:var(--navy);color:var(--white);border-color:var(--navy)}
.footer-bottom{border-top:1px solid var(--line);padding-top:20px;text-align:center;color:var(--muted);font-size:12.5px}

/* ---------- Inner page hero ---------- */
.page-hero{padding:64px 0 40px;text-align:center}
.page-hero .eyebrow{margin-bottom:14px}
.page-hero h1{font-size:clamp(26px,3.6vw,42px);max-width:820px;margin:0 auto 16px}
.page-hero p{color:var(--muted);max-width:600px;margin:0 auto;font-size:16px}

/* ---------- Founder page ---------- */
.founder-block{display:flex;gap:44px;align-items:stretch;margin-bottom:56px}
.founder-photo{flex:0 0 360px}
.founder-photo img{width:100%;height:100%;object-fit:cover;border-radius:20px;display:block}
.founder-copy h4{font-family:var(--f-disp);font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--teal);margin-bottom:4px}
.founder-copy h2{font-size:26px;margin-bottom:14px}
.founder-copy p{color:var(--ink);margin-bottom:16px;font-size:16.5px;line-height:1.7}
.founder-social{display:inline-flex;width:32px;height:32px;border-radius:50%;border:1px solid var(--line);align-items:center;justify-content:center;margin-top:6px}
.founder-sig{max-width:200px;margin-top:12px}
@media(max-width:760px){.founder-block{flex-direction:column;text-align:center}.founder-photo img{height:auto}}

.principles-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media(max-width:820px){.principles-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.principles-grid{grid-template-columns:1fr}}
.principle h4{font-family:var(--f-disp);font-size:16px;margin-bottom:10px}
.principle p{color:var(--muted);font-size:14px}

/* ---------- FAQ ---------- */
.faq-list{max-width:760px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:20px 4px;cursor:pointer;font-family:var(--f-disp);font-weight:600;font-size:15.5px;
}
.faq-icon{transition:transform .25s;color:var(--teal);flex-shrink:0}
.faq-item.open .faq-icon{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease;color:var(--muted);font-size:14.5px;padding:0 4px;line-height:1.7}
.faq-a p{margin-bottom:14px}
.faq-a p:last-child{margin-bottom:0}
.faq-a ul{margin:0 0 14px 0}
.faq-a li{margin-bottom:8px;padding-left:18px;position:relative}
.faq-a li::before{content:'—';position:absolute;left:0;color:var(--teal)}

/* ---------- Feature tooltips (pricing tier lists) ---------- */
.tip{
  position:relative;display:inline-flex;vertical-align:middle;margin-left:6px;cursor:help;
}
.tip-ic{
  width:15px;height:15px;border-radius:50%;border:1px solid var(--muted);color:var(--muted);
  font-family:var(--f-m3,monospace);font-size:9.5px;font-style:italic;font-weight:600;
  display:flex;align-items:center;justify-content:center;line-height:1;flex-shrink:0;
  transition:border-color .15s,color .15s;
}
.tip:hover .tip-ic,.tip.open .tip-ic,.tip:focus .tip-ic{border-color:var(--teal);color:var(--teal)}
.tip-bubble{
  position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%);
  width:216px;background:var(--white);color:var(--navy);
  font-family:var(--f-body,'Plus Jakarta Sans',sans-serif);font-size:12px;font-weight:400;
  text-transform:none;letter-spacing:normal;line-height:1.5;
  padding:10px 12px;border-radius:8px;box-shadow:0 10px 24px rgba(0,0,0,.35);
  opacity:0;visibility:hidden;transition:opacity .15s ease;z-index:30;pointer-events:none;
}
.tip-bubble::after{
  content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);
  border:6px solid transparent;border-top-color:var(--white);
}
.tip:hover .tip-bubble,.tip:focus .tip-bubble,.tip.open .tip-bubble{opacity:1;visibility:visible}
@media(max-width:560px){
  .tip-bubble{width:180px;font-size:11.5px;left:auto;right:-8px;transform:none}
  .tip-bubble::after{left:auto;right:12px;transform:none}
}
.faq-item.open .faq-a{max-height:900px;padding-bottom:18px}

/* ---------- Contact form ---------- */
.contact-form{max-width:640px;margin:0 auto;background:var(--white);border:1px solid var(--line);border-radius:20px;padding:40px}
@media(max-width:480px){.contact-form{padding:24px 20px;border-radius:16px}}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
@media(max-width:560px){.form-row{grid-template-columns:1fr}}
.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}
.form-group label{font-size:13px;font-weight:600;color:var(--navy)}
.form-group input,.form-group select,.form-group textarea{
  font-family:var(--f-body);font-size:14.5px;padding:12px 14px;border:1.5px solid var(--line);
  border-radius:10px;background:var(--paper);color:var(--ink);
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--teal)}
.form-hint{font-size:12.5px;color:var(--muted)}
.contact-form .btn-primary{width:100%;text-align:center;border:none;font-size:15px}
.contact-meta{max-width:640px;margin:32px auto 0;text-align:center;color:var(--muted);font-size:14px}

/* ---------- Fine print ---------- */
.fineprint{max-width:1100px;margin:0 auto;color:var(--muted);font-size:15px;line-height:1.8}
.fineprint h3{color:var(--navy);font-size:13px;letter-spacing:.1em;text-transform:uppercase;text-align:center;margin-bottom:24px;font-family:var(--f-disp)}
.fineprint p{margin-bottom:16px}
.fineprint ul{margin:0 0 16px 0}
.fineprint li{margin-bottom:8px;padding-left:18px;position:relative}
.fineprint li::before{content:'—';position:absolute;left:0;color:var(--teal)}

/* ---------- Pricing widget wrapper (scopes the imported pricing component) ---------- */
.pricing-embed{
  background:var(--navy);border-radius:24px;margin:0 48px;overflow:hidden;
}
.pricing-embed .sec{max-width:1040px}
@media(max-width:820px){.cta-band{margin:0 24px}.pricing-embed{margin:0 24px}}
@media(max-width:480px){.cta-band{margin:0 18px;padding:40px 24px}.pricing-embed{margin:0 18px}}

/* ==================== BLOG ==================== */

/* ---------- Blog listing hero ---------- */
.blog-hero{text-align:center;padding:56px 0 8px}
.blog-hero-icon{font-size:34px;margin-bottom:14px}
.blog-hero h1{font-size:clamp(28px,3.6vw,42px);margin-bottom:0}

/* ---------- Category filter pills ---------- */
.blog-cats{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:32px 0 48px}
.blog-cat-pill{
  padding:9px 18px;border:1.5px solid var(--line);border-radius:100px;
  font-family:var(--f-disp);font-size:13px;font-weight:600;color:var(--navy);
  background:var(--white);white-space:nowrap;
}
.blog-cat-pill:hover,.blog-cat-pill.active{border-color:var(--teal);color:var(--teal)}

/* ---------- Blog post grid + cards ---------- */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
@media(max-width:980px){.blog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.blog-grid{grid-template-columns:1fr}}

.blog-card{
  background:var(--white);border:1px solid var(--line);border-radius:16px;
  overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s;
}
.blog-card:hover{box-shadow:0 16px 36px rgba(38,60,76,.1);transform:translateY(-3px)}
.blog-card-img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.blog-card-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.blog-card-cat{
  font-family:var(--f-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--teal);font-weight:600;
}
.blog-card h3{font-size:17px;line-height:1.3}
.blog-card h3 a{color:var(--navy)}
.blog-card h3 a:hover{color:var(--teal)}
.blog-card p{color:var(--muted);font-size:13.5px;line-height:1.6;flex:1}
.blog-card-byline{font-size:12px;color:var(--muted);margin-top:4px;font-weight:600}

/* ---------- Mid-listing CTA banner ---------- */
.blog-cta-banner{
  display:flex;align-items:center;gap:40px;background:var(--navy);border-radius:24px;
  padding:44px;margin:56px 0 8px;
}
.blog-cta-banner-copy{flex:1}
.blog-cta-banner .eyebrow{text-align:left;margin-bottom:6px}
.blog-cta-banner h3{color:var(--white);font-size:clamp(18px,2.4vw,24px);margin-bottom:12px}
.blog-cta-banner p{color:rgba(255,255,255,.72);font-size:14.5px;margin-bottom:20px;max-width:520px}
.blog-cta-banner-img{flex:0 0 260px}
.blog-cta-banner-img img{width:100%;border-radius:16px;display:block}
@media(max-width:760px){.blog-cta-banner{flex-direction:column}.blog-cta-banner-img{width:100%}}

/* ---------- Pagination ---------- */
.blog-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin:48px 0 8px}
.blog-pagination a{
  padding:10px 22px;border:1.5px solid var(--line);border-radius:100px;
  font-family:var(--f-disp);font-size:13px;font-weight:600;color:var(--navy);
}
.blog-pagination a:hover{border-color:var(--teal);color:var(--teal)}
.blog-pagination span{color:var(--muted);font-size:13px;font-family:var(--f-mono)}

/* ==================== SINGLE BLOG POST ==================== */

.post-hero-img-wrap{margin-bottom:32px}
.post-hero-img{width:100%;max-height:480px;object-fit:cover;border-radius:20px;display:block}

/* ---------- Post header (image left, headline/excerpt/byline right) ---------- */
.post-breadcrumb{max-width:1100px;margin:0 auto 24px;font-family:var(--f-mono);font-size:13px;color:var(--muted)}
.post-breadcrumb a{color:var(--navy);font-weight:600}
.post-breadcrumb a:hover{color:var(--teal)}
.post-hero-split{display:flex;gap:40px;align-items:center;margin-bottom:48px}
.post-hero-split-img{flex:0 0 34%}
.post-hero-split-img img{width:100%;aspect-ratio:1/0.82;object-fit:cover;border-radius:18px;display:block}
.post-hero-content{flex:1;min-width:0}
.post-hero-content .post-cat-tag{display:block;margin-bottom:14px}
.post-hero-content h1{font-size:clamp(26px,3.2vw,38px);line-height:1.15;margin-bottom:18px;text-align:left}
.post-hero-content .post-excerpt{color:var(--muted);font-size:16px;line-height:1.6;margin-bottom:24px;text-align:left}
.post-hero-content .post-byline{justify-content:flex-start}
@media(max-width:820px){
  .post-hero-split{flex-direction:column;gap:22px}
  .post-hero-split-img{flex:none;width:60%;max-width:320px;margin:0 auto}
}
@media(max-width:480px){
  .post-hero-split-img{width:75%;max-width:none}
}

.post-header{max-width:800px;margin:0 auto 36px;text-align:center}
.post-cat-tag{
  display:inline-block;font-family:var(--f-mono);font-size:12px;letter-spacing:.06em;
  text-transform:uppercase;color:var(--teal);font-weight:600;margin-bottom:14px;
}
.post-header h1{font-size:clamp(26px,3.6vw,40px);line-height:1.15;margin-bottom:16px}
.post-excerpt{color:var(--muted);font-size:16.5px;line-height:1.6;margin-bottom:22px}
.post-byline{display:flex;align-items:center;justify-content:center;gap:10px}
.post-byline-avatar{
  width:34px;height:34px;border-radius:50%;background:var(--navy);color:var(--white);
  display:flex;align-items:center;justify-content:center;font-family:var(--f-disp);
  font-size:13px;font-weight:700;
}
.post-byline span{font-size:13.5px;color:var(--navy);font-weight:600}

.post-body{max-width:740px;margin:0 auto}
.post-body p{color:var(--ink);font-size:16px;line-height:1.8;margin-bottom:22px}
.post-body p.lede{font-size:18px;font-weight:500}

.post-quote{
  border-left:4px solid var(--teal);padding:4px 0 4px 26px;margin:40px 0;
}
.post-quote p{font-family:var(--f-disp);font-style:normal;font-size:19px;font-weight:600;
  color:var(--navy);line-height:1.5;margin:0}

.post-mini-faq{background:var(--navy-soft);border:1px solid var(--line);border-radius:16px;padding:28px 30px;margin:40px 0}
.post-mini-faq h4{font-family:var(--f-disp);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--navy);margin-bottom:18px}
.post-mini-faq-item{margin-bottom:18px}
.post-mini-faq-item:last-child{margin-bottom:0}
.post-mini-faq-item .q{font-weight:700;color:var(--navy);font-size:15px;margin-bottom:6px}
.post-mini-faq-item .a{color:var(--muted);font-size:14.5px;line-height:1.6}

.post-cta-line{text-align:center;font-family:var(--f-disp);font-size:20px;font-weight:600;color:var(--navy);margin:44px 0 28px}
.post-cta-line .btn-row{justify-content:center;margin-top:20px}

.post-resources{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:26px 30px;margin:40px 0}
.post-resources h5{font-family:var(--f-disp);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--teal);margin-bottom:14px}
.post-resources ul{list-style:none}
.post-resources li{margin-bottom:10px}
.post-resources li:last-child{margin-bottom:0}
.post-resources a{color:var(--navy);font-weight:600;font-size:14.5px}
.post-resources a:hover{color:var(--teal)}

.post-tags{display:flex;flex-wrap:wrap;gap:8px;margin:32px 0 0}
.post-tags a{
  padding:7px 14px;border:1px solid var(--line);border-radius:100px;
  font-size:12.5px;font-weight:600;color:var(--muted);
}
.post-tags a:hover{border-color:var(--teal);color:var(--teal)}

.related-heading{text-align:center;margin:64px 0 28px}
.related-heading h2{font-size:clamp(20px,2.6vw,28px)}

/* ---------- Two-column post layout (article + sidebar) ---------- */
.post-layout{display:grid;grid-template-columns:1fr 320px;gap:56px;align-items:start;max-width:1200px;margin:0 auto}
.post-main{min-width:0}
.post-main .post-body{max-width:none;margin:0}
.post-sidebar{position:sticky;top:calc(var(--header-h) + 24px);display:flex;flex-direction:column;gap:16px}

.sidebar-stat{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:22px}
.sidebar-stat .num{font-family:var(--f-disp);font-size:34px;font-weight:700;color:var(--teal);line-height:1}
.sidebar-stat .label{font-size:13px;color:var(--muted);margin-top:8px;line-height:1.5}

.sidebar-box{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:22px}
.sidebar-box h5{font-family:var(--f-disp);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--teal);margin-bottom:14px}
.sidebar-box ul{list-style:none}
.sidebar-box li{margin-bottom:10px}
.sidebar-box li:last-child{margin-bottom:0}
.sidebar-box a{color:var(--navy);font-weight:600;font-size:14px}
.sidebar-box a:hover{color:var(--teal)}

.sidebar-tags{display:flex;flex-wrap:wrap;gap:8px}
.sidebar-tags a{
  padding:6px 13px;border:1px solid var(--line);border-radius:100px;
  font-size:12px;font-weight:600;color:var(--muted);background:var(--paper);
}
.sidebar-tags a:hover{border-color:var(--teal);color:var(--teal)}

@media(max-width:1024px){
  .post-layout{grid-template-columns:1fr;gap:32px}
  .post-sidebar{position:static;flex-direction:row;flex-wrap:wrap}
  .sidebar-stat,.sidebar-box{flex:1 1 220px}
}
@media(max-width:560px){
  .post-sidebar{flex-direction:column}
}
