
/* Holy Automation — shared interior system. Layered after legacy component CSS. */
:root{--cream:#f2eee6;--cream-2:#e9e5dc;--char:#0b100e;--char-hi:#17201b;--ink:#18221c;--ink-2:#3b473f;--ink-3:#657067;--ink-d:#f2eee6;--gold:#a27732;--charcoal:#18221c;--charcoal-60:#58635a;--charcoal-20:#d2d7cf;--white:#faf8f3;--serif:'Manrope',sans-serif;--sans:'DM Sans',sans-serif;--font-display:'Manrope',sans-serif;--line-light:#d5d6ca;--line-dark:#30392f}
html{scroll-padding-top:100px}body.ha-interior{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);line-height:1.65;overflow-x:clip}
.ha-interior h1,.ha-interior h2,.ha-interior h3{font-family:var(--serif);text-wrap:balance;letter-spacing:-.045em}.ha-interior h2{line-height:1.12}.ha-interior p{line-height:1.75}.ha-interior img{max-width:100%;height:auto}.ha-interior .accent{font-family:'Playfair Display',Georgia,serif;color:#ab803c}
.ha-interior .container{max-width:1320px;padding-inline:clamp(24px,5vw,80px)}
.ha-skip{position:fixed;top:-100px;left:16px;z-index:1000;background:#e3bd76;color:#101810;padding:12px}.ha-skip:focus{top:12px}
.ha-header{position:relative;z-index:100;display:flex;align-items:center;gap:30px;min-height:94px;padding:22px clamp(22px,4vw,64px);background:#080c0a;color:#f2eee6;border-bottom:1px solid #ffffff20;line-height:1.2}
.ha-logo{display:flex;align-items:center;gap:10px;flex-shrink:0;text-decoration:none!important}.ha-logo img:first-child{width:48px;height:48px;object-fit:contain}.ha-logo img:last-child{width:142px;height:auto}.ha-navigation{margin-left:auto;display:flex;gap:25px;align-items:center}.ha-navigation a{font-size:12px;text-decoration:none;white-space:nowrap;color:#c6cabc}.ha-navigation a:hover,.ha-navigation a[aria-current=page]{color:#e3bd76}.ha-book{padding:12px 18px;border:1px solid #777b60;border-radius:3px;white-space:nowrap;color:#e3bd76!important;font-size:12px;text-decoration:none!important}.ha-toggle{display:none;color:#f2eee6;border:1px solid #777b60;padding:10px 14px;background:transparent;font:inherit;cursor:pointer}
.ha-interior .ha-hero{position:relative;isolation:isolate;overflow:hidden;background:#080c0a!important;color:#f2eee6!important;padding:clamp(64px,9vw,132px) clamp(24px,5vw,80px) 90px!important;min-height:470px;border:0;border-bottom:1px solid #e3bd7630;max-width:none!important;margin:0!important}
.ha-hero:before{content:'';pointer-events:none;position:absolute;z-index:-1;width:min(680px,90vw);aspect-ratio:1;right:-8%;top:-25%;border:1px solid #e3bd7629;border-radius:50%;box-shadow:0 0 0 90px #e3bd7605,0 0 0 180px #e3bd7603;background:radial-gradient(ellipse,#8c74351c,transparent 68%)}
.ha-hero:after{content:'HOLY / '+attr(data-chapter);position:absolute;bottom:24px;right:clamp(24px,5vw,80px);font:10px var(--mono,monospace);letter-spacing:.2em;color:#919b8c}
.ha-interior .ha-hero .container{padding:0;max-width:1160px}.ha-interior .ha-hero h1{font-size:clamp(42px,5.9vw,88px)!important;font-weight:400!important;line-height:1.04!important;max-width:1050px;letter-spacing:-.055em!important;color:#f4f1e8!important;margin:20px 0 26px!important}.ha-interior .ha-hero p{color:#b5bdb1!important;max-width:660px;font-size:18px!important}.ha-hero .eyebrow,.ha-hero [class*='eyebrow'],.ha-hero .accent{color:#e3bd76!important}.ha-hero a:not(.btn-solid):not(.btn-ghost){color:#e3bd76}.ha-hero .btn-solid{background:#e3bd76;color:#101610}.ha-hero .btn-ghost{color:#e3bd76;border-color:#797e60}
.ha-breadcrumb{display:flex;gap:12px;align-items:center;font:11px var(--sans);letter-spacing:.15em;text-transform:uppercase;margin-bottom:30px;color:#8d9c8d}.ha-breadcrumb a{color:inherit!important;text-decoration:none}
.ha-interior .section--dark{background:#0e1511;--gold:#e3bd76}.ha-interior .section--dark .accent{color:#e3bd76}.ha-interior .btn-solid{border-radius:3px;min-height:48px}.ha-interior .btn-ghost{border-radius:3px;min-height:48px}.ha-interior :is(input,select,textarea){font:inherit;max-width:100%}.ha-interior :focus-visible{outline:2px solid #b08742;outline-offset:5px}.ha-interior .reveal{opacity:1;transform:none}
.ha-interior :is(.card,.metric-box){border:1px solid #d5d6ca;border-radius:6px;padding:26px;background:#faf8f3}.ha-interior .card h3{font-size:21px;margin-bottom:14px}.ha-interior .card li{padding-block:5px}.ha-interior .card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.ha-interior .cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ha-interior .metric-row{display:flex;flex-wrap:wrap;gap:24px}.ha-interior .metric-box{flex:1;min-width:180px}.ha-interior .metric-box .num{font-size:42px;color:#876122}.ha-interior .hero-secondary__inner{max-width:1160px;margin:auto}
.ha-reading #ha-main{max-width:850px;margin:0 auto;padding:72px 28px}.ha-reading #ha-main :is(article,.post-container,.wrap){max-width:100%!important;padding:0!important;margin:0!important}.ha-reading #ha-main h2{font-size:30px!important;line-height:1.2;margin:44px 0 18px!important}.ha-reading #ha-main p,.ha-reading #ha-main li{font-size:17px!important;line-height:1.85!important}.ha-reading #ha-main a{ text-decoration:underline;text-underline-offset:4px}.ha-reading #ha-main ul{list-style:disc;padding-left:24px}.ha-reading .ha-hero h1{max-width:1100px;font-size:clamp(38px,4.9vw,72px)!important}.ha-reading .ha-hero{min-height:390px}
.ha-related{padding:80px clamp(24px,5vw,80px);background:#111a14;color:#f2eee6;border-top:1px solid #ffffff20}.ha-related-inner{max-width:1160px;margin:auto}.ha-related small{color:#b6a777;letter-spacing:.18em;text-transform:uppercase}.ha-related h2{font:400 clamp(30px,4vw,54px)/1.12 'Manrope',sans-serif;margin:18px 0 40px;color:#f2eee6;letter-spacing:-.05em}.ha-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.ha-related-grid a{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff35;padding:24px 0;color:#e3bd76;text-decoration:none}.ha-related-grid a:hover{color:white}.ha-footer{padding:55px clamp(24px,5vw,80px) 26px;background:#080c0a;color:#aeb6a8;font:14px/1.6 'DM Sans',sans-serif}.ha-footer-top{display:flex;justify-content:space-between;gap:45px;max-width:1160px;margin:auto}.ha-footer p{max-width:290px;margin:20px 0}.ha-footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.ha-footer-links div{display:flex;flex-direction:column;gap:10px}.ha-footer a{color:#c1c8bb;text-decoration:none}.ha-footer a:hover{color:#e3bd76}.ha-footer small{display:block;max-width:1160px;margin:40px auto 0;padding-top:20px;border-top:1px solid #ffffff20;color:#7f8b7b}
.ha-tool #ha-main{min-height:55vh}.ha-tool .ha-tool-context{padding:28px clamp(24px,5vw,80px);background:#111a14;color:#c1c8bb;font-size:12px;letter-spacing:.13em;text-transform:uppercase}.ha-tool .ha-tool-context a{color:#e3bd76}.ha-interior .ha-section-index{display:block;color:#a27732;font:10px var(--mono,monospace);letter-spacing:.2em;margin-bottom:18px}.section--dark .ha-section-index{color:#b6a777}
@media(min-width:900px){.ha-family-work .ha-hero{min-height:530px}.ha-family-industry .ha-hero h1{max-width:920px}}
@media(max-width:1050px){.ha-header{gap:16px}.ha-navigation{gap:14px}.ha-logo img:last-child{width:118px}}
@media(max-width:800px){.ha-header{flex-wrap:wrap;min-height:80px;padding:16px 22px}.ha-toggle{display:block;margin-left:auto}.ha-header>.ha-book{display:none}.ha-navigation{display:none;order:4;flex-basis:100%;margin:0;flex-direction:column;align-items:stretch;gap:0;padding:15px 0}.ha-navigation[data-open]{display:flex}.ha-navigation a{padding:14px 0;font-size:16px}.ha-navigation a:last-child{display:block}.ha-interior .ha-hero{min-height:370px;padding-bottom:70px!important}.ha-interior .card-grid,.ha-interior .cols-3{grid-template-columns:1fr}.ha-related-grid{grid-template-columns:1fr}.ha-footer-top{flex-direction:column}.ha-footer-links{grid-template-columns:repeat(2,1fr)}.ha-interior .section-head{grid-template-columns:1fr;gap:24px}.ha-interior h2{font-size:clamp(28px,7vw,44px)}.ha-reading #ha-main{padding:45px 22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ha-interior *{animation:none!important;transition:none!important}}

.ha-navigation .ha-mobile-book{display:none}@media(max-width:800px){.ha-navigation .ha-mobile-book{display:block;color:#e3bd76}}

/* G 2026-09-11 -- mobile overflow fixes (found by 48-page sweep) */
@media(max-width:680px){.trust__grid{grid-template-columns:1fr!important;gap:30px!important;display:grid!important}.trust__col{border-left:0!important;padding-left:0!important}.ha-msgs,.ha-hdr,.ha-chat,.ha-chatwrap{max-width:100%!important;width:auto!important}img,svg,video,iframe,table,pre{max-width:100%}}

@media(max-width:680px){.nl-nav{flex-wrap:wrap;gap:10px}.nl-nav__name{font-size:14px;overflow-wrap:anywhere}}
