@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,300;6..72,400;6..72,500&display=swap");

:root {
  --atlas-black: #050706;
  --atlas-ink: #0a0d0b;
  --atlas-gold: #d1a75b;
  --atlas-paper: #f3efe6;
}

body.atlas-document {
  padding-top: 86px !important;
}

.atlas-document-shell,
.atlas-document-footer {
  box-sizing: border-box;
  color: var(--atlas-paper);
  font-family: Inter, Arial, sans-serif;
}

.atlas-document-shell *,
.atlas-document-footer * {
  box-sizing: border-box;
}

.atlas-document-shell {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 6, 0.94);
  border-bottom: 1px solid rgba(209, 167, 91, 0.24);
  display: flex;
  height: 86px;
  inset: 0 0 auto;
  justify-content: space-between;
  padding: 12px clamp(18px, 4vw, 64px);
  position: fixed;
  z-index: 2147483000;
}

.atlas-document-shell img {
  display: block;
  height: 56px;
  object-fit: contain;
  width: auto;
}

.atlas-document-shell nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.atlas-document-shell a {
  border: 1px solid rgba(209, 167, 91, 0.32);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 13px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.atlas-document-shell a:last-child {
  background: var(--atlas-gold);
  color: var(--atlas-black);
}

.atlas-document-footer {
  align-items: center;
  background: var(--atlas-black);
  border-top: 1px solid rgba(209, 167, 91, 0.24);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 64px);
}

.atlas-document-footer a {
  color: var(--atlas-gold);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 680px) {
  body.atlas-document {
    padding-top: 72px !important;
  }

  .atlas-document-shell {
    height: 72px;
  }

  .atlas-document-shell img {
    height: 44px;
  }

  .atlas-document-shell a:first-child {
    display: none;
  }

  .atlas-document-shell a {
    font-size: 10px;
    padding: 11px 12px;
  }

  .atlas-document-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ===== SENIOR ART DIRECTION · 2026-07 ===== */

/*
 * Radar document shell refinement.
 * Deliberately scoped so each intelligence report keeps its original layout.
 */

:root {
  --atlas-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --atlas-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --atlas-data: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.atlas-document-shell,
.atlas-document-footer {
  font-family: var(--atlas-sans);
}

.atlas-document-shell {
  background:
    linear-gradient(90deg, rgba(209, 167, 91, 0.05), transparent 24%),
    rgba(5, 7, 6, 0.96);
  border-bottom-color: rgba(209, 167, 91, 0.34);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.atlas-document-shell::after {
  color: rgba(243, 239, 230, 0.42);
  content: "INTELLIGENCE DOCUMENT  ·  CONTROLLED CIRCULATION";
  font: 500 8px/1 var(--atlas-data);
  left: 50%;
  letter-spacing: 0.14em;
  position: absolute;
  top: 13px;
  transform: translateX(-50%);
}

.atlas-document-shell nav {
  gap: 10px;
}

.atlas-document-shell a {
  font-size: 10px;
  letter-spacing: 0.105em;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.atlas-document-shell a:hover {
  border-color: var(--atlas-gold);
  transform: translateY(-2px);
}

.atlas-document-footer {
  background:
    linear-gradient(90deg, rgba(209, 167, 91, 0.05), transparent 28%),
    var(--atlas-black);
  min-height: 118px;
}

.atlas-document-footer span {
  color: rgba(243, 239, 230, 0.58);
  font-size: 12px;
  line-height: 1.65;
}

.atlas-document-footer a {
  font-size: 12px;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .atlas-document-shell::after {
    display: none;
  }

  .atlas-document-footer span {
    font-size: 11px;
  }
}

/* Document containment repair */

html,
body.atlas-document {
  max-width: 100%;
  overflow-x: clip;
}

.atlas-document-footer {
  box-sizing: border-box;
  margin-inline: 0 !important;
  max-width: 100vw;
  width: 100%;
}
