/* Insights pages: the site's navy/champagne fabric with a readable article column. */
:root {
  --deep: #081536; --navy: #0d1f4e; --gold: #c8b795; --ivory: #f3f0e8;
  --body: #c4cbd6; --fog: #a6b1bd; --rule: rgba(200, 183, 149, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --gutter: clamp(22px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: linear-gradient(180deg, var(--deep), var(--navy) 900px);
  background-color: var(--navy); color: var(--body); font: 400 18px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
a { color: var(--ivory); text-decoration-color: rgba(200, 183, 149, 0.6); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--deep); padding: 8px 12px; z-index: 10; }

.ins-header { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); border-bottom: 1px solid var(--rule); }
.ins-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.ins-brand img { width: 22px; height: 36px; }
.ins-brand span { font: 400 15px/1 var(--serif); letter-spacing: 0.32em; text-transform: uppercase; }
.ins-nav { display: flex; align-items: center; gap: 28px; }
.ins-nav a { font: 500 14px/1 var(--sans); text-decoration: none; color: var(--body); }
.ins-nav a:hover { color: var(--ivory); }
.ins-nav .ins-book { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: 999px; background: var(--gold); color: #081536; font-weight: 600; }
.ins-nav .ins-book:hover { background: #d8c9a8; color: #081536; }
@media (max-width: 860px) { .ins-nav a:not(.ins-book) { display: none; } }
@media (max-width: 420px) { .ins-brand span { display: none; } }

.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 500 11px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); opacity: 0.7; }
.draft-tag { display: inline-block; margin-left: 10px; padding: 3px 8px; border: 1px solid var(--gold); border-radius: 999px; font: 500 10px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); vertical-align: middle; }

/* Archive */
.archive { max-width: 1120px; margin: 0 auto; padding: clamp(64px, 10vw, 128px) var(--gutter) clamp(64px, 8vw, 112px); }
.archive h1 { margin: 0 0 18px; font: 400 clamp(44px, 6vw, 80px)/1.02 var(--serif); color: var(--ivory); }
.archive .lede { max-width: 52ch; margin: 0 0 clamp(48px, 6vw, 80px); color: var(--body); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.card { position: relative; border-bottom: 1px solid var(--rule); display: grid; gap: 10px 48px; padding: clamp(28px, 4vw, 44px) 0; }
.card[hidden] { display: none; }
@media (min-width: 900px) { .card { grid-template-columns: 200px 1fr; } }
.card-meta { font: 500 11px/1.6 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.card-meta .date { display: block; margin-top: 4px; color: var(--fog); letter-spacing: 0.06em; text-transform: none; font-weight: 400; font-size: 12px; }
.card h2 { margin: 0 0 10px; font: 400 clamp(26px, 3vw, 36px)/1.15 var(--serif); color: var(--ivory); }
.card h2 a { color: inherit; text-decoration: none; transition: color 0.25s; }
.card h2 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h2 a { color: var(--gold); }
.card h2 a:focus-visible { outline: none; }
.card:focus-within { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 2px; }
.card p { margin: 0; max-width: 64ch; font-size: 16px; color: var(--body); }
.card-social h2 { font-size: clamp(22px, 2.4vw, 28px); }
.card-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 14px; }
.card .read, .external { display: inline-block; font: 500 13px/1 var(--sans); color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(200,183,149,0.6); padding-bottom: 4px; }
.card .external { position: relative; z-index: 1; }
.external:hover { border-bottom-color: var(--gold); }
.filters ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; }
.filters a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid rgba(200,183,149,0.35); border-radius: 999px; font: 500 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--body); text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
.filters a:hover { border-color: var(--gold); color: var(--ivory); }
.filters a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.empty { padding: 32px 0; border-top: 1px solid var(--rule); color: var(--fog); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.article-social .prose p:first-child { font-size: 20px; line-height: 1.65; color: var(--ivory); }
.original { margin: 28px 0 0; }
.soon { max-width: 46ch; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--rule); }
.soon h2 { margin: 0 0 12px; font: 400 clamp(30px, 4vw, 44px)/1.1 var(--serif); color: var(--ivory); }

/* Article */
.article { max-width: calc(68ch + 2 * var(--gutter)); margin: 0 auto; padding: clamp(56px, 9vw, 112px) var(--gutter) clamp(48px, 6vw, 80px); }
.article h1 { margin: 0 0 22px; font: 400 clamp(38px, 5.2vw, 64px)/1.06 var(--serif); color: var(--ivory); }
.article .summary { margin: 0 0 22px; font: 400 clamp(20px, 2vw, 23px)/1.5 var(--serif); font-style: italic; color: var(--body); }
.article .byline { margin: 0 0 clamp(40px, 5vw, 64px); padding-bottom: 28px; border-bottom: 1px solid var(--rule); font: 500 13px/1.6 var(--sans); letter-spacing: 0.06em; color: var(--fog); }
.prose { max-width: 68ch; }
.prose h2 { margin: 2.2em 0 0.6em; font: 500 clamp(28px, 3vw, 34px)/1.2 var(--serif); color: var(--ivory); }
.prose h3 { margin: 1.8em 0 0.5em; font: 600 17px/1.4 var(--sans); color: var(--ivory); }
.prose p, .prose li { color: var(--body); }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 0 0 2em; padding: 4px 0 4px 22px; border-left: 1px solid var(--gold); font: 400 15px/1.65 var(--sans); color: var(--fog); }
.prose blockquote p { margin: 0; color: inherit; }
.prose .sources { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.6; }
.prose .sources h2 { margin-top: 0; font: 500 11px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.prose .sources li { color: var(--fog); overflow-wrap: anywhere; }
.prose .sources a { color: var(--fog); }

.cta { margin-top: clamp(48px, 6vw, 72px); padding-top: 36px; border-top: 1px solid var(--rule); }
.cta a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 26px; border: 1px solid var(--gold); border-radius: 999px; text-decoration: none; font: 500 15px/1 var(--sans); color: var(--ivory); transition: background-color 0.25s, color 0.25s; }
.cta a:hover { background: var(--gold); color: var(--deep); }
.back { display: inline-block; margin-top: 32px; font: 500 13px/1 var(--sans); color: var(--body); }

.ins-footer { padding: 36px var(--gutter) 44px; border-top: 1px solid var(--rule); background: var(--deep); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font: 400 13px/1.6 var(--sans); color: var(--fog); }
.ins-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ins-footer a { color: var(--body); text-decoration: none; }
.ins-footer a:hover { color: var(--ivory); }
.card-meta .draft-tag { display: inline-block; margin-left: 10px; padding: 3px 8px; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }

/* Smooth cross-page transitions (home <-> Insights) where supported. */
@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}
