/* Site Architecture v2 additions */

.section-light .eyebrow {
  color: #755827;
}

.cta-helper {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.contact-panel .cta-helper {
  margin: 14px auto 0;
  color: var(--muted-dark);
}

/* Brand system: approved Resolution Aperture mark */
.brand {
  gap: 11px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border: 1px solid rgba(213, 176, 111, 0.62);
  border-radius: 6px;
  background: #fff url('/assets/brand/resolution-aperture-primary.svg') center / 100% 100% no-repeat;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  text-indent: -9999px;
}

.brand-name {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-name::after {
  content: "Intelligence for Consequential Decisions";
  margin-top: 5px;
  color: #9ea9b6;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.46rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.atlas-brand-statement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 9px 14px 9px 9px;
  border-left: 3px solid #d5b06f;
  background: rgba(255, 255, 255, 0.055);
  color: #e7edf3;
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: 0.015em;
}

.atlas-brand-statement::before,
.atlas-context-line::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  background: #fff url('/assets/brand/resolution-aperture-primary.svg') center / 100% 100% no-repeat;
}

.atlas-brand-statement::before {
  width: 29px;
  height: 29px;
  border-radius: 3px;
}

.atlas-context-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.atlas-context-line::before {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(8, 17, 31, 0.12);
  border-radius: 3px;
}

.atlas-context-line a {
  color: inherit;
  text-decoration-color: rgba(213, 176, 111, 0.7);
  text-underline-offset: 3px;
}

.section-light .atlas-context-line,
.article-body .atlas-context-line,
.contact-section .atlas-context-line {
  color: #536173;
}

.article-next .atlas-context-line {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.start-panel {
  margin-top: 36px;
}

.start-steps {
  margin: 14px 0 0;
  padding-left: 20px;
}

.start-steps li + li {
  margin-top: 6px;
}

.article-hero {
  padding: 96px 0 58px;
}

.article-shell {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
}

.article-hero h1 {
  max-width: 940px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.article-deck {
  max-width: 780px;
  color: #c5ced8;
  font-size: 1.18rem;
}

.article-meta {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.84rem;
}

.article-body {
  color: var(--ink);
  background: var(--paper-bright);
}

.article-content {
  padding: 82px 0 94px;
}

.article-content h2 {
  margin-top: 58px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.article-content h3 {
  margin-top: 36px;
}

.article-content p,
.article-content li {
  color: #344255;
  font-size: 1.04rem;
}

.article-content a {
  color: #755827;
  font-weight: 700;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
}

.article-content li + li {
  margin-top: 8px;
}

.article-callout {
  margin: 36px 0;
  padding: 26px 28px;
  border-left: 4px solid var(--gold-deep);
  background: #f2ecdf;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article-table-wrap {
  margin: 34px 0;
  overflow-x: auto;
}

.article-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.article-table th,
.article-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: #f2ecdf;
  color: var(--ink);
}

.article-sources {
  margin-top: 58px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.article-next {
  margin-top: 58px;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(8, 17, 31, 0.025);
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0 12px;
  }

  .site-nav {
    width: 100%;
    order: 3;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: thin;
  }

  .site-nav a:not(.nav-cta) {
    display: inline-block;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .site-nav .nav-cta {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 10px;
  }

  .site-nav {
    gap: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-name::after {
    display: none;
  }

  .article-shell {
    width: min(calc(100% - 28px), 860px);
  }

  .article-content {
    padding: 64px 0 76px;
  }

  .atlas-brand-statement {
    font-size: 0.92rem;
  }
}
