.cagp-unified{--cg-bg:#f3f0e8;--cg-ink:#20352c;--cg-line:#ccc6b8;--cg-muted:#586259;--cg-gold:#887244;--cg-gutter:16px;--cg-header:72px;padding-bottom:0!important}
html[data-theme=night] .cagp-unified{--cg-bg:#17261f;--cg-ink:#f3f0e8;--cg-line:#46574b;--cg-muted:#b9c2b9;--cg-gold:#c4ad78}
.cagp-unified .ca-menu,.cagp-unified .ark-app-nav,.cagp-unified .ca-mobile-dock,.cagp-unified .ca-mobile-header{display:none!important}
.cagp-header,.cagp-menu,.cagp-footer{box-sizing:border-box;font:400 16px/1.5 Outfit,Arial,sans-serif;color:var(--cg-ink);background:var(--cg-bg);letter-spacing:normal;text-transform:none}
:is(.cagp-header,.cagp-menu,.cagp-footer) *{box-sizing:border-box}
:is(.cagp-header,.cagp-menu,.cagp-footer) a{color:inherit;text-decoration:none;border:0;font:inherit;letter-spacing:normal;text-transform:none}
:is(.cagp-header,.cagp-menu,.cagp-footer) a:focus-visible,:is(.cagp-header,.cagp-menu,.cagp-footer) button:focus-visible{outline:2px solid var(--cg-gold);outline-offset:5px}
:is(.cagp-header,.cagp-menu,.cagp-footer) svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.cagp-header{height:var(--cg-header);padding:0 var(--cg-gutter);display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:100;border-bottom:1px solid var(--cg-line);width:100%}
.cagp-header .brand{width:140px;margin-right:auto;display:flex;min-height:48px;align-items:center}.cagp-header .brand img{display:block;width:100%;height:auto;max-width:none}
.cagp-header nav{display:none}.cagp-header button{background:none;border:0;color:inherit;font:inherit;width:48px;height:48px;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%}.cagp-header button svg{transition:transform .3s}.cagp-header .theme:hover svg{transform:rotate(-14deg)}
.cagp-menu{position:fixed;top:var(--cg-header);left:0;right:0;border-bottom:1px solid var(--cg-line);padding:16px var(--cg-gutter) 24px;z-index:101}.cagp-menu[hidden]{display:none!important}.cagp-menu a{display:block;padding:16px 0;font-size:22px}
body.cagp-unified>footer.cagp-footer{width:min(calc(100% - var(--cg-gutter)*2),1680px);margin:0 auto;padding:28px 0;border:0;border-top:1px solid var(--cg-line);display:grid;grid-template-columns:1fr auto;gap:20px;min-height:0;position:relative}
.cagp-footer .footer-brand{font-size:22px;letter-spacing:-.035em}.cagp-footer>span{font-size:11px;color:var(--cg-muted);grid-column:1;grid-row:2}.cagp-footer .back-top{grid-column:2;grid-row:1/3;display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--cg-line);border-radius:50%}.cagp-footer .footer-links{display:flex;flex-wrap:wrap;gap:0 24px;font-size:12px;grid-column:1/-1}.cagp-footer .footer-links a{display:flex;align-items:center;min-height:44px}.cagp-footer .back-top:hover svg{transform:translateY(-3px)}
html[data-theme=night] .cagp-header .brand img{filter:invert(1)}
@media(min-width:768px){.cagp-unified{--cg-gutter:24px;--cg-header:84px}.cagp-header .brand{width:180px}}
@media(min-width:1024px){.cagp-unified{--cg-gutter:40px;--cg-header:92px}.cagp-header{gap:24px}.cagp-header nav{display:flex;align-items:center;gap:32px;font-size:13px}.cagp-header nav a{display:flex;align-items:center;min-height:48px}.cagp-header .contact{background:var(--cg-ink);color:var(--cg-bg);padding:12px 22px;border-radius:2px}.cagp-header .menu-toggle,.cagp-menu{display:none!important}body.cagp-unified>footer.cagp-footer{grid-template-columns:1fr 1fr auto;align-items:center}.cagp-footer>span{grid-column:2;grid-row:1;justify-self:end}.cagp-footer .back-top{grid-column:3;grid-row:1}.cagp-footer .footer-links{justify-content:flex-end}}
@media(min-width:1280px){.cagp-unified{--cg-gutter:48px}}@media(min-width:1536px){.cagp-unified{--cg-gutter:64px}.cagp-header{padding-inline:var(--cg-gutter)}}
@media(prefers-reduced-motion:reduce){.cagp-header button svg,.cagp-footer svg{transition:none;transform:none!important}}

/* Full-width footer surface; content aligns with the shared header. */
body.cagp-unified>footer.cagp-footer{width:100%;max-width:none;margin:0;padding:28px var(--cg-gutter);background:transparent;box-shadow:none}

/* Match the page palette in both day and night modes. */
body.cagp-unified{--cg-bg:var(--lux-bg,#f3f0e8)}
