/* Shared editorial identity. Loaded after each page's existing layout styles. */
:root { --navy: #182e36; --blue: #245b65; --green: #bdd39d; --green-dark: #365b40; --paper: #faf9f5; --panel: #f0f1eb; --line: #d7ddd5; --muted: #52636a; --headline: Georgia, 'Times New Roman', serif; }
body { background: var(--paper); }
.topline { height: 4px; background: var(--navy); }
.container { width: min(1240px, calc(100% - 64px)); }
nav:not(.breadcrumb) { background: var(--paper); backdrop-filter: none; }
.nav-inner { min-height: 90px; }
.logo { font-weight: 600; }
.logo-mark { width: 40px; height: 40px; font-family: var(--headline); font-weight: 400; }
.logo-mark::after { width: 11px; height: 11px; right: -4px; bottom: -4px; }
.logo-text { font-size: 1.05rem; }
.logo-text span { font-size: .59rem; letter-spacing: .12em; margin-top: 3px; }
.nav-links { gap: 1.6rem; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.nav-links .nav-login { border: 0; padding: 0; color: var(--muted) !important; background: transparent; }
.nav-links .nav-cta { color: #fff !important; background: var(--navy); padding: .8rem 1.15rem; }
.menu-toggle { cursor: pointer; }
h1, .section-title, .page-hero h1, .section h2, .article-hero h1, .cta-section h2 { font-family: var(--headline); font-weight: 400; letter-spacing: -.035em; }
.eyebrow { font-weight: 600; font-size: .69rem; letter-spacing: .14em; }
.btn, .button { font-weight: 600; font-size: .88rem; border-width: 1px; }
:focus-visible { outline: 3px solid #547743; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; background: var(--navy); color: white; padding: 12px 18px; }
.skip-link:focus { top: 12px; }
[id] { scroll-margin-top: 110px; }
.home-editorial .hero { padding: 4.5rem 0; overflow: visible; border-bottom: 1px solid var(--line); }
.home-editorial .hero::before { display: none; }
.home-editorial .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: start; gap: 5rem; }
.home-editorial .hero h1 { font-size: clamp(3.3rem, 5.3vw, 5rem); line-height: 1.05; }
.home-editorial .hero h1 span { color: var(--green-dark); font-style: italic; }
.home-editorial .hero-copy { max-width: 520px; font-size: 1rem; line-height: 1.8; margin: 1.6rem 0; }
.home-editorial .hero-actions { margin-top: 1.7rem; gap: 1.3rem; align-items: center; }
.editorial-link { display: inline-flex; gap: 1.4rem; align-items: center; min-height: 44px; color: var(--navy); text-decoration: none; font-size: .86rem; font-weight: 600; border-bottom: 1px solid var(--navy); }
.editorial-link:hover { color: var(--green-dark); border-color: var(--green-dark); }
.lead-story { border-left: 1px solid var(--line); padding-left: 2.5rem; }
.lead-story .eyebrow { margin-bottom: 1.2rem; }
.lead-story img { display: block; width: 100%; height: auto; aspect-ratio: 1.9; object-fit: contain; background: #15233b; }
.story-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--green-dark); font-size: .7rem; font-weight: 600; letter-spacing: .04em; line-height: 1.6; margin: 1.3rem 0 .7rem; }
.lead-story h2 { font: 400 clamp(1.8rem, 2.5vw, 2.3rem)/1.15 var(--headline); letter-spacing: -.025em; margin: 0 0 .8rem; }
.lead-story h2 a, .research-card h2 a, .research-card h3 a { color: var(--navy); text-decoration: none; }
.lead-story h2 a:hover, .research-card h2 a:hover, .research-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lead-story p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 0 0 1rem; }
.research-section { padding: 4rem 0 4.5rem; }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-heading h2 { font: 400 clamp(2rem, 3.5vw, 3rem)/1.1 var(--headline); letter-spacing: -.03em; margin: 0; }
.section-heading .eyebrow { margin-bottom: .65rem; }
.research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.research-card { min-width: 0; border-top: 1px solid var(--navy); padding-top: 1.2rem; }
.research-card .story-meta { margin: 0 0 .8rem; }
.research-card h2, .research-card h3 { font: 400 1.65rem/1.2 var(--headline); letter-spacing: -.02em; margin: 0 0 .8rem; }
.research-card p { font-size: .88rem; line-height: 1.75; color: var(--muted); margin: 0 0 1rem; }
.research-card .editorial-link { font-size: .78rem; }
.home-editorial .services, .home-editorial .split-section, .home-editorial .models, .home-editorial .markets, .home-editorial .contact { padding: 4.5rem 0; }
.home-editorial .section-title { font-size: clamp(2.1rem, 3.8vw, 3.1rem); max-width: 780px; line-height: 1.14; }
.home-editorial .services-grid { border: 0; gap: 2rem; background: transparent; margin-top: 2.5rem; }
.home-editorial .service-card { min-height: 0; border-top: 1px solid #52646a; padding: 1.3rem 0 0; }
.home-editorial .service-card::before { display: none; }
.home-editorial .service-card h3 { font: 400 1.55rem/1.2 var(--headline); }
.home-editorial .service-card p { font-size: .87rem; }
.home-editorial .services-more { color: white; background: transparent; margin-top: 2rem; }
.home-editorial .split-section { border-bottom: 1px solid var(--line); }
.home-editorial .markets { background: var(--paper); border-top: 1px solid var(--line); }
.home-editorial .market-card { background: transparent; border: 0; border-top: 1px solid var(--line); box-shadow: none; padding: 1.3rem 0 0; min-height: 0; }
.home-editorial .market-card h3 { font: 400 1.7rem/1.2 var(--headline); }
.home-editorial .contact-item { border-left-width: 2px; }
.home-editorial .contact-form { background: transparent; border: 0; padding: 0; }
.home-editorial .tag-list { gap: .45rem; }
.home-editorial .tag { border: 0; padding: .3rem .6rem; font-size: .73rem; }
.home-editorial .js .fade-in, .js .home-editorial .fade-in { opacity: 1; transform: none; transition: none; }
.page-hero { background: var(--panel); }
.page-hero::after { display: none; }
.library-hero { padding: 4.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.library-hero h1 { font: 400 clamp(3rem, 7vw, 5.5rem)/1.03 var(--headline); letter-spacing: -.04em; margin: 0 0 1.3rem; }
.library-hero .lead { max-width: 700px; color: var(--muted); font-size: 1.05rem; }
.library { padding: 2.5rem 0 5rem; }
.library-controls { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; align-items: end; }
.library-controls label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .45rem; }
.library-controls input, .library-controls select { width: 100%; min-height: 48px; padding: .7rem .85rem; font: inherit; font-size: .9rem; background: #fff; color: var(--navy); border: 1px solid #8b9897; border-radius: 0; }
.library-status { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.5rem 0 2rem; color: var(--muted); font-size: .8rem; }
.reset-filters { border: 0; border-bottom: 1px solid var(--navy); padding: .5rem 0; min-height: 44px; background: transparent; font: inherit; color: var(--navy); cursor: pointer; }
.library .research-grid { row-gap: 3rem; }
.library .research-image { display: block; margin-bottom: 1.25rem; background: #eff2ef; overflow: hidden; }
.library .research-image img { display: block; width: 100%; aspect-ratio: 1.9; height: auto; object-fit: contain; transition: transform 180ms ease; }
.library .research-image:hover img { transform: scale(1.025); }
.empty-results { padding: 3rem 0; border-top: 1px solid var(--line); }
.empty-results h2 { font: 400 2rem var(--headline); }
[hidden] { display: none !important; }
footer { font-size: .8rem; }
.footer-links { flex-wrap: wrap; }
.footer-links a { font-size: .78rem; font-weight: 500; }
@media(max-width:1050px) {
  .nav-links { gap: 1rem; }
  .logo-text span { display: none; }
  .home-editorial .hero-grid { gap: 2.5rem; }
  .lead-story { padding-left: 1.8rem; }
}
@media(max-width:980px) {
  .container { width: calc(100% - 40px); }
  .nav-inner { min-height: 74px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; flex-shrink: 0; }
  .nav-links.active, .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .3rem; padding: 1rem 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links a, .nav-links .nav-login { display: block; min-height: 44px; padding: .7rem .5rem; }
  .home-editorial .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .home-editorial .hero { padding: 3rem 0; }
  .home-editorial .hero h1 { max-width: 650px; font-size: clamp(3rem, 8vw, 4.7rem); }
  .home-editorial .hero-copy { max-width: 600px; }
  .lead-story { padding: 1.8rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .lead-story img { max-height: 320px; }
  .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-controls { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
}
@media(max-width:540px) {
  .container { width: calc(100% - 36px); }
  .logo-text { font-size: .95rem; }
  .research-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .home-editorial .hero-actions { display: flex; max-width: none; gap: 1rem; }
  .home-editorial .hero-actions .btn { width: auto; }
  .home-editorial .hero h1 { font-size: 3.25rem; }
  .home-editorial .hero-copy { max-width: none; }
  .home-editorial .services, .home-editorial .split-section, .home-editorial .models, .home-editorial .markets, .home-editorial .contact, .research-section { padding: 3rem 0; }
  .library-hero { padding: 3rem 0 2rem; }
  .library-controls { grid-template-columns: 1fr; }
  .library-status { align-items: start; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
