:root {
  --authority-cream: #f7f1e6;
  --authority-paper: #fffdf8;
  --authority-purple: #3d2552;
  --authority-purple-soft: #6f5a7d;
  --authority-gold: #bf9724;
  --authority-gold-soft: #ead9a8;
  --authority-line: rgba(61, 37, 82, 0.14);
}

.authority-page {
  margin: 0;
  color: var(--authority-purple);
  background: var(--authority-cream);
  font-family: Inter, sans-serif;
  line-height: 1.7;
}

.authority-page * {
  box-sizing: border-box;
}

.authority-page a,
.authority-context a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.authority-skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: 0.5rem;
  background: var(--authority-purple);
  color: #fff;
  padding: 0.7rem 1rem;
}

.authority-skip:focus {
  transform: translateY(0);
}

.authority-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--authority-line);
  background: rgba(247, 241, 230, 0.96);
  backdrop-filter: blur(14px);
}

.authority-nav {
  display: flex;
  width: min(1120px, calc(100% - 2rem));
  min-height: 4.75rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.authority-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.authority-brand img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.authority-brand strong,
.authority-display,
.authority-page h1,
.authority-page h2,
.authority-page h3,
.authority-context h2,
.authority-context h3 {
  font-family: "Playfair Display", serif;
}

.authority-brand strong {
  display: block;
  font-size: 1.05rem;
}

.authority-brand span {
  display: block;
  color: var(--authority-purple-soft);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.authority-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
}

.authority-nav-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.authority-nav-links a:hover,
.authority-nav-links a:focus-visible {
  color: var(--authority-gold);
}

.authority-hero {
  border-bottom: 1px solid var(--authority-line);
  background:
    radial-gradient(circle at 82% 18%, rgba(191, 151, 36, 0.14), transparent 28rem),
    linear-gradient(180deg, #fffdf8, var(--authority-cream));
}

.authority-hero-inner,
.authority-content,
.authority-context-inner {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
}

.authority-hero-inner {
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.authority-kicker {
  margin: 0 0 1rem;
  color: #8c6500;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.authority-page h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.authority-lead {
  max-width: 67ch;
  margin: 1.5rem 0 0;
  color: var(--authority-purple-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.authority-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin-top: 1.5rem;
  color: var(--authority-purple-soft);
  font-size: 0.86rem;
}

.authority-content {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.authority-section {
  padding: clamp(2.25rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--authority-line);
}

.authority-section:first-child {
  padding-top: 0;
}

.authority-section:last-child {
  border-bottom: 0;
}

.authority-page h2,
.authority-context h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.authority-page h3,
.authority-context h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.authority-page p,
.authority-page li {
  font-size: 1rem;
}

.authority-page p {
  max-width: 72ch;
}

.authority-page ul,
.authority-page ol {
  max-width: 72ch;
  padding-left: 1.25rem;
}

.authority-page li + li {
  margin-top: 0.55rem;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.authority-card {
  border: 1px solid var(--authority-line);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.78);
  padding: 1.4rem;
}

.authority-card p {
  margin: 0;
  color: var(--authority-purple-soft);
  font-size: 0.94rem;
}

.authority-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.authority-profile img {
  width: 100%;
  height: auto;
  border: 1px solid var(--authority-gold-soft);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(61, 37, 82, 0.13);
}

.authority-callout {
  margin: 2rem 0;
  border: 1px solid rgba(191, 151, 36, 0.35);
  border-radius: 1rem;
  background: #fffaf0;
  padding: 1.4rem;
}

.authority-callout p {
  margin: 0;
}

.authority-sources {
  font-size: 0.93rem;
}

.authority-sources a {
  font-weight: 600;
}

.authority-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.authority-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--authority-purple);
  border-radius: 0.75rem;
  background: var(--authority-purple);
  color: #fff !important;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.authority-button-secondary {
  background: transparent;
  color: var(--authority-purple) !important;
}

.authority-footer {
  background: #24152f;
  color: #f7f1e6;
}

.authority-footer-inner {
  display: flex;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

.authority-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.authority-context {
  overflow: hidden;
  border-top: 1px solid var(--authority-line);
  border-bottom: 1px solid var(--authority-line);
  background:
    radial-gradient(circle at 85% 12%, rgba(191, 151, 36, 0.13), transparent 23rem),
    var(--authority-paper);
  color: var(--authority-purple);
}

.authority-context-inner {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.authority-context-lead {
  max-width: 68ch;
  color: var(--authority-purple-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.authority-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.authority-context-card {
  border-top: 1px solid var(--authority-gold);
  padding-top: 1rem;
}

.authority-context-card p {
  margin: 0;
  color: var(--authority-purple-soft);
  font-size: 0.93rem;
  line-height: 1.65;
}

.authority-context-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-weight: 700;
}

.authority-footer-link {
  white-space: nowrap;
}

.authority-footer-links-enhanced {
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 760px) {
  .authority-nav-links a:not(.authority-nav-primary) {
    display: none;
  }

  .authority-grid,
  .authority-context-grid,
  .authority-profile {
    grid-template-columns: 1fr;
  }

  .authority-profile img {
    max-width: 24rem;
  }

  .authority-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .authority-footer-links-enhanced {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
