/* Shared page navigation and standalone content openings. */
.content-page #main-content { padding-top:88px; }
.content-page #main-content > .section-shell:first-child { min-height:calc(100svh - 88px); padding-top:36px; }
.content-page h1 { font-size:clamp(44px,5.8vw,94px); line-height:1.02; letter-spacing:-.055em; font-weight:400; }
.content-page h1 i { color:var(--accent); }
.content-page .evidence-title h1 { font-size:clamp(42px,4.5vw,74px); }
.content-page .masthead { background:rgba(9,22,26,.96); }
.content-page .section-meta .motion-toggle { justify-self:end; white-space:nowrap; }
.drawer-layout nav a[aria-current="page"] { color:var(--amber); }
@media (min-width:761px) and (max-width:1100px) {
  body .masthead { gap:20px; }
  body .primary-nav { gap:18px; }
  body .primary-nav a, body:not(.atlas-page) .primary-nav a:not(.atlas-nav-link) { display:block; }
  body .masthead .header-cta { display:none; }
}
@media (max-width:760px) {
  /* Keep every page destination visible in a second navigation row. */
  body .masthead, body .masthead.is-scrolled { height:110px; display:grid; grid-template-columns:1fr auto; grid-template-rows:64px 46px; gap:0 14px; padding:0 20px; }
  body .masthead .wordmark { grid-column:1; grid-row:1; justify-self:start; }
  body .masthead .header-actions { grid-column:2; grid-row:1; }
  body .masthead .primary-nav { grid-column:1 / -1; grid-row:2; display:flex; width:100%; margin:0; justify-content:space-between; gap:10px; border-top:1px solid var(--line); }
  body .masthead .primary-nav a, body .masthead .primary-nav .atlas-nav-link { display:block; padding:15px 0; font-size:10px; white-space:nowrap; }
  body .masthead .header-cta { display:none; }
  html { scroll-padding-top:126px; }
  .home-page .experience { padding-top:138px; min-height:888px; }
  .content-page #main-content { padding-top:110px; }
  .content-page #main-content > .section-shell:first-child { padding-top:25px; min-height:calc(100svh - 110px); }
  .content-page h1, .content-page .evidence-title h1 { font-size:clamp(38px,8.5vw,60px); }
  .atlas-page .atlas-main { min-height:calc(100svh - 110px); }
}
