@layer brand;
@layer brand {
  :root{--brand-gold:#b8a78a;--brand-gold-light:#dccbad;--brand-gold-dark:#827259}
  .academy-mark{display:block;object-fit:contain;flex-shrink:0;aspect-ratio:1}
  .academy-mark--icon{filter:saturate(.28) brightness(.88)}
  .academy-mark--badge{filter:saturate(.6) brightness(.91)}
  .academy-mark--full{mix-blend-mode:screen}
  .brand{gap:14px;min-width:0;flex-shrink:1}
  .brand .academy-mark{width:44px;height:44px;transition:filter .35s ease}
  .brand-wordmark{display:block;min-width:0}
  .brand strong{font:20px/1.4 var(--serif);font-weight:400;letter-spacing:.09em;color:#d3cdbf;white-space:nowrap}
  .brand strong i{font:12px/1 Georgia,serif;margin:0 .8em;color:var(--brand-gold-dark);vertical-align:middle}
  .brand small{font:7px/1.5 Georgia,serif;letter-spacing:.19em;color:var(--brand-gold);margin-top:5px;white-space:nowrap}
  .brand:hover .academy-mark{filter:saturate(.3) brightness(1)}
  .brand:hover strong{color:#e0d9ca}
  .brand--admission{gap:12px;text-align:left}
  .brand--admission .academy-mark{width:34px;height:34px}
  .brand--admission strong{font-size:16px;letter-spacing:.1em}
  .brand--admission small{font-size:5px;letter-spacing:.17em;margin-top:4px}
  .admission-header{gap:24px}.admission-index{margin-left:auto}
  .brand--footer .academy-mark{width:40px;height:40px}.brand--footer strong{font-size:18px}.brand--footer small{font-size:6px}
  .foil-tree.academy-mark{filter:saturate(.5) brightness(.84) drop-shadow(0 1px #0008)}
  .lid-brand>.academy-mark{width:112px;height:112px;margin-bottom:8px;opacity:.85}
  .lid-brand>span{font-size:13px;color:#9e8f73;letter-spacing:.22em}
  .lid-emboss .academy-mark{width:46px;height:46px;opacity:.45;filter:saturate(.18) brightness(.7) drop-shadow(0 1px #000)}
  .envelope-seal .academy-mark{width:27px;height:27px;filter:grayscale(.75) brightness(.45)}
  .letter-top>.academy-mark{width:44px;height:44px;filter:saturate(.2) brightness(.53)}
  .letter-stamp{display:block;width:110px;height:110px;border:0;border-radius:0;bottom:30px;right:45px;background:none;transform:rotate(-9deg);pointer-events:none;z-index:0}
  .letter-stamp .academy-mark{width:100%;height:100%;opacity:.32;filter:grayscale(.7) brightness(.5)}
  .letter-signature{margin-right:12px}
  .dossier-cover>.academy-mark{width:92px;height:92px;margin-bottom:38px;opacity:.82}
  .confirmation-seal{width:144px;height:144px;margin:0 auto 29px;opacity:0;transform:translateY(4px);transition:opacity 2.4s ease,transform 3s cubic-bezier(.16,1,.3,1)}
  .identity-visible .confirmation-seal{opacity:.88;transform:translateY(0)}
  .threshold-copy>.academy-mark{width:82px;height:82px;opacity:.8}
  .card-top .academy-mark{width:31px;height:31px}
  .collectible-card .academy-card-emblem{width:148px;height:148px;margin:23px auto 20px;border:0;border-radius:0;background:none}
  .academy-card-emblem::after{display:none}.academy-card-emblem>.academy-mark{width:100%;height:100%}
  .card-view-back>.academy-mark{width:104px;height:104px;margin-bottom:24px;opacity:.85}
  .forum-official-seal{position:absolute;right:210px;top:56px;width:100px;height:100px;opacity:.5;pointer-events:none}
  .forum-official-seal .academy-mark{width:100%;height:100%}
  .archives-page>.page-intro{position:relative;padding-right:160px}
  .archive-official-mark{position:absolute;right:0;top:65px;width:110px;height:110px;opacity:.7}
  .profile-official-mark{width:72px;height:72px;margin:0 0 22px;opacity:.8}
  @media(max-width:1100px){.brand{gap:11px}.brand strong{font-size:18px}.brand small{font-size:6px}.brand .academy-mark{width:40px;height:40px}.brand--admission strong{font-size:15px}.brand--admission .academy-mark{width:32px;height:32px}}
  @media(max-width:760px){
    .brand{gap:10px}.brand strong{font-size:16px;letter-spacing:.065em}.brand strong i{font-size:10px;margin:0 .55em}.brand small{font-size:5px;letter-spacing:.16em;margin-top:4px}.brand .academy-mark{width:35px;height:35px}
    .admission-header{gap:14px;flex-wrap:wrap}.brand--admission{flex-shrink:0}.brand--admission strong{font-size:14px}.brand--admission small{font-size:4.5px;letter-spacing:.12em}.brand--admission .academy-mark{width:30px;height:30px}.admission-header>.admission-index{margin-left:auto}.admission-header>.quiet-control{flex-shrink:0}
    .brand--footer strong{font-size:15px}.brand--footer small{font-size:5px}.brand--footer .academy-mark{width:34px;height:34px}
    .dossier-cover>.academy-mark{width:67px;height:67px;margin:0;top:26px;right:27px}.confirmation-seal{width:124px;height:124px;margin-bottom:28px}
    .forum-official-seal{right:0;width:68px;height:68px;top:30px;opacity:.5}
    .archives-page>.page-intro{padding-right:0}.archive-official-mark{position:static;width:82px;height:82px;margin:0 0 27px;opacity:.85}
  }
  @media(max-width:480px){
    .admission-header{padding-bottom:18px;gap:14px 12px}.admission-header .brand--admission{margin-right:auto}.admission-header>.admission-index{order:3;width:100%;margin:0;padding-top:10px;border-top:1px solid #ac9c7d16;font-size:7px;letter-spacing:.12em}.admission-index i{margin:0 9px}
    .brand--admission strong{font-size:15px}.brand--admission small{font-size:5px}.brand--admission .academy-mark{width:32px;height:32px}.admission-header>.quiet-control{font-size:8px}
    .lid-brand>.academy-mark{width:81px;height:81px;margin-bottom:5px}.lid-brand>span{font-size:10px}.lid-emboss .academy-mark{width:40px;height:40px}
    .letter-top>.academy-mark{width:34px;height:34px}.letter-stamp{width:88px;height:88px;right:30px;bottom:24px}.dossier-cover>.academy-mark{width:58px;height:58px;right:23px;top:27px}
    .dossier-cover h1{max-width:calc(100% - 63px);font-size:25px;line-height:1.7}.dossier-cover h1 br{display:block}
    .card-top .academy-mark{width:28px;height:28px}.confirmation-seal{width:116px;height:116px;margin-bottom:28px}
    .collectible-card .academy-card-emblem{width:146px;height:146px;margin:24px auto 20px}
    .forum-official-seal{width:60px;height:60px;top:36px;opacity:.48}.profile-official-mark{width:64px;height:64px}
  }
  @media(max-width:350px){.brand{gap:8px}.brand strong{font-size:13px}.brand small{font-size:4.4px}.brand .academy-mark{width:31px;height:31px}.brand--admission strong{font-size:14px}.brand--admission .academy-mark{width:29px;height:29px}}
}

/* Only the main top-left brand: reuse the detailed transparent archive badge. */
@layer living {
 #site-header .brand--navigation{gap:14px}
 #site-header .brand--navigation>.academy-mark,
 #site-header .brand--navigation:hover>.academy-mark{
  width:48px;height:48px;flex:0 0 48px;aspect-ratio:1;object-fit:contain;
  filter:grayscale(1);opacity:1;background:none;mix-blend-mode:normal;box-shadow:none;
 }
 @media(max-width:760px){
  #site-header .brand--navigation{gap:10px}
  #site-header .brand--navigation>.academy-mark,
  #site-header .brand--navigation:hover>.academy-mark{width:40px;height:40px;flex-basis:40px}
 }
 @media(max-width:360px){
  #site-header .brand--navigation>.academy-mark,
  #site-header .brand--navigation:hover>.academy-mark{width:36px;height:36px;flex-basis:36px}
 }
}
