/* Ellsworth Capitol SEO + visual consistency + mobile/speed (Nov 11 2026). Additive. Do not restyle /preview/. */
:root{
  --ec-ob0:#06090D; --ec-ob1:#0A0F15; --ec-ob2:#111722; --ec-gold:#D4AF37; --ec-plat:#E8EEF6; --ec-sans:Inter,system-ui,sans-serif; --ec-serif:"Cormorant Garamond",Georgia,serif;
}
html{overflow-x:clip;}
body{overflow-x:clip;}

/* typography: match homepage scale on inner pages that still use older type */
body{font-family:var(--ec-sans);}
#main h1, #main h2, .post h1, .journal-head h1, .op-hero h1, .wc-hero h1, .sc-wrap h2{
  font-family:var(--ec-serif);
  font-weight:600;
}
@media (max-width:700px){
  body{font-size:16px;}
}

/* tap targets */
a.btn, button.btn, .op-btn, .sc-btn, .wc-btn, .btn-gold, .nav-links a, .burger, .cta-row a, [data-ec-seo-fold] a{
  min-height:44px; min-width:44px;
  box-sizing:border-box;
}
.btn-sm{min-height:44px; padding-top:12px; padding-bottom:12px;}

/* hero poster fallback when JS hides the video (mobile, reduced motion, save-data) */
.ec-hero-poster-only video.hero-video{display:none !important;}
@media (prefers-reduced-motion:reduce){
  video.hero-video{display:none !important;}
}

/* fold CTA bar used on blog and pages that need a first-screen button */
[data-ec-seo-fold]{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:18px 0 8px;}
.post-head [data-ec-seo-fold], .journal-head [data-ec-seo-fold]{margin-top:20px;}

/* inner-page buttons closer to homepage gold pills when a page uses .op-btn / .sc-btn already */

/* cards / navy sections stay; tighten blog article measure */
article.post{max-width:720px;}
.post-body p, .post-body li{font-size:1.05rem;line-height:1.7;}

/* keep legal pages readable without changing wording */
.legal main, #main.legal, body.legal #main{font-size:16px;}

/* images */
img{max-width:100%;height:auto;}
