/* Small approved local-preview refinements for footer identity, page cues, and privacy. */
.site-footer-executive .footer-founder-seal {
  position: relative;
  isolation: isolate;
  border: 0;
  background: transparent;
}
.site-footer-executive .footer-founder-seal > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .9;
}
.site-footer-executive .footer-founder-seal-years {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #e6a779;
  font: 500 10px/1 Georgia, serif;
  letter-spacing: .06em;
}

/* Keep one static marker for the active page: the brand dot, with no underline. */
.site-header nav a[aria-current="page"] {
  position: relative;
  text-decoration: none;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.site-header nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  transition: none;
}
.site-header nav a:not([aria-current="page"])::after {
  opacity: 0 !important;
  transform: none !important;
  transition: none !important;
}

/* The papers link now leads the existing priority section without adding a section. */
.recommendation-next-copy .priority-papers-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 1.15rem;
  padding: .55rem 1.05rem;
  border: 1px solid #a9653e;
  border-radius: 999px;
  color: #173541;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.recommendation-next-copy .priority-papers-link:hover,
.recommendation-next-copy .priority-papers-link:focus-visible {
  background: #f7f4ec;
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* Add breathing room before the founder's explanation in Our Story. */
.story-unified-copy > h2 + p {
  margin-top: 1.4rem;
}
.story-principles > .container > a.button.pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 15px;
  padding: 12px 24px;
  border: 1px solid var(--copper-dark);
  border-radius: 999px;
  background: var(--copper-dark);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.story-principles > .container > a.button.pill-action:hover {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-1px);
}
.story-principles > .container > a.button.pill-action:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

/* Keep consent visible and compact at the viewport edge on every page. */
.cookie-notice {
  position: fixed;
  z-index: 1200;
  right: 18px;
  bottom: 18px;
  width: min(430px, calc(100vw - 36px));
  margin: 0;
  padding: 10px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  box-shadow: 0 8px 28px rgba(8, 31, 41, .2);
}
.cookie-copy strong { font-size: 15px; }
.cookie-copy p { font-size: 11px; line-height: 1.3; }
.cookie-copy a { font-size: 11px; }
.cookie-actions { gap: 5px; }
.cookie-actions button { min-height: 32px; padding: 5px 7px; font-size: 11px; white-space: nowrap; }
@media (max-width: 600px) {
  .cookie-notice {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 8px;
    padding: 8px 10px;
  }
  .cookie-copy strong { font-size: 14px; }
  .cookie-copy p { font-size: 10px; line-height: 1.25; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions button { min-height: 30px; padding: 4px 6px; font-size: 10px; }
  .site-footer-executive .footer-founder-seal { width: 44px; height: 44px; flex-basis: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header nav a[aria-current="page"]::after { transition: none; }
}
