/* ==========================================================
   Alignment Archive Global Shell — Homepage Exact Menu
   Menu + footer only. No @font-face. No @import. No font variables.
   This intentionally reuses the homepage menu classes:
   .aa-header, .aa-brand, .aa-nav, .aa-index-menu, .aa-menu-dot
========================================================== */

.aa-header,
.aa-header *{
  box-sizing:border-box;
}

/* HEADER — exact homepage structure */
.aa-header{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:50;
  height:84px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:0 clamp(18px,3vw,44px);
}

.aa-brand{
  justify-self:start;
  display:inline-flex;
  align-items:flex-end;
  gap:6px;
  color:var(--aa-ivory, #f4f1e8);
  text-decoration:none;
  line-height:1;
  opacity:.96;
  filter:drop-shadow(0 10px 20px rgba(0,0,0,.42));
  white-space:nowrap;
}

.aa-brand-kicker{
  display:inline-block;
  font-family:var(--aa-script);
  font-style:italic;
  font-weight:500;
  font-size:1.08rem;
  line-height:.78;
  letter-spacing:-.045em;
  color:rgba(244,241,232,.86);
  transform:translateY(0px);
}

.aa-brand-main{
  display:inline-block;
  font-family:var(--aa-display, Georgia, serif);
  font-weight:600;
  font-size:clamp(.78rem,.88vw,.98rem);
  line-height:.86;
  letter-spacing:.035em;
  text-transform:uppercase;
  color:rgba(246,242,232,.94);
  text-shadow:0 1px 0 rgba(255,255,255,.12),0 8px 18px rgba(0,0,0,.58);
}

.aa-brand:hover .aa-brand-main,
.aa-brand:hover .aa-brand-kicker{
  color:#fff;
}

.aa-nav{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:clamp(18px,2.35vw,42px);
}

.aa-nav a{
  color:rgba(244,241,232,.78);
  text-decoration:none;
  text-transform:uppercase;
  font-family:var(--aa-mono, monospace) !important;
  font-size:.82rem;
  letter-spacing:.035em;
  font-weight:600;
  transition:color .18s ease, opacity .18s ease;
}

.aa-nav a:hover{
  color:var(--aa-ivory, #f4f1e8);
}

/* TWO-DOT INDEX — exact homepage glass */
.aa-index-menu{
  position:relative;
  justify-self:end;
  margin:0;
  padding:0;
}

.aa-index-menu summary{
  list-style:none;
}

.aa-index-menu summary::-webkit-details-marker{
  display:none;
}

.aa-menu-dot{
  appearance:none;
  -webkit-appearance:none;
  width:38px;
  height:38px;
  min-width:38px;
  min-height:38px;
  max-width:38px;
  max-height:38px;
  padding:0;
  margin:0;
  border-radius:50%;
  border:1px solid rgba(244,241,232,.72);
  color:var(--aa-ivory, #f4f1e8);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
  background:radial-gradient(circle at 45% 38%, rgba(255,255,255,.16), rgba(255,255,255,.05) 34%, rgba(255,255,255,.012) 68%),rgba(255,255,255,.018);
  box-shadow:0 0 0 1px rgba(255,255,255,.04),0 12px 28px rgba(0,0,0,.42),inset 0 0 18px rgba(255,255,255,.045);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.aa-menu-dot span{
  display:block;
  width:5px;
  height:5px;
  border-radius:50%;
  background:rgba(246,242,232,.94);
  box-shadow:0 0 10px rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.35);
}

.aa-index-menu[open] .aa-menu-dot,
.aa-menu-dot:hover{
  transform:translateY(-1px);
  border-color:rgba(244,241,232,.96);
}

.aa-index-dropdown{
  position:absolute;
  top:calc(100% + 16px);
  right:0;
  width:min(430px,88vw);
  padding:22px;
  border:1px solid rgba(255,255,255,.22);
  background:
    linear-gradient(135deg, rgba(12,13,14,.58), rgba(12,13,14,.28) 45%, rgba(255,255,255,.045)),
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.16), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(184,145,69,.10), transparent 42%);
  backdrop-filter:blur(28px) saturate(1.16);
  -webkit-backdrop-filter:blur(28px) saturate(1.16);
  box-shadow:0 30px 90px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 32px rgba(255,255,255,.045);
  opacity:0;
  transform:translateY(-8px) scale(.985);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
}

.aa-index-menu[open] .aa-index-dropdown{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}

.aa-index-label{
  display:block;
  margin:2px 8px 14px;
  color:rgba(244,241,232,.54);
  font-family:var(--aa-mono, monospace);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.aa-index-dropdown a{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:12px;
  align-items:center;
  padding:13px 8px;
  border-top:1px solid rgba(255,255,255,.10);
  color:rgba(244,241,232,.76);
  text-decoration:none;
  font-family:var(--aa-mono, monospace);
  font-size:.74rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.aa-index-dropdown a span{
  color:rgba(244,241,232,.36);
}

.aa-index-dropdown a strong{
  font-weight:700;
  color:rgba(244,241,232,.80);
}

.aa-index-dropdown a:hover{
  background:rgba(255,255,255,.045);
  color:#fff;
}

.aa-index-dropdown a:hover strong{
  color:#fff;
}

/* RESPONSIVE — exact homepage behavior + full-screen mobile overlay */
@media(max-width:980px){
  .aa-header{
    grid-template-columns:1fr auto;
    height:72px;
  }

  .aa-nav{
    display:none;
  }
}

@media(max-width:600px){
  .aa-brand-kicker{
    font-size:.86rem;
  }

  .aa-brand-main{
    font-size:.72rem;
    letter-spacing:.018em;
  }

  .aa-menu-dot{
    width:34px;
    height:34px;
    min-width:34px;
    min-height:34px;
    max-width:34px;
    max-height:34px;
    gap:5px;
  }

  .aa-menu-dot span{
    width:4.5px;
    height:4.5px;
  }

  .aa-index-menu[open] .aa-menu-dot{
    position:fixed;
    top:19px;
    right:18px;
    z-index:10001;
  }

  .aa-index-dropdown{
    position:fixed;
    inset:0;
    width:auto;
    height:100svh;
    max-height:none;
    padding:94px 22px 30px;
    border:0;
    background:
      radial-gradient(circle at 80% 12%, rgba(246,239,227,.09), transparent 35%),
      radial-gradient(circle at 18% 80%, rgba(184,145,69,.08), transparent 34%),
      linear-gradient(135deg, rgba(12,13,14,.96), rgba(0,0,0,.96));
    overflow-y:auto;
    transform:translateY(-10px) scale(1);
  }

  .aa-index-label{
    margin:0 0 18px;
    font-size:.72rem;
  }

  .aa-index-dropdown a{
    grid-template-columns:44px 1fr;
    padding:18px 0;
    font-size:.86rem;
    border-top:1px solid rgba(246,239,227,.14);
  }
}

/* FOOTER STARTER — safe global footer styling */
.aa-global-footer{
  background:#000;
  color:rgba(246,239,227,.72);
  border-top:1px solid rgba(246,239,227,.16);
  padding:clamp(44px,7vw,86px) clamp(18px,4vw,72px);
  font-family:var(--aa-sans, system-ui, sans-serif);
}

.aa-global-footer-inner{
  width:min(1560px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(240px,.8fr) minmax(300px,1fr);
  gap:clamp(28px,6vw,84px);
}

.aa-global-footer-title{
  margin:0;
  font-family:var(--aa-display, Georgia, serif);
  text-transform:uppercase;
  letter-spacing:.04em;
  color:rgba(246,239,227,.92);
}

.aa-global-footer-copy{
  margin:16px 0 0;
  max-width:520px;
  line-height:1.7;
  color:rgba(246,239,227,.62);
}

.aa-global-footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px 18px;
  justify-content:flex-end;
}

.aa-global-footer-links a{
  font-family:var(--aa-mono, monospace);
  font-size:.7rem;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:rgba(246,239,227,.66);
  text-decoration:none;
}

.aa-global-footer-links a:hover{
  color:#fff;
}

@media(max-width:760px){
  .aa-global-footer-inner{
    grid-template-columns:1fr;
  }

  .aa-global-footer-links{
    justify-content:flex-start;
  }
}

/* Global Footer */

.aa-footer{
  position:relative;
  padding:26px clamp(18px,4vw,72px);
  border-top:1px solid rgba(246,239,227,.14);
  background:#000;
  color:rgba(246,239,227,.42);
}

.aa-footer-inner{
  width:min(1560px,100%);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  font-family:var(--aa-mono);
  font-size:.66rem;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.aa-footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:16px;
}

.aa-footer-links a{
  color:rgba(246,239,227,.52);
  text-decoration:none;
}

.aa-footer-links a:hover{
  color:#fff;
}

@media(max-width:760px){
  .aa-footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .aa-footer-links{
    justify-content:flex-start;
  }
}