/* Visual polish pass (October 25, 2026). Loads last on every route.
   Same palette: navy #101b2b, ivory #f5f1e8, paper #ebe6dc, gold #d6b16b, dark gold #725423, line #d3cec4.
   Type scale used below: 12 · 13 · 14 · 15 · 16 · 17 · 18 · 20 · 22 · 24 · 28 · 34 · 44 · 56 · 64 px. */

/* 1. Article cover: a short strip on tablets and phones so the essay starts sooner */
@media (max-width: 1000px) {
  body.page-article .article-masthead .article-cover { display: block; width: 100%; height: clamp(96px, 24vw, 168px); margin: 4px 0 0; overflow: hidden; border-bottom: 2px solid #d6b16b; }
  body.page-article .article-masthead .article-cover .article-cover-photo { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 62%; }
}

/* 2. Venues: single-colour wordmarks, region labels, a navy "Live" panel for the current venue */
.page-markets .venue-logo { position: relative; width: 190px; height: 76px; padding: 16px 20px; border: 1px solid #d3cec4; background: transparent; }
.page-markets .venue-logo img { filter: brightness(0); opacity: .86; }
.page-markets .venue-logo:not(.venue-logo--region) img { width: 128px; max-width: 100%; height: 30px; object-fit: contain; }
.page-markets .venue-logo--region { flex-direction: column; gap: 6px; padding-block: 12px 10px; }
.page-markets .venue-logo--region img { height: auto; max-height: 30px; }
.page-markets .venue-logo-region { color: #725423; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.page-markets .venue-current {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 6px 40px; align-items: start;
  max-width: none; margin: 32px 0 40px; padding: 28px 32px 30px;
  border: 0; border-top: 2px solid #d6b16b; background: #101b2b; color: #f5f1e8;
}
.page-markets .venue-current > .venue-live-label { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #d6b16b; font-size: .75rem; }
.page-markets .venue-live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; background: #d6b16b; color: #101b2b; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.page-markets .venue-live-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #101b2b; }
.page-markets .venue-current > .venue-logo { grid-row: 2 / span 2; margin: 0; border-color: rgba(245, 241, 232, .28); }
.page-markets .venue-current > .venue-logo img { filter: brightness(0) invert(1); opacity: .95; }
.page-markets .venue-current > .venue-logo .venue-logo-region { color: #d6b16b; }
.page-markets .venue-current > h3 { margin: 0 0 8px; color: #ffffff; }
.page-markets .venue-current > p:last-child { max-width: 64ch; color: #d0d5db; }

/* 3. One left edge per page */
.page-strategy .approach-editorial-heading,
.page-strategy .strategy-topics,
.page-strategy .approach-framework-note,
.page-strategy .completed-trade { margin-left: 0; margin-right: auto; }
@media (min-width: 1001px) {
  .page-article .article-reading-layout { grid-template-columns: minmax(0, 700px) 230px; justify-content: space-between; }
}
.page-article .article-reading-layout > .article-body { margin-left: 0; }
.page-markets .market-paths > .diagram { margin-left: 0; margin-right: auto; }
.page-article .article > .research-scope,
.page-article .article > .publication-details { max-width: 700px; margin-left: 0; margin-right: auto; }

/* 4. Matching inner-page heroes: ivory, then a facts strip like Firm's */
.page-markets .market-editorial-hero { background: #f5f1e8; border-bottom: 1px solid #d3cec4; }
.hero-facts { display: grid; grid-template-columns: repeat(var(--facts, 4), minmax(0, 1fr)); gap: 20px 32px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid #d3cec4; }
.page-markets .hero-facts, .page-contact .hero-facts { --facts: 3; }
.hero-facts > div { min-width: 0; }
.hero-facts dt { margin: 0 0 6px; color: #725423; font-size: .75rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.hero-facts dd { margin: 0; color: #182638; font-size: 1rem; line-height: 1.55; }
.page-strategy .strategy-hero { padding-bottom: clamp(40px, 5vw, 64px); }

/* 5. Home: the quote → fill → inventory principle sits with the strategy copy */
@media (min-width: 1001px) {
  .page-home .launch-editorial > h2 { grid-column: 1 / span 7; max-width: 15ch; }
  .page-home .launch-editorial-copy { grid-column: 8 / span 5; }
}
.page-home .launch-editorial-copy .home-execution-principle { margin-top: 24px; padding: 18px 20px; border-top: 2px solid #725423; background: #ebe6dc; }
.page-home .launch-editorial-copy .home-execution-principle p { margin: 0; color: #354457; font-size: .9375rem; line-height: 1.6; }
.page-home .launch-editorial-copy .home-execution-principle p + p { margin-top: 8px; }
.page-home .launch-editorial-copy .home-execution-label { margin-bottom: 10px !important; color: #725423 !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .1em; }

/* 6. Leadership: names link to profiles; Chris's portrait sits at the same eye line
   (padding filled with his own backdrop colour; the image file is unchanged) */
.page-home .person-name-link { color: inherit; text-decoration: none; }
.page-home .person-name-link:hover, .page-home .person-name-link:focus-visible { text-decoration: underline; text-decoration-color: #d6b16b; text-underline-offset: 5px; }
#chris-park > .person-portrait > img,
.page-firm .people-list #chris-park > img { box-sizing: border-box; padding-top: 7%; background: rgb(213, 215, 220); object-fit: cover; object-position: center top; }
#fidel-mao > .person-portrait > img,
.page-firm .people-list #fidel-mao > img { box-sizing: border-box; padding-top: 7%; background: rgb(207, 211, 219); object-fit: cover; object-position: center top; }

/* 7. Home rhythm: enquiries on paper so they no longer merge with the navy research feature */
.page-home .contact-close { background: #ebe6dc; color: #101b2b; }
.page-home .contact-close::after { display: none; }
.page-home .contact-close .eyebrow { color: #725423; }
.page-home .contact-close h2 { color: #101b2b; }
.page-home .contact-close .contact-route-card { border-top-color: #725423; color: #101b2b; }
.page-home .contact-close .contact-route-card:hover { background: rgba(16, 27, 43, .04); color: #101b2b; }
.page-home .contact-close .contact-route-card > span:first-child { color: #725423; }
.page-home .contact-close .contact-route-card .contact-route-action { color: #101b2b; text-decoration-color: #d6b16b; }
.page-home .contact-close :focus-visible { outline-color: #725423; }

/* 8. Contact: partner cards */
.partner-cards { display: grid; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; }
.partner-cards li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid #e3ddd1; }
.partner-cards img { width: 56px; height: 56px; object-fit: cover; object-position: center 20%; background: #e6e2db; }
.partner-cards p { margin: 0; }
.partner-name { color: #101b2b; font-family: Georgia, 'Times New Roman', serif; font-size: 1.0625rem; line-height: 1.3; }
.partner-role { color: #566474; font-size: .8125rem; }
.partner-cards a { color: #725423; font-size: .875rem; font-weight: 700; overflow-wrap: anywhere; }
@media (min-width: 761px) { .partner-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .partner-cards li { grid-template-columns: 1fr; align-items: start; } }

/* 9. Type scale: moved to capital.css (October 27, 2026) */

@media (max-width: 1000px) {
  .page-markets .hero-facts, .page-contact .hero-facts, .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-article .article-reading-layout { justify-content: start; }
}
@media (max-width: 760px) {
  .page-markets .venue-current { grid-template-columns: minmax(0, 1fr); padding: 22px 20px 24px; }
  .page-markets .venue-current > .venue-logo { grid-row: auto; margin-bottom: 14px; }
  .hero-facts, .page-markets .hero-facts, .page-contact .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
}
