:root{--gh-ink:#1c1916;--gh-paper:#f4efe8;--gh-muted:#6b6258;--gh-line:#e4d9cc;--gh-accent:#8a6a3b;}
html{scroll-behavior:smooth;}
body{background:var(--gh-paper)!important;color:var(--gh-ink)!important;font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;}
.site-content,.ast-container{background:transparent;}
.gh-wrap{max-width:1100px;margin:0 auto;padding:0 1.25rem;}
.gh-hero{position:relative;min-height:88vh;display:flex;align-items:flex-end;color:#fff;overflow:hidden;}
.gh-hero img.gh-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;}
.gh-hero .gh-hero-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(18,14,10,.78) 0%,rgba(18,14,10,.15) 55%,rgba(18,14,10,.25) 100%);}
.gh-hero-inner{position:relative;z-index:2;padding:2.5rem 1.25rem 3.5rem;max-width:1100px;margin:0 auto;width:100%;}
.gh-kicker{letter-spacing:.22em;text-transform:uppercase;font-size:.72rem;font-family:system-ui,-apple-system,sans-serif;opacity:.9;margin:0 0 .6rem;}
.gh-hero h1{font-size:clamp(2.4rem,7vw,5.2rem);line-height:.95;margin:0 0 .6rem;font-weight:600;letter-spacing:-.02em;}
.gh-hero p{font-size:clamp(1rem,2.2vw,1.25rem);max-width:28rem;margin:0 0 1.4rem;opacity:.95;}
.gh-btn{display:inline-block;background:#fff;color:var(--gh-ink)!important;text-decoration:none!important;padding:.85rem 1.25rem;font-family:system-ui,-apple-system,sans-serif;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;border-radius:2px;}
.gh-btn.ghost{background:transparent;color:#fff!important;border:1px solid rgba(255,255,255,.7);margin-left:.5rem;}
.gh-section{padding:4.5rem 0;}
.gh-section h2{font-size:clamp(1.6rem,3vw,2.2rem);margin:0 0 1rem;}
.gh-lead{font-size:1.15rem;line-height:1.55;max-width:40rem;color:var(--gh-muted);}
.gh-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;margin-top:2rem;}
.gh-grid a,.gh-grid figure{margin:0;display:block;}
.gh-grid img{width:100%;height:320px;object-fit:cover;display:block;}
.gh-split{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center;}
.gh-split img{width:100%;height:auto;display:block;}
.gh-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:1.75rem;}
.gh-card{background:#fff;border:1px solid var(--gh-line);padding:1.25rem 1.3rem;}
.gh-card h3{margin:0 0 .4rem;font-size:1.15rem;}
.gh-card p{margin:0;color:var(--gh-muted);line-height:1.5;}
.gh-note{background:#fff;border-left:4px solid var(--gh-accent);padding:1.1rem 1.2rem;margin:1.5rem 0;}
.gh-contact a{color:var(--gh-ink);}
.site-header,.ast-primary-header-bar,.main-header-bar{background:rgba(244,239,232,.92)!important;border-bottom:1px solid var(--gh-line)!important;box-shadow:none!important;}
.site-title,.site-title a,.ast-site-title-wrap .site-title a{font-family:system-ui,-apple-system,sans-serif!important;font-size:.78rem!important;letter-spacing:.18em;text-transform:uppercase;color:var(--gh-ink)!important;font-weight:600;}
.main-header-menu a,.ast-header-account-link{color:var(--gh-ink)!important;font-family:system-ui,-apple-system,sans-serif!important;font-size:.78rem!important;letter-spacing:.08em;text-transform:uppercase;}
.site-footer,.ast-footer-copyright{background:var(--gh-ink)!important;color:#d8cfc4!important;}
.site-footer a{color:#fff;}
@media(max-width:800px){
.gh-hero{min-height:78vh;}
.gh-grid{grid-template-columns:1fr 1fr;}
.gh-grid img{height:220px;}
.gh-split,.gh-cards{grid-template-columns:1fr;}
.gh-btn.ghost{margin-left:0;margin-top:.6rem;display:inline-block;}
}
@media(max-width:520px){
.gh-grid{grid-template-columns:1fr;}
.gh-grid img{height:260px;}
}

/* --- mobile drawer readability fix (homelab agent, 2026-09-14) --- */
@media(max-width:921px){
.ast-mobile-site-navigation,#ast-mobile-site-navigation,.ast-menu-shadow{background:var(--gh-paper)!important;}
.ast-mobile-site-navigation a,.ast-mobile-site-navigation a:visited{color:var(--gh-ink)!important;background:transparent!important;}
.ast-mobile-site-navigation a:hover,.ast-mobile-site-navigation .current-menu-item > a{color:var(--gh-accent)!important;background:rgba(138,106,59,.08)!important;}
.ast-mobile-site-navigation .ast-menu-toggle{color:var(--gh-ink)!important;}
.ast-mobile-site-navigation .sub-menu{background:var(--gh-paper)!important;border-color:var(--gh-line)!important;}
.ast-mobile-header-stack .main-header-bar{background:var(--gh-paper)!important;}
.ast-mobile-site-navigation svg{fill:var(--gh-ink)!important;}
}

