/* ============================================================
   LEX SOLUTIONIS LEGAL PRACTITIONERS — v3
   style.css  |  Shared across all pages
   ============================================================
   TABLE OF CONTENTS
    1. Variables & Reset
    2. Typography helpers
    3. Navigation
    4. Hero
    5. Credentials ticker
    6. Section base
    7. Practice areas grid
    8. Why Choose Us
    9. About / Mission / Values
   10. Team
   11. Clients
   12. Contact & Form
   13. Footer
   14. Insights / Blog listing
   15. Article single-page
   16. Animations & utilities
   17. Responsive
   ============================================================ */


/* ── 1. VARIABLES & RESET ─────────────────────────────────── */
:root {
  --teal:    #1a7a6e;
  --teal-d:  #125c52;
  --teal-l:  #e8f4f2;
  --gold:    #b89a5c;
  --gold-l:  #f0e9d8;
  --ink:     #0d0f0e;
  --ink-2:   #3a3d3c;
  --ink-3:   #7a7d7c;
  --rule:    #dde0df;
  --surf:    #f5f6f4;
  --white:   #ffffff;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'DM Sans', sans-serif;
  --nav-h:   70px;
  --pad:     5.5rem 3.5rem;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { font-family:var(--sans); font-size:16px; color:var(--ink); background:var(--white); line-height:1.6; overflow-x:hidden; }
img  { max-width:100%; height:auto; display:block; }
a    { color:inherit; text-decoration:none; }
button { font-family:var(--sans); cursor:pointer; border:none; background:none; }
ul, ol { list-style:none; }


/* ── 2. TYPOGRAPHY HELPERS ────────────────────────────────── */
.stag   { font-size:9px; font-weight:500; letter-spacing:0.22em; text-transform:uppercase; color:var(--teal); margin-bottom:.9rem; }
.stitle { font-family:var(--serif); font-size:clamp(26px,2.8vw,38px); font-weight:300; line-height:1.2; }
.ssub   { font-size:12px; color:var(--ink-3); max-width:280px; text-align:right; line-height:1.65; }

.btn-p {
  display:inline-block; font-size:10px; font-weight:500; letter-spacing:0.14em;
  text-transform:uppercase; padding:13px 30px; background:var(--teal); color:var(--white); transition:background .2s;
}
.btn-p:hover { background:var(--teal-d); }
.btn-ghost {
  display:inline-block; font-size:10px; font-weight:400; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--ink-2); padding-bottom:2px; border-bottom:.5px solid var(--rule); transition:all .2s;
}
.btn-ghost:hover { color:var(--teal); border-color:var(--teal); }


/* ── 3. NAVIGATION ────────────────────────────────────────── */
#navbar {
  position:sticky; top:0; z-index:200;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 3.5rem; height:var(--nav-h);
  background:rgba(255,255,255,0.97); backdrop-filter:blur(10px);
  border-bottom:.5px solid var(--rule); gap:1.5rem;
  transition:box-shadow .3s;
}
#navbar.scrolled { box-shadow:0 2px 24px rgba(0,0,0,0.06); }

.nav-brand { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.logo-wrap  { width:42px; height:42px; flex-shrink:0; }
.logo-wrap img { width:100%; height:100%; object-fit:contain; }

/* Fallback SVG logo — shown when image fails to load */
.logo-svg   { width:100%; height:100%; }

.brand-text    { display:flex; flex-direction:column; line-height:1.1; }
.brand-name    { font-family:var(--serif); font-size:16px; font-weight:500; letter-spacing:.06em; color:var(--teal); text-transform:uppercase; }
.brand-sub     { font-size:9px; font-weight:400; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-3); }

.nav-links { display:flex; gap:2rem; }
.nav-links a {
  font-size:11px; font-weight:400; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-2); transition:color .2s; padding-bottom:2px;
  border-bottom:1.5px solid transparent; transition:all .2s;
}
.nav-links a:hover, .nav-links a.active { color:var(--teal); border-bottom-color:var(--teal); }

.nav-cta {
  font-size:10px; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  padding:10px 22px; background:var(--teal); color:var(--white); flex-shrink:0;
  transition:background .2s; cursor:pointer;
}
.nav-cta:hover { background:var(--teal-d); }

.nav-toggle { display:none; flex-direction:column; gap:5px; padding:4px; }
.nav-toggle span { display:block; width:22px; height:1.5px; background:var(--ink); transition:all .25s; }
.nav-toggle.open span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity:0; }
.nav-toggle.open span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }


/* ── 4. HERO ──────────────────────────────────────────────── */
.hero { display:grid; grid-template-columns:1fr 1fr; min-height:calc(100vh - var(--nav-h)); }

.hero-left {
  padding:6rem 3.5rem 4rem; display:flex; flex-direction:column;
  justify-content:center; border-right:.5px solid var(--rule);
}
.eyebrow {
  display:flex; align-items:center; gap:12px; font-size:9px; font-weight:500;
  letter-spacing:.22em; text-transform:uppercase; color:var(--teal); margin-bottom:2rem;
}
.eyebrow::before { content:''; width:28px; height:.5px; background:var(--teal); flex-shrink:0; }

h1.hero-h1 {
  font-family:var(--serif); font-size:clamp(38px,4.5vw,64px); font-weight:300;
  line-height:1.06; letter-spacing:-0.01em; color:var(--ink); margin-bottom:1.75rem;
}
h1.hero-h1 em { font-style:italic; color:var(--teal); }

.hero-sub  { font-size:14px; font-weight:300; line-height:1.85; color:var(--ink-2); max-width:430px; margin-bottom:3rem; }
.hero-btns { display:flex; align-items:center; gap:2rem; flex-wrap:wrap; }

.hero-right {
  background:var(--surf); display:flex; flex-direction:column;
  justify-content:flex-end; padding:3.5rem; position:relative; overflow:hidden;
}
.hero-watermark {
  position:absolute; top:-20px; right:-10px;
  font-family:var(--serif); font-size:190px; font-weight:300;
  color:rgba(26,122,110,0.05); line-height:1; pointer-events:none;
  user-select:none; letter-spacing:-0.06em;
}
.hero-stats { display:grid; grid-template-columns:1fr 1fr; gap:2px; }
.stat { background:var(--white); padding:1.75rem; }
.stat-n { font-family:var(--serif); font-size:38px; font-weight:300; color:var(--ink); line-height:1; }
.stat-n sup { font-size:15px; vertical-align:super; color:var(--teal); }
.stat-l { font-size:11px; font-weight:300; color:var(--ink-3); margin-top:.4rem; line-height:1.4; }


/* ── 5. TICKER ────────────────────────────────────────────── */
.ticker {
  padding:0 3.5rem; height:50px; background:var(--teal);
  display:flex; align-items:center; gap:2.5rem; overflow:hidden;
}
.ticker-label { font-size:8px; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,0.5); white-space:nowrap; flex-shrink:0; }
.ticker-div   { width:.5px; height:18px; background:rgba(255,255,255,0.2); flex-shrink:0; }
.ticker-items { display:flex; gap:3rem; overflow:hidden; flex-shrink:0; }
.ticker-item  { font-size:10px; font-weight:300; letter-spacing:.1em; color:rgba(255,255,255,0.85); white-space:nowrap; }
.ticker-dot   { color:var(--gold); margin-right:6px; }


/* ── 6. SECTION BASE ──────────────────────────────────────── */
.section { padding:var(--pad); }
.sh {
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:3rem; padding-bottom:2rem; border-bottom:.5px solid var(--rule); gap:2rem;
}


/* ── 7. PRACTICE AREAS ────────────────────────────────────── */
.pa-grid { display:grid; grid-template-columns:repeat(3,1fr); }

.pa {
  padding:2.25rem 1.75rem; border:.5px solid var(--rule); margin:-.25px;
  cursor:pointer; transition:background .25s; position:relative; overflow:hidden;
}
.pa::after { content:''; position:absolute; bottom:0; left:0; width:0; height:2px; background:var(--teal); transition:width .35s; }
.pa:hover { background:var(--teal-l); }
.pa:hover::after { width:100%; }

.pa-num   { font-family:var(--serif); font-size:12px; color:var(--gold); margin-bottom:1.25rem; letter-spacing:.06em; }
.pa-name  { font-family:var(--serif); font-size:20px; font-weight:400; margin-bottom:.9rem; line-height:1.25; }
.pa-desc  { font-size:12px; font-weight:300; color:var(--ink-2); line-height:1.75; }
.pa-arrow { font-size:16px; color:var(--rule); margin-top:1.5rem; display:block; transition:color .2s; }
.pa:hover .pa-arrow { color:var(--teal); }


/* ── 8. WHY CHOOSE US ─────────────────────────────────────── */
.why { background:var(--surf); }
.why-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:2px; }
.why-card { background:var(--white); padding:2.5rem 2rem; }
.why-num   { font-family:var(--serif); font-size:48px; font-weight:300; color:var(--teal-l); line-height:1; margin-bottom:1rem; }
.why-title { font-family:var(--serif); font-size:20px; font-weight:400; margin-bottom:.75rem; }
.why-text  { font-size:13px; font-weight:300; color:var(--ink-2); line-height:1.75; }


/* ── 9. ABOUT ─────────────────────────────────────────────── */
.about-inner { display:grid; grid-template-columns:55fr 45fr; align-items:start; }
.about-left  { padding-right:4rem; border-right:.5px solid var(--rule); }
.about-right { padding-left:4rem; }

.big-q { font-family:var(--serif); font-size:clamp(20px,2.2vw,30px); font-weight:300; line-height:1.45; margin-bottom:2rem; }
.big-q em { color:var(--teal); font-style:italic; }
.about-body { font-size:13px; font-weight:300; color:var(--ink-2); line-height:1.85; margin-bottom:1.25rem; }

.mission-box { background:var(--teal); color:var(--white); padding:1.75rem 2rem; margin-top:2rem; }
.mission-tag  { font-size:9px; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-bottom:.75rem; }
.mission-text { font-family:var(--serif); font-size:16px; font-weight:300; line-height:1.6; font-style:italic; }
.vision-box  { background:var(--gold-l); padding:1.75rem 2rem; margin-top:2px; }
.vision-tag  { font-size:9px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:.75rem; }
.vision-text { font-family:var(--serif); font-size:15px; font-weight:300; color:var(--ink); line-height:1.6; font-style:italic; }

.val-item { padding:1.4rem 0; border-bottom:.5px solid var(--rule); }
.val-item:first-of-type { border-top:.5px solid var(--rule); }
.val-title { font-family:var(--serif); font-size:18px; font-weight:400; margin-bottom:.4rem; }
.val-mark  { display:inline-block; width:6px; height:6px; background:var(--teal); border-radius:50%; margin-right:8px; vertical-align:middle; }
.val-text  { font-size:12px; font-weight:300; color:var(--ink-2); line-height:1.7; }


/* ── 10. TEAM ─────────────────────────────────────────────── */
.team-bg { background:var(--surf); }
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; }
.tc { background:var(--white); padding:2.5rem 2rem; transition:background .2s; }
.tc:hover { background:var(--teal-l); }
.tc-init  { width:50px; height:50px; border-radius:50%; background:var(--teal); display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:17px; color:var(--white); margin-bottom:1.5rem; }
.tc-photo { width:64px; height:64px; border-radius:50%; object-fit:cover; margin-bottom:1.5rem; }
.tc-name  { font-family:var(--serif); font-size:19px; font-weight:400; margin-bottom:.25rem; }
.tc-role  { font-size:10px; font-weight:400; color:var(--teal); letter-spacing:.1em; text-transform:uppercase; margin-bottom:1rem; }
.tc-bio   { font-size:12px; font-weight:300; color:var(--ink-2); line-height:1.7; }


/* ── 11. CLIENTS ──────────────────────────────────────────── */
.clients-bg { background:var(--teal); }
.clients-bg .stag  { color:rgba(255,255,255,.6); }
.clients-bg .stitle { color:var(--white); }
.clients-bg .ssub  { color:rgba(255,255,255,.5); }
.clients-bg .sh    { border-bottom-color:rgba(255,255,255,.12); }

.client-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; }
.ct { background:rgba(255,255,255,.06); padding:2rem 1.5rem; text-align:center; transition:background .2s; }
.ct:hover { background:rgba(255,255,255,.1); }
.ct-icon { font-size:20px; color:var(--gold); margin-bottom:1rem; display:block; }
.ct-name { font-family:var(--serif); font-size:17px; color:var(--white); margin-bottom:.5rem; }
.ct-desc { font-size:11px; font-weight:300; color:rgba(255,255,255,.6); line-height:1.65; }


/* ── 12. CONTACT & FORM ───────────────────────────────────── */
.contact-bg { background:var(--ink); }
.contact-bg .stag  { color:rgba(184,154,92,.8); }
.contact-bg .stitle { color:var(--white); }
.contact-bg .ssub  { color:rgba(255,255,255,.4); }
.contact-bg .sh    { border-bottom-color:rgba(255,255,255,.08); }

.contact-inner { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; }
.contact-intro { font-size:14px; font-weight:300; color:rgba(255,255,255,.55); line-height:1.8; margin-bottom:2.5rem; }

.c-detail { display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.2rem; }
.c-label  { font-size:9px; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); min-width:72px; padding-top:2px; flex-shrink:0; }
.c-val    { font-size:13px; font-weight:300; color:rgba(255,255,255,.65); line-height:1.65; }
.c-val a  { color:rgba(255,255,255,.65); transition:color .2s; }
.c-val a:hover { color:var(--gold); }

.cform { display:flex; flex-direction:column; gap:1px; }
.crow  { display:grid; grid-template-columns:1fr 1fr; gap:1px; }
.cf    { display:flex; flex-direction:column; }
.cf label { font-size:9px; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.38); padding:.85rem 1.1rem .4rem; background:rgba(255,255,255,.04); }
.cf input, .cf select, .cf textarea {
  background:rgba(255,255,255,.04); border:none; border-top:.5px solid rgba(255,255,255,.06);
  color:var(--white); font-family:var(--sans); font-size:12px; font-weight:300;
  padding:.65rem 1.1rem .9rem; outline:none; resize:none; transition:background .2s;
  -webkit-appearance:none; appearance:none;
}
.cf input:focus, .cf select:focus, .cf textarea:focus { background:rgba(255,255,255,.07); }
.cf select option { background:#1a1a1a; color:var(--white); }
.cf input::placeholder, .cf textarea::placeholder { color:rgba(255,255,255,.22); }

.csubmit {
  padding:15px 32px; background:var(--teal); color:var(--white);
  font-size:10px; font-weight:500; letter-spacing:.14em; text-transform:uppercase;
  border:none; cursor:pointer; transition:background .2s; margin-top:1px; text-align:left;
}
.csubmit:hover { background:var(--teal-d); }
.form-success { display:none; padding:1rem 1.1rem; background:rgba(26,122,110,.2); color:rgba(255,255,255,.8); font-size:13px; margin-top:1px; }
.form-success.show { display:block; }


/* ── 13. FOOTER ───────────────────────────────────────────── */
footer {
  padding:1.75rem 3.5rem; background:var(--ink);
  display:flex; align-items:center; justify-content:space-between;
  border-top:.5px solid rgba(255,255,255,.07); gap:2rem; flex-wrap:wrap;
}
.f-brand { font-family:var(--serif); font-size:14px; color:rgba(255,255,255,.4); letter-spacing:.04em; }
.f-copy  { font-size:10px; color:rgba(255,255,255,.25); text-align:center; }
.f-links { display:flex; gap:2rem; }
.f-links a { font-size:10px; color:rgba(255,255,255,.3); transition:color .2s; }
.f-links a:hover { color:var(--gold); }


/* ── 14. INSIGHTS / BLOG LISTING ─────────────────────────── */
.insights-hero {
  background:var(--ink); padding:5rem 3.5rem 4rem;
  display:flex; flex-direction:column; justify-content:flex-end;
  min-height:320px; position:relative; overflow:hidden;
}
.insights-hero-watermark {
  position:absolute; top:-40px; right:-10px;
  font-family:var(--serif); font-size:220px; font-weight:300;
  color:rgba(26,122,110,.08); line-height:1; pointer-events:none; user-select:none;
}
.insights-hero .stag   { color:rgba(184,154,92,.8); }
.insights-hero .stitle { color:var(--white); font-size:clamp(32px,4vw,52px); }
.insights-hero .ssub   { color:rgba(255,255,255,.45); text-align:left; max-width:480px; margin-top:1rem; font-size:13px; line-height:1.7; }

.insights-filters {
  display:flex; align-items:center; gap:1rem; padding:1.25rem 3.5rem;
  border-bottom:.5px solid var(--rule); background:var(--white);
  position:sticky; top:var(--nav-h); z-index:100; overflow-x:auto;
}
.filter-btn {
  font-size:10px; font-weight:400; letter-spacing:.12em; text-transform:uppercase;
  padding:7px 16px; border:.5px solid var(--rule); color:var(--ink-2);
  cursor:pointer; white-space:nowrap; transition:all .2s; background:var(--white);
}
.filter-btn:hover, .filter-btn.active { background:var(--teal); color:var(--white); border-color:var(--teal); }

/* Featured post */
.post-featured {
  display:grid; grid-template-columns:1fr 1fr;
  border-bottom:.5px solid var(--rule);
}
.post-featured-img {
  background:var(--surf); min-height:360px;
  display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
}
.post-featured-img .post-category-badge {
  position:absolute; top:1.5rem; left:1.5rem;
}
.post-feat-placeholder {
  font-family:var(--serif); font-size:80px; font-weight:300;
  color:rgba(26,122,110,.12); user-select:none;
}
.post-featured-body { padding:3.5rem; display:flex; flex-direction:column; justify-content:center; }
.post-featured-body .post-meta { margin-bottom:1.25rem; }
.post-featured-body h2 {
  font-family:var(--serif); font-size:clamp(22px,2.5vw,32px); font-weight:300;
  line-height:1.2; margin-bottom:1.25rem; color:var(--ink);
}
.post-featured-body .post-excerpt {
  font-size:13px; font-weight:300; color:var(--ink-2); line-height:1.8; margin-bottom:2rem;
}

/* Post grid */
.post-grid { display:grid; grid-template-columns:repeat(3,1fr); }

.post-card {
  border:.5px solid var(--rule); margin:-.25px; padding:2rem 1.75rem;
  cursor:pointer; transition:background .2s; position:relative;
  display:flex; flex-direction:column;
}
.post-card:hover { background:var(--teal-l); }

.post-category-badge {
  display:inline-block; font-size:8px; font-weight:500; letter-spacing:.16em;
  text-transform:uppercase; padding:4px 10px;
  background:var(--teal-l); color:var(--teal); margin-bottom:1rem;
}
.post-category-badge.news     { background:#fff3e0; color:#b87c1a; }
.post-category-badge.update   { background:var(--teal-l); color:var(--teal); }
.post-category-badge.article  { background:var(--gold-l); color:#8a6e2a; }
.post-category-badge.commentary { background:#f0eaf8; color:#6b3fa0; }

.post-meta { display:flex; align-items:center; gap:1rem; margin-bottom:.75rem; }
.post-date { font-size:11px; color:var(--ink-3); font-weight:300; }
.post-author { font-size:11px; color:var(--ink-3); font-weight:300; }
.post-meta-dot { width:3px; height:3px; border-radius:50%; background:var(--rule); }

.post-card h3 { font-family:var(--serif); font-size:20px; font-weight:400; line-height:1.25; margin-bottom:.75rem; }
.post-excerpt { font-size:12px; font-weight:300; color:var(--ink-2); line-height:1.75; flex:1; }
.post-read-more { font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--teal); margin-top:1.5rem; transition:gap .2s; display:flex; align-items:center; gap:.5rem; }
.post-read-more::after { content:'→'; transition:transform .2s; }
.post-card:hover .post-read-more::after { transform:translateX(4px); }

.no-posts { grid-column:1/-1; padding:4rem; text-align:center; color:var(--ink-3); font-family:var(--serif); font-size:20px; font-weight:300; }


/* ── 15. ARTICLE SINGLE PAGE ──────────────────────────────── */
.article-wrap { max-width:760px; margin:0 auto; padding:4rem 2rem 6rem; }
.article-back {
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:10px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ink-3); margin-bottom:2.5rem; transition:color .2s;
}
.article-back:hover { color:var(--teal); }

.article-header { margin-bottom:3rem; padding-bottom:2rem; border-bottom:.5px solid var(--rule); }
.article-header .post-category-badge { margin-bottom:1.25rem; }
.article-header h1 { font-family:var(--serif); font-size:clamp(28px,3.5vw,44px); font-weight:300; line-height:1.15; margin-bottom:1.25rem; }
.article-header .post-meta { margin-bottom:0; }

.article-body h2   { font-family:var(--serif); font-size:24px; font-weight:400; margin:2.5rem 0 1rem; }
.article-body p    { font-size:15px; font-weight:300; color:var(--ink-2); line-height:1.9; margin-bottom:1.5rem; }
.article-body strong { font-weight:500; color:var(--ink); }

.article-cta {
  margin-top:3.5rem; padding:2.5rem; background:var(--teal-l);
  border-left:3px solid var(--teal);
}
.article-cta p { font-size:14px; font-weight:300; color:var(--ink-2); line-height:1.7; margin-bottom:1.25rem; }


/* ── 16. ANIMATIONS & UTILITIES ───────────────────────────── */
.fade-in { opacity:0; transform:translateY(14px); animation:fadeUp .55s ease forwards; }
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }
.d1{animation-delay:.08s} .d2{animation-delay:.18s} .d3{animation-delay:.28s} .d4{animation-delay:.38s}

.reveal { opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.hidden { display:none !important; }


/* ── 17. RESPONSIVE ───────────────────────────────────────── */
@media (max-width:1024px) {
  :root { --pad:4rem 2.5rem; }
  #navbar { padding:0 2.5rem; }
  .hero { grid-template-columns:1fr; min-height:auto; }
  .hero-left { border-right:none; border-bottom:.5px solid var(--rule); padding:4rem 2.5rem; }
  .hero-right { padding:2.5rem; min-height:320px; }
  .pa-grid { grid-template-columns:repeat(2,1fr); }
  .about-inner { grid-template-columns:1fr; }
  .about-left { padding-right:0; border-right:none; border-bottom:.5px solid var(--rule); padding-bottom:3rem; }
  .about-right { padding-left:0; padding-top:3rem; }
  .client-grid { grid-template-columns:repeat(2,1fr); }
  .contact-inner { grid-template-columns:1fr; gap:3rem; }
  .post-featured { grid-template-columns:1fr; }
  .post-featured-img { min-height:240px; }
  .post-grid { grid-template-columns:repeat(2,1fr); }
  .insights-filters { padding:1.25rem 2.5rem; }
  .insights-hero { padding:4rem 2.5rem 3rem; }
}

@media (max-width:768px) {
  :root { --pad:3.5rem 1.5rem; --nav-h:60px; }
  #navbar { padding:0 1.5rem; height:auto; padding-top:.875rem; padding-bottom:.875rem; flex-wrap:wrap; }
  .nav-links { display:none; flex-direction:column; width:100%; gap:.75rem; padding:1rem 0; border-top:.5px solid var(--rule); }
  .nav-links.open { display:flex; }
  .nav-toggle { display:flex; }
  .nav-cta { display:none; }
  .hero-left { padding:3rem 1.5rem; }
  .hero-h1 { font-size:clamp(32px,8vw,48px); }
  .pa-grid { grid-template-columns:1fr; }
  .why-grid { grid-template-columns:1fr; }
  .team-grid { grid-template-columns:1fr; }
  .client-grid { grid-template-columns:1fr 1fr; }
  .post-grid { grid-template-columns:1fr; }
  .crow { grid-template-columns:1fr; }
  .sh { flex-direction:column; align-items:flex-start; gap:.5rem; }
  .ssub { text-align:left; max-width:100%; }
  footer { flex-direction:column; align-items:flex-start; padding:2rem 1.5rem; }
  .ticker { padding:0 1.5rem; gap:1.5rem; }
  .ticker-items { gap:1.75rem; }
  .insights-filters { padding:1rem 1.5rem; }
  .insights-hero { padding:3rem 1.5rem 2.5rem; min-height:240px; }
  .article-wrap { padding:2.5rem 1.5rem 4rem; }
}

@media (max-width:480px) {
  .hero-stats { grid-template-columns:1fr; }
  .client-grid { grid-template-columns:1fr; }
}
