/* =============================================================
   ASH & BLOOD — Site Footer v13
   A cinematic closing chapter shared across the public website.
   ============================================================= */
.ab-footer-v13{
  --ab-footer-accent:rgb(var(--ab-atmos-rgb,215,170,70));
  position:relative;
  z-index:10;
  isolation:isolate;
  overflow:hidden;
  text-align:left!important;
  padding:0!important;
  border-top:1px solid rgba(var(--ab-atmos-rgb,215,170,70),.14)!important;
  color:var(--ab-bone-2,#c9c0b3);
  background:
    radial-gradient(ellipse at 17% -8%,rgba(var(--ab-atmos-rgb,215,170,70),.085),transparent 36%),
    radial-gradient(ellipse at 88% 20%,rgba(var(--ab-atmos-rgb,215,170,70),.035),transparent 30%),
    linear-gradient(180deg,#0a0b0c 0%,#070809 48%,#050607 100%)!important;
  box-shadow:0 -34px 90px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.012)!important;
}
.ab-footer-v13::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:
    repeating-linear-gradient(115deg,rgba(255,255,255,.006) 0 1px,transparent 1px 16px),
    linear-gradient(90deg,rgba(0,0,0,.22),transparent 28%,transparent 72%,rgba(0,0,0,.22));
  opacity:.75;
}
.ab-footer-v13::after{
  content:"";position:absolute;left:50%;top:0;width:min(78vw,1100px);height:1px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(var(--ab-atmos-rgb,215,170,70),.55),transparent);
  box-shadow:0 0 26px rgba(var(--ab-atmos-rgb,215,170,70),.16);
}
.ab-footer-v13__atmos{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:-1}
.ab-footer-v13__glow{position:absolute;border-radius:50%;filter:blur(80px);opacity:.11;background:rgba(var(--ab-atmos-rgb,215,170,70),.55)}
.ab-footer-v13__glow--one{width:420px;height:260px;left:-110px;top:80px}
.ab-footer-v13__glow--two{width:360px;height:240px;right:-90px;bottom:30px;opacity:.06}
.ab-footer-v13__sigil{position:absolute;right:max(2vw,20px);top:30px;width:280px;height:280px;opacity:.018;filter:grayscale(1) contrast(1.2);transform:rotate(-7deg)}
.ab-footer-v13__sigil img{width:100%;height:100%;object-fit:contain}
.ab-footer-v13__shell{position:relative;width:min(1500px,calc(100% - clamp(2rem,7vw,7rem)));margin:0 auto}

/* Footer isolation: the legacy site stylesheet intentionally styles bare <nav> and <section>
   elements for the main header/page layout. Keep the footer immune to those global rules. */
.ab-footer-v13 .ab-footer-v13__lead,
.ab-footer-v13 .ab-footer-v13__directory{
  position:relative;
  inset:auto;
  width:100%;
  max-width:none;
  margin:0;
  box-sizing:border-box;
}
.ab-footer-v13 .ab-footer-v13__col{
  position:relative!important;
  inset:auto!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  width:auto!important;height:auto!important;
  padding:0!important;
  background:none!important;
  border:0;
  box-shadow:none;
  z-index:auto!important;
}

.ab-footer-v13__lead{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:clamp(2rem,5vw,5rem);align-items:center;padding:clamp(3.4rem,7vw,6.3rem) 0 clamp(2.6rem,5vw,4.2rem)}
.ab-footer-v13__lead-copy{max-width:850px}
.ab-footer-v13__kicker{display:flex;align-items:center;gap:.75rem;color:rgba(var(--ab-atmos-rgb,215,170,70),.86);font:600 .58rem/1 'Cinzel',serif;letter-spacing:.24em;text-transform:uppercase;margin-bottom:1rem}
.ab-footer-v13__kicker span{width:28px;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--ab-atmos-rgb,215,170,70),.55))}
.ab-footer-v13__kicker span:last-child{transform:scaleX(-1)}
.ab-footer-v13__lead h2{margin:0;color:#ede4d7;font:600 clamp(2rem,4vw,4.15rem)/1.06 'Cinzel Decorative','Cinzel',serif;letter-spacing:-.025em;text-wrap:balance;text-shadow:0 10px 30px rgba(0,0,0,.52)}
.ab-footer-v13__lead h2 em{font-style:normal;color:rgba(var(--ab-atmos-rgb,215,170,70),.92)}
.ab-footer-v13__lead-copy>p{max-width:740px;margin:1.1rem 0 0;color:#91887d;font:400 clamp(.82rem,1.2vw,.96rem)/1.85 'Noto Serif',serif}
.ab-footer-v13__actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.55rem}
.ab-footer-v13__btn{display:inline-flex;align-items:center;justify-content:center;gap:.58rem;min-height:44px;padding:.72rem .95rem;border:1px solid rgba(231,220,200,.105);border-radius:7px;background:rgba(255,255,255,.018);color:#c9c0b3;text-decoration:none;font:600 .62rem/1 'Cinzel',serif;letter-spacing:.075em;text-transform:uppercase;transition:.2s ease}
.ab-footer-v13__btn:hover{color:#efe5d6;border-color:rgba(var(--ab-atmos-rgb,215,170,70),.28);background:rgba(var(--ab-atmos-rgb,215,170,70),.045);transform:translateY(-2px)}
.ab-footer-v13__btn--primary{color:#11100d;background:linear-gradient(135deg,rgba(var(--ab-atmos-rgb,215,170,70),.96),rgba(var(--ab-atmos-rgb,215,170,70),.7));border-color:rgba(var(--ab-atmos-rgb,215,170,70),.55);box-shadow:0 10px 32px rgba(var(--ab-atmos-rgb,215,170,70),.08)}
.ab-footer-v13__btn--primary:hover{color:#090807;background:rgba(var(--ab-atmos-rgb,215,170,70),1);box-shadow:0 16px 40px rgba(var(--ab-atmos-rgb,215,170,70),.14)}

.ab-footer-v13__server{position:relative;padding:1.35rem;border:1px solid rgba(231,220,200,.09);border-radius:12px;background:linear-gradient(145deg,rgba(22,23,24,.86),rgba(10,11,12,.9));box-shadow:0 22px 56px rgba(0,0,0,.27),inset 0 1px rgba(255,255,255,.018);backdrop-filter:blur(10px);overflow:hidden}
.ab-footer-v13__server::before{content:"";position:absolute;inset:0;border-left:2px solid rgba(var(--ab-atmos-rgb,215,170,70),.3);pointer-events:none}
.ab-footer-v13__server-head,.ab-footer-v13__server-name{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.ab-footer-v13__eyebrow{color:rgba(var(--ab-atmos-rgb,215,170,70),.78);font:600 .52rem/1.2 'Cinzel',serif;letter-spacing:.17em;text-transform:uppercase}
.ab-footer-v13__live{display:inline-flex;align-items:center;gap:.42rem;color:#8b8378;font:600 .56rem 'Cinzel',serif;text-transform:uppercase;letter-spacing:.09em}
.ab-footer-v13__live i{width:7px;height:7px;border-radius:50%;background:#6e675e;box-shadow:0 0 0 4px rgba(110,103,94,.08)}
.ab-footer-v13.is-server-online .ab-footer-v13__live{color:#8fb07f}.ab-footer-v13.is-server-online .ab-footer-v13__live i{background:#80aa6f;box-shadow:0 0 0 4px rgba(128,170,111,.09),0 0 13px rgba(128,170,111,.35)}
.ab-footer-v13.is-server-offline .ab-footer-v13__live{color:#aa7772}.ab-footer-v13.is-server-offline .ab-footer-v13__live i{background:#9c5c57;box-shadow:0 0 0 4px rgba(156,92,87,.09)}
.ab-footer-v13__server-name{align-items:flex-end;margin:1.15rem 0 .95rem;padding-bottom:.85rem;border-bottom:1px solid rgba(231,220,200,.075)}
.ab-footer-v13__server-name strong{color:#eee4d5;font:700 1rem 'Cinzel',serif}.ab-footer-v13__server-name span{color:#746e66;font:.62rem 'Noto Serif',serif}
.ab-footer-v13__server-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.ab-footer-v13__server-grid span{min-width:0;padding:.72rem;background:rgba(255,255,255,.012);border:1px solid rgba(231,220,200,.055);border-radius:6px}
.ab-footer-v13__server-grid small{display:block;color:#716a61;font:500 .49rem 'Cinzel',serif;letter-spacing:.1em;text-transform:uppercase}.ab-footer-v13__server-grid b{display:block;margin-top:.3rem;color:#c9c0b3;font:600 .66rem 'Cinzel',serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ab-footer-v13__traits{display:flex;flex-wrap:wrap;gap:.38rem;margin-top:.8rem}.ab-footer-v13__traits span{padding:.28rem .42rem;border:1px solid rgba(var(--ab-atmos-rgb,215,170,70),.13);border-radius:999px;color:#827a70;background:rgba(var(--ab-atmos-rgb,215,170,70),.018);font:600 .46rem 'Cinzel',serif;letter-spacing:.075em;text-transform:uppercase}

.ab-footer-v13__rule{display:flex;align-items:center;justify-content:center;gap:.8rem;color:rgba(var(--ab-atmos-rgb,215,170,70),.36)}
.ab-footer-v13__rule span{height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(231,220,200,.09))}.ab-footer-v13__rule span:last-child{transform:scaleX(-1)}.ab-footer-v13__rule i{font-size:.38rem}

.ab-footer-v13__directory{display:grid;grid-template-columns:minmax(250px,1.45fr) repeat(4,minmax(145px,1fr));gap:clamp(1.15rem,2.2vw,2.3rem);align-items:start;padding:clamp(1.8rem,3.2vw,2.8rem) 0}
.ab-footer-v13__identity{padding-right:clamp(0rem,2vw,2rem)}
.ab-footer-v13__brand{display:flex;align-items:center;gap:.82rem;color:#e8decf;text-decoration:none;width:max-content;max-width:100%}
.ab-footer-v13__brand-mark{width:54px;height:54px;display:grid;place-items:center;flex:none;border:1px solid rgba(var(--ab-atmos-rgb,215,170,70),.15);border-radius:50%;background:radial-gradient(circle,rgba(var(--ab-atmos-rgb,215,170,70),.055),rgba(0,0,0,.08));box-shadow:0 8px 26px rgba(0,0,0,.28)}
.ab-footer-v13__brand-mark img{width:47px;height:47px;object-fit:contain;filter:drop-shadow(0 4px 14px rgba(0,0,0,.55))}
.ab-footer-v13__brand strong{display:block;font:700 .9rem 'Cinzel Decorative','Cinzel',serif;letter-spacing:.025em}.ab-footer-v13__brand small{display:block;margin-top:.2rem;color:#746d64;font:500 .49rem 'Cinzel',serif;letter-spacing:.12em;text-transform:uppercase}
.ab-footer-v13__identity>p{max-width:440px;margin:1rem 0;color:#7e776e;font:.73rem/1.75 'Noto Serif',serif}
.ab-footer-v13__micro-links{display:flex;flex-wrap:wrap;gap:.3rem .8rem}.ab-footer-v13__micro-links a,.ab-footer-v13__micro-links button{display:inline-flex;align-items:center;gap:.32rem;border:0;background:none;padding:.15rem 0;color:#81796f;text-decoration:none;cursor:pointer;font:500 .57rem 'Cinzel',serif;letter-spacing:.04em}.ab-footer-v13__micro-links a:hover,.ab-footer-v13__micro-links button:hover{color:rgba(var(--ab-atmos-rgb,215,170,70),.95)}
.ab-footer-v13__col{display:flex;flex-direction:column;align-items:stretch;gap:.28rem;min-width:0}
.ab-footer-v13__col>.ab-footer-v13__eyebrow{margin-bottom:.45rem;padding-bottom:.65rem;border-bottom:1px solid rgba(231,220,200,.065)}
.ab-footer-v13__col>a{display:grid;grid-template-columns:24px minmax(0,1fr);gap:.48rem;align-items:center;padding:.46rem .4rem;margin-left:-.4rem;border:1px solid transparent;border-radius:6px;color:#8e867b;text-decoration:none;transition:.18s ease}
.ab-footer-v13__col>a>i{color:rgba(var(--ab-atmos-rgb,215,170,70),.48);font-size:.74rem;text-align:center}.ab-footer-v13__col>a strong{display:block;color:#a69d91;font:600 .59rem 'Cinzel',serif;letter-spacing:.02em}.ab-footer-v13__col>a small{display:block;margin-top:.1rem;color:#625c55;font:.58rem 'Noto Serif',serif}
.ab-footer-v13__col>a:hover{background:rgba(var(--ab-atmos-rgb,215,170,70),.027);border-color:rgba(var(--ab-atmos-rgb,215,170,70),.07);transform:translateX(3px)}.ab-footer-v13__col>a:hover strong{color:#e4dbcd}.ab-footer-v13__col>a:hover i{color:rgba(var(--ab-atmos-rgb,215,170,70),.9)}

.ab-footer-v13__bottom{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.15rem 0 1.35rem;border-top:1px solid rgba(231,220,200,.07);color:#5d5851;font:.54rem/1.6 'Noto Serif',serif}
.ab-footer-v13__bottom>div:first-child{display:flex;flex-wrap:wrap;gap:.4rem .65rem;align-items:center}.ab-footer-v13__bottom strong{color:#777067;font:600 .53rem 'Cinzel',serif;text-transform:uppercase;letter-spacing:.07em}
.ab-footer-v13__bottom-links{display:flex;align-items:center;justify-content:flex-end;gap:.8rem;flex-wrap:wrap}.ab-footer-v13__bottom-links>a,.ab-footer-v13__bottom-links>button{border:0;background:none;padding:0;color:#746d64;text-decoration:none;cursor:pointer;font:600 .52rem 'Cinzel',serif;letter-spacing:.05em}.ab-footer-v13__bottom-links>a:hover,.ab-footer-v13__bottom-links>button:hover{color:rgba(var(--ab-atmos-rgb,215,170,70),.9)}.ab-footer-v13__bottom-links button{display:inline-flex;align-items:center;gap:.3rem}

body.ab-high-contrast .ab-footer-v13{border-top-color:rgba(255,255,255,.28)!important}.ab-high-contrast .ab-footer-v13__col>a strong,.ab-high-contrast .ab-footer-v13__identity>p,.ab-high-contrast .ab-footer-v13__lead-copy>p{color:#d2cbc1}.ab-high-contrast .ab-footer-v13__col>a small{color:#aaa298}
body.ab-effects-off .ab-footer-v13__atmos{display:none}
body.ab-motion-none .ab-footer-v13__btn,body.ab-motion-none .ab-footer-v13__col>a{transition:none!important}

@media (max-width:1280px){
  .ab-footer-v13__lead{grid-template-columns:minmax(0,1fr) 320px;gap:2rem}
  .ab-footer-v13__directory{grid-template-columns:minmax(250px,1.25fr) repeat(2,minmax(180px,1fr));gap:1.5rem 2rem}
  .ab-footer-v13__identity{grid-row:span 2}
}
@media (min-width:1281px){
  .ab-footer-v13__directory{grid-template-columns:minmax(260px,1.45fr) repeat(4,minmax(150px,1fr))}
}
@media (max-width:820px){
  .ab-footer-v13__shell{width:min(100% - 2rem,720px)}
  .ab-footer-v13__lead{grid-template-columns:1fr;padding-top:3rem}
  .ab-footer-v13__server{max-width:560px}
  .ab-footer-v13__directory{grid-template-columns:1fr 1fr}
  .ab-footer-v13__identity{grid-column:1/-1;grid-row:auto;padding-right:0}
  .ab-footer-v13__bottom{align-items:flex-start;flex-direction:column}
  .ab-footer-v13__bottom-links{justify-content:flex-start}
}
@media (max-width:520px){
  .ab-footer-v13__shell{width:min(100% - 1.3rem,500px)}
  .ab-footer-v13__lead{padding-top:2.5rem;gap:1.5rem}
  .ab-footer-v13__lead h2{font-size:clamp(1.7rem,10vw,2.45rem)}
  .ab-footer-v13__actions{display:grid;grid-template-columns:1fr}.ab-footer-v13__btn{width:100%}
  .ab-footer-v13__server-grid{grid-template-columns:1fr 1fr}
  .ab-footer-v13__directory{grid-template-columns:1fr;gap:1.55rem}
  .ab-footer-v13__col>a{grid-template-columns:22px minmax(0,1fr)}
  .ab-footer-v13__sigil{width:190px;height:190px;right:-45px}
}
@media (prefers-reduced-motion:reduce){.ab-footer-v13__btn,.ab-footer-v13__col>a{transition:none!important}.ab-footer-v13__btn:hover,.ab-footer-v13__col>a:hover{transform:none!important}}
