:root {
  --authority-ink: #28242d;
  --authority-muted: #5f5865;
  --authority-paper: #f8f6f8;
  --authority-white: #fffdfc;
  --authority-wash: #eee9f1;
  --authority-line: #d8d0dc;
  --authority-plum: #684e78;
  --authority-deep-plum: #3b3043;
}

@font-face {
  font-family: Manrope;
  src: url('/design-system/temporary/assets/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

html { scroll-behavior: smooth; scrollbar-color: #9d8ea7 var(--authority-paper); }
body.authority-page { margin: 0; background: var(--authority-paper); color: var(--authority-ink); font-family: Manrope, sans-serif; }
body.authority-page ::selection { background: #d9cbe5; color: #211b27; }
.authority-page *, .authority-page *::before, .authority-page *::after { box-sizing: border-box; }
.authority-page img { display: block; max-width: 100%; height: auto; }
.authority-page a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.authority-page a:focus-visible { outline: 3px solid #8c6ca8; outline-offset: 4px; border-radius: 4px; }
.authority-shell { width: min(100% - 56px, 1180px); margin-inline: auto; }

.authority-header { display: flex; align-items: center; justify-content: space-between; min-height: 94px; gap: 28px; }
.authority-wordmark img { width: 122px; height: auto; }
.authority-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 680; }
.authority-nav a { text-decoration: none; }
.authority-nav > a:not(.authority-cta) { position: relative; }
.authority-nav > a:not(.authority-cta)::after { content: ''; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .28s cubic-bezier(.16,1,.3,1); }
.authority-nav > a:not(.authority-cta):hover::after, .authority-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.authority-nav .authority-cta { min-height: 46px; padding: 13px 20px; border-radius: 999px; background: var(--authority-ink); color: #fff; }
.authority-nav .authority-cta:hover { background: var(--authority-deep-plum); color: #fff; }

.authority-hero { padding: 84px 0 92px; }
.authority-hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); align-items: center; gap: clamp(54px, 8vw, 110px); }
.authority-hero-copy { min-width: 0; }
.authority-hero h1 { max-width: 880px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(54px, 7vw, 92px); font-weight: 400; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.authority-hero-copy > p, .authority-hero > p { max-width: 690px; margin: 30px 0 0; color: var(--authority-muted); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.65; }
.authority-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--authority-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.authority-meta span + span::before { content: '·'; margin-right: 22px; }
.authority-hero-visual { position: relative; margin: 0; }
.authority-hero-visual::before { content: ''; position: absolute; z-index: -1; inset: 8% -8% -6% 12%; border-radius: 16px; background: #e4dce9; }
.authority-hero-visual img { width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; object-fit: cover; box-shadow: 0 24px 70px rgba(48,37,55,.14); animation: authority-image-reveal .8s cubic-bezier(.16,1,.3,1) both; }
.authority-hero-object img { background: #eee8f1; object-fit: cover; }
.authority-hero-visual figcaption, .article-image figcaption { margin-top: 13px; color: var(--authority-muted); font-size: 12px; line-height: 1.5; }
.guides-hero-visual img { object-position: 53% center; }

@keyframes authority-image-reveal {
  from { clip-path: inset(0 0 7% 0 round 16px); opacity: .86; transform: translateY(14px); }
  to { clip-path: inset(0 round 16px); opacity: 1; transform: none; }
}

.guide-journal { padding: 24px 0 126px; }
.guide-story { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(42px, 7vw, 96px); padding: 58px 0; border-top: 1px solid var(--authority-line); text-decoration: none; }
.guide-story:last-child { border-bottom: 1px solid var(--authority-line); }
.guide-story figure { margin: 0; overflow: hidden; border-radius: 14px; background: var(--authority-wash); }
.guide-story figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .65s cubic-bezier(.16,1,.3,1); }
.guide-story:hover figure img { transform: scale(1.025); }
.guide-story > div { max-width: 540px; }
.guide-story > div > span { color: var(--authority-muted); font-size: 13px; font-weight: 650; }
.guide-story h2 { max-width: 14ch; margin: 13px 0 19px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(36px, 4.4vw, 57px); font-weight: 400; line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; }
.guide-story p { max-width: 52ch; margin: 0; color: var(--authority-muted); font-size: 16px; line-height: 1.65; }
.guide-story b { display: inline-block; margin-top: 28px; font-size: 14px; }
.guide-story b span { display: inline-block; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.guide-story:hover b span { transform: translateX(5px); }
.guide-story-reverse figure { order: 2; }
.guide-story-reverse > div { order: 1; }
.guide-story-closing { grid-template-columns: 1fr; margin-top: 58px; padding: 76px clamp(34px, 7vw, 86px); border: 0; border-radius: 16px; background: var(--authority-deep-plum); color: #fff; }
.guide-story-closing > div { max-width: 850px; }
.guide-story-closing > div > span, .guide-story-closing p { color: #d9cfdd; }
.guide-story-closing h2 { max-width: 16ch; }
.guide-story-closing h2, .guide-story-closing b { color: #fff; }

.authority-layout { display: grid; grid-template-columns: minmax(0, 720px) 230px; justify-content: space-between; gap: 76px; padding: 84px 0 126px; border-top: 1px solid var(--authority-line); }
.authority-copy { font-size: 18px; line-height: 1.8; }
.authority-copy > :first-child { margin-top: 0; }
.authority-copy h2 { scroll-margin-top: 30px; margin: 76px 0 20px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(34px, 3.8vw, 47px); font-weight: 400; line-height: 1.08; letter-spacing: -.027em; text-wrap: balance; }
.authority-copy h3 { margin: 42px 0 13px; font-size: 20px; line-height: 1.35; }
.authority-copy p { margin: 0 0 1.35em; }
.authority-copy p, .authority-copy li { max-width: 69ch; }
.authority-copy ul, .authority-copy ol { margin: 24px 0 32px; padding-left: 1.35em; }
.authority-copy li { padding-left: .35em; }
.authority-copy li + li { margin-top: 13px; }
.authority-copy strong { color: #211d25; }
.authority-copy a { color: #604273; font-weight: 680; }
.authority-copy blockquote { margin: 54px 0; padding: 34px 38px; border-radius: 14px; background: var(--authority-wash); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(25px, 3vw, 32px); line-height: 1.4; }
.authority-copy blockquote p { margin: 0; }
.authority-copy .formula { margin: 38px 0; padding: 30px 32px; border-radius: 14px; background: var(--authority-deep-plum); color: #fff; font-size: 17px; line-height: 1.65; font-variant-numeric: tabular-nums; }
.authority-copy .formula strong { display: block; margin-bottom: 8px; color: #fff; font-size: 19px; }
.authority-copy .source-note { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--authority-line); color: var(--authority-muted); font-size: 13px; line-height: 1.7; }
.authority-aside { align-self: start; position: sticky; top: 30px; padding-top: 4px; }
.authority-aside strong { display: block; margin-bottom: 15px; font-size: 13px; }
.authority-aside a { display: block; padding: 9px 0; color: var(--authority-muted); font-size: 13px; line-height: 1.45; text-decoration: none; }
.authority-aside a:hover { color: var(--authority-plum); }

.article-hero { padding-top: 72px; }
.article-hero h1 { font-size: clamp(52px, 6.4vw, 82px); }
.article-image { margin: 56px 0 64px; }
.article-image img { width: 100%; border-radius: 14px; object-fit: cover; }
.article-image-wide { width: calc(100% + 74px); }
.article-image-wide img { aspect-ratio: 16 / 10; }
.article-image-square { width: min(100%, 620px); }
.article-image-square img { aspect-ratio: 4 / 3; object-position: center 42%; }

.authority-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 52px 0; }
.authority-principles div { padding-top: 22px; border-top: 1px solid var(--authority-ink); }
.authority-principles strong { display: block; margin-bottom: 11px; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 400; }
.authority-principles p { margin: 0; color: var(--authority-muted); font-size: 14px; line-height: 1.65; }

.authority-footer { padding: 38px 0 52px; border-top: 1px solid var(--authority-line); }
.authority-footer .authority-shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.authority-footer p { margin: 0; color: var(--authority-muted); font-size: 12px; }
.authority-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; }
.authority-footer a { text-decoration: none; }
.authority-footer a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .authority-hero-split { grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 48px; }
  .authority-layout { grid-template-columns: minmax(0, 1fr) 200px; gap: 50px; }
  .guide-story { gap: 48px; }
}

@media (max-width: 760px) {
  .authority-shell { width: min(100% - 36px, 1180px); }
  .authority-header { min-height: 78px; }
  .authority-wordmark img { width: 112px; }
  .authority-nav > a:not(.authority-cta) { display: none; }
  .authority-nav .authority-cta { min-height: 44px; padding: 12px 17px; }
  .authority-hero { padding: 52px 0 70px; }
  .authority-hero-split { display: grid; grid-template-columns: 1fr; gap: 44px; }
  .authority-hero h1, .article-hero h1 { font-size: clamp(45px, 13.4vw, 62px); }
  .authority-hero-copy > p { margin-top: 24px; font-size: 18px; line-height: 1.6; }
  .authority-meta { gap: 8px 16px; margin-top: 28px; }
  .authority-meta span + span::before { content: none; margin: 0; }
  .authority-hero-visual { width: calc(100% - 16px); margin-left: auto; }
  .authority-hero-visual::before { inset: 7% -16px -12px 10%; }
  .authority-hero-visual img { aspect-ratio: 5 / 4; }
  .guides-hero-visual img { object-position: center 58%; }
  .guide-journal { padding: 6px 0 86px; }
  .guide-story, .guide-story-reverse { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 42px 0; }
  .guide-story figure, .guide-story-reverse figure { order: 1; }
  .guide-story > div, .guide-story-reverse > div { order: 2; }
  .guide-story h2 { margin: 11px 0 15px; font-size: 38px; }
  .guide-story p { font-size: 15px; }
  .guide-story-closing { margin-top: 34px; padding: 48px 26px; }
  .guide-story-closing > div { order: 1; }
  .authority-layout { display: block; padding: 62px 0 86px; }
  .authority-aside { display: none; }
  .authority-copy { font-size: 17px; line-height: 1.78; }
  .authority-copy h2 { margin-top: 58px; font-size: 37px; }
  .authority-copy blockquote { margin: 42px 0; padding: 28px 25px; }
  .authority-copy .formula { padding: 25px 24px; }
  .article-image, .article-image-wide, .article-image-square { width: 100%; margin: 44px 0 52px; }
  .authority-principles { grid-template-columns: 1fr; gap: 26px; }
  .authority-footer .authority-shell { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .authority-hero-visual img { animation: none; }
  .guide-story figure img, .guide-story b span, .authority-nav > a:not(.authority-cta)::after { transition: none; }
}
