/* Final homepage rhythm. Keep component-specific artwork and shared navigation intact. */
body.ar-home {
 --ar-navy:#101840; --ar-ink:#101840; --ar-orange:#f76200;
 --ar-muted:#626979; --ar-line:#e1e4e5;
 --aban-section-space:88px; --aban-title-size:40px; --aban-heading-gap:36px;
 --aban-card-gap:24px; --aban-motion-time:.4s;
}
/* Decorative offsets and animated tracks must not enlarge the page viewport.
   Clip (rather than hidden) keeps vertical sticky positioning intact. */
html:has(> body.ar-home) { overflow-x:clip; }
body.ar-home { width:100%; max-width:100%; overflow-x:clip; }
body.ar-home main { min-width:0; max-width:100%; overflow-x:clip; }
body.ar-home main .ar-container > * { min-width:0; }
body.ar-home main .ar-container { width:calc(100% - 64px); max-width:1360px; }
body.ar-home main :is(#about,#aban-modules,#aban-governance,#aban-industries,#consult,#gallery,#aban-roles,#aban-correspondence,#aban-resources),
body.ar-home main .ar-process { padding-block:var(--aban-section-space); scroll-margin-top:96px; }
body.ar-home main .ar-section h2,
body.ar-home main :is(#about,#aban-modules,#aban-governance,#aban-industries,#consult,#gallery,#aban-roles,#aban-correspondence,#aban-resources) h2 {
 font-size:var(--aban-title-size); line-height:1.5; font-weight:700; letter-spacing:0; text-wrap:balance;
}
body.ar-home main .ar-section .ar-heading,
body.ar-home main :is(#about,#aban-modules,#aban-governance,#aban-industries,#consult,#gallery,#aban-roles,#aban-correspondence,#aban-resources) .ar-heading {
 margin-bottom:var(--aban-heading-gap);
}
body.ar-home main .ar-section-row { gap:24px; margin-bottom:var(--aban-heading-gap); }
body.ar-home main :is(#aban-modules,#aban-roles,#aban-resources) .ar-section-row .ar-heading { margin-bottom:0; }
body.ar-home main .ar-section .ar-kicker,
body.ar-home main :is(#about,#aban-modules,#aban-governance,#aban-industries,#consult,#gallery,#aban-roles,#aban-correspondence,#aban-resources) .ar-kicker {
 font-size:16px; line-height:1.8; font-weight:700; margin-bottom:12px;
}
body.ar-home main .ar-heading > p { font-size:16px; line-height:2; }
body.ar-home main .ar-button { min-height:48px; line-height:1.8; font-size:14px; }
body.ar-home main :is(.ar-actions,.ar-section-row,.ar-form-foot)>* { min-width:0; }
body.ar-home main a:focus-visible,body.ar-home main button:focus-visible { outline:3px solid #f76200; outline-offset:4px; }
body.ar-home main .ar-section-row > .ar-button { flex-shrink:0; }
body.ar-home #consult :is(input,textarea,select) { font-size:16px; max-width:100%; }
body.ar-home #consult .ar-consult-form { min-width:0; }
body.ar-home #consult .ar-form-status { overflow-wrap:anywhere; }
body.ar-home .ar-lightbox { max-width:calc(100vw - 32px); }
@media(min-width:1025px) { body.ar-home #about .ar-heading { margin-bottom:37px; } }
@media(max-width:1399px) { body.ar-home main .ar-container { max-width:1250px; } }
@media(max-width:1199px) { body.ar-home main .ar-container { max-width:960px; } }
@media(max-width:1024px) {
 body.ar-home { --aban-section-space:72px; --aban-title-size:32px; --aban-heading-gap:32px; }
 body.ar-home #consult .ar-consult-form { padding-inline:0; }
}
@media(max-width:991px) { body.ar-home main .ar-container { max-width:720px; } }
@media(max-width:767px) {
 body.ar-home { --aban-section-space:44px; --aban-title-size:28px; --aban-heading-gap:24px; }
 body.ar-home main .ar-container { width:calc(100% - 40px); max-width:540px; }
 body.ar-home main .ar-section .ar-kicker,
 body.ar-home main :is(#about,#aban-modules,#aban-governance,#aban-industries,#consult,#gallery,#aban-roles,#aban-correspondence,#aban-resources) .ar-kicker { font-size:14px; }
 body.ar-home main .ar-section-row { display:flex; flex-direction:column; align-items:flex-start; gap:20px; }
 body.ar-home main .ar-section-row > .ar-button { margin-top:0; }
 body.ar-home main .ar-hero .ar-actions { flex-wrap:wrap; gap:16px 20px; }
 body.ar-home main .ar-hero .ar-button { padding-inline:18px; }
 body.ar-home main .ar-hero .ar-button--line { padding-inline:0; }
 body.ar-home main .ar-hero-line { white-space:normal; }
 body.ar-home #aban-industries .ar-filters { margin:0 0 32px; gap:4px; }
 body.ar-home #aban-industries .ar-filters button { margin:0; padding-inline:16px; line-height:52px; }
 body.ar-home #consult .ar-form-foot { flex-direction:column; align-items:stretch; gap:16px; }
 body.ar-home #consult .ar-form-foot > a { text-align:center; overflow-wrap:anywhere; }
 body.ar-home #consult .ar-form-foot .ar-button { width:100%; justify-content:center; }
 body.ar-home #aban-roles { margin-top:0; }
 body.ar-home #aban-resources .ar-resource-copy { padding:24px; }
 body.ar-home #aban-resources .ar-resource { min-height:470px; }
 body.ar-home #aban-correspondence .ar-story-grid article { min-height:350px; }
}
@media(max-width:375px) {
 body.ar-home { --aban-title-size:25px; }
 body.ar-home main .ar-hero h1 { font-size:32px; }
 body.ar-home main .ar-hero-inner { width:calc(100% - 32px); }
 body.ar-home main .ar-hero .ar-actions { align-items:flex-start; flex-direction:column; }
 body.ar-home #aban-resources .ar-resource-copy { padding:20px; }
 body.ar-home #aban-industries .ar-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.ar-home #aban-industries .ar-filters button { min-width:0; padding-inline:10px; }
}
@media(prefers-reduced-motion:no-preference) {
 body.ar-home main [data-reveal] { transition-duration:.7s; transition-timing-function:cubic-bezier(.22,.61,.36,1); }
 body.ar-home main .ar-pending { transform:translateY(24px); }
}
@media(prefers-reduced-motion:reduce) {
 body.ar-home { scroll-behavior:auto; }
 body.ar-home main *,body.ar-home main *::before,body.ar-home main *::after {
  animation:none!important; transition-duration:0s!important; transition-delay:0s!important; scroll-behavior:auto!important;
 }
 body.ar-home main .ar-pending { opacity:1; transform:none; }
}
