/* Shared sections for research, AI, and product introductions. */
.editorial-section { padding: clamp(3.5rem,7vw,6rem) 0; background: var(--parchment); scroll-margin-top: 6rem; }
.editorial-section--alternate { background: var(--cream); }
.editorial-container { width: min(1200px,calc(100% - 4rem)); margin-inline: auto; }
.editorial-section h2 { font-family: 'Anthropic Serif',Georgia,serif; font-size: clamp(2rem,3.8vw,3.2rem); line-height: 1.15; color: var(--ink); margin-bottom: 1.2rem; }
.editorial-section h3 { font-family: 'Anthropic Serif',Georgia,serif; font-size: 1.55rem; line-height: 1.25; color: var(--ink); margin-bottom: .75rem; }
.editorial-section .section-label { margin-bottom: 1rem; }
.editorial-intro { max-width: 48rem; font-size: 1rem; color: var(--charcoal); line-height: 1.8; margin-bottom: 1rem; }
.editorial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; margin-top: 2rem; }
.editorial-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.editorial-card { display: flex; flex-direction: column; padding: 1.8rem; background: var(--parchment); border: 1px solid var(--stone); min-width: 0; }
.editorial-card p, .editorial-note p { font-size: .92rem; line-height: 1.8; color: var(--charcoal); margin-bottom: 1rem; }
.editorial-card .editorial-link { margin-top: auto; }
.editorial-link { display: inline-flex; align-items: center; gap: .8rem; padding: .6rem 0; font-size: .8rem; font-weight: 600; line-height: 1.5; color: #786023; }
.editorial-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.editorial-link:focus-visible, .editorial-note a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.editorial-note { padding: 1.6rem 1.8rem; border-left: 2px solid var(--gold); background: var(--cream); margin-top: 2rem; }
.editorial-note a { text-decoration: underline; text-underline-offset: 3px; }
.editorial-collection-link { background: var(--cream); text-align: center; padding: 0 1.5rem 2.5rem; }
.research-collection-section { padding-block:clamp(3.5rem,8vw,7rem); }
.research-collection-panel { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:clamp(2.5rem,6vw,6rem); align-items:center; min-height:490px; padding:clamp(2rem,5vw,4.5rem); border:1px solid var(--gold-dim); border-radius:var(--radius); background:linear-gradient(115deg,var(--cream),var(--parchment) 74%); box-shadow:0 24px 65px #00000012; }
.research-collection-copy .section-label { color:var(--gold-dim); }
.research-collection-copy h2 { max-width:12ch; margin:0 0 1.35rem; font-size:clamp(3.25rem,7vw,6.25rem); line-height:.98; letter-spacing:-.055em; }
.research-collection-copy .editorial-intro { max-width:47rem; margin:0 0 1rem; font-size:clamp(1.05rem,1.5vw,1.25rem); }
.research-collection-full { max-width:42rem; margin:0; color:var(--charcoal); font-size:.98rem; line-height:1.8; }
.research-collection-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.6rem; margin-top:2rem; }
.research-collection-button { display:inline-flex; align-items:center; gap:1rem; min-height:56px; padding:.9rem 1.25rem; background:var(--gold); color:#15130d; font-size:.9rem; font-weight:700; transition:transform .2s ease,filter .2s ease; }
.research-collection-button:hover { transform:translateY(-2px); filter:brightness(1.06); }
.research-collection-button:focus-visible,.research-collection-email:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.research-collection-email { color:var(--ink); font-size:.85rem; font-weight:600; text-decoration:underline; text-underline-offset:4px; }
.research-collection-visual { position:relative; display:flex; min-height:330px; flex-direction:column; justify-content:space-between; padding:1.6rem; overflow:hidden; border:1px solid #c9a95f80; background:radial-gradient(ellipse at 75% 15%,#d7b87a1c,transparent 45%),linear-gradient(145deg,#242321,#151514 82%); color:#f5eedc; box-shadow:14px 14px 0 #b6975266,-7px -7px 0 #b697522e; }
.research-collection-visual::after { content:""; position:absolute; right:-4rem; bottom:-5rem; width:15rem; height:15rem; border:1px solid #d7b87a57; border-radius:50%; box-shadow:0 0 0 1.7rem #d7b87a0a,0 0 0 3.4rem #d7b87a0a; }
.research-collection-mark,.research-collection-visual-foot { position:relative; z-index:1; color:#d7b87a; font:9px/1.5 monospace; letter-spacing:.13em; }
.research-collection-visual-title { position:relative; z-index:1; font:500 clamp(2.8rem,5vw,4.6rem)/.96 'Anthropic Serif',Georgia,serif; letter-spacing:-.045em; }
html[data-theme="dark"] .research-collection-panel { background:linear-gradient(115deg,#1b1b19,#111110 74%); border-color:#9b7c3f; box-shadow:0 24px 65px #0003; }
html[data-theme="dark"] .research-collection-full { color:#e0e0e0; }
html[data-theme="dark"] .research-collection-email { color:#f4f0e8; }
html:not([data-theme="dark"]) .research-collection-visual { background:radial-gradient(ellipse at 75% 15%,#c9a95f24,transparent 45%),linear-gradient(145deg,#f5f1e8,#e8e1d4 82%); color:#211e18; }
html:not([data-theme="dark"]) .research-collection-mark,html:not([data-theme="dark"]) .research-collection-visual-foot { color:#70571f; }
html[data-theme="dark"] .editorial-card { background: #13241b; border-color: #2a4035; }
html[data-theme="dark"] .editorial-link { color: var(--gold-bright); }
html[data-theme="dark"] .editorial-card p, html[data-theme="dark"] .editorial-note p, html[data-theme="dark"] .editorial-intro { color: #e0e0e0; }
html[data-theme="dark"] .editorial-note { background: #13241b; }
/* Keep model section headings readable when the site's light/dark tokens change. */
html[data-theme="dark"] .section--dark .card h3 { color: #f4f0e8 !important; }
@media (max-width: 900px) { .editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .editorial-container { width: calc(100% - 2.5rem); }
  .editorial-grid, .editorial-grid--two { grid-template-columns: 1fr; }
  .editorial-card { padding: 1.4rem; }
  .editorial-note { padding: 1.3rem; }
  .research-collection-section { padding-block:2.5rem; }
  .research-collection-panel { grid-template-columns:1fr; gap:2rem; min-height:0; padding:1.5rem; }
  .research-collection-copy h2 { font-size:clamp(3rem,15vw,4.8rem); }
  .research-collection-visual { min-height:250px; padding:1.2rem; }
  .research-collection-actions { align-items:flex-start; flex-direction:column; gap:1rem; margin-top:1.5rem; }
}

.mcp-highlights { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 900px) { .mcp-highlights { grid-template-columns: 1fr; } }


/* 2026 visual refresh for editorial modules. */
.editorial-section h2, .editorial-section h3 { font-family: 'Anthropic Sans', sans-serif; font-weight: 500; letter-spacing: -.045em; }
.editorial-card { border-radius: var(--radius); transition: transform .25s ease, border-color .25s ease; }
.editorial-card:hover { transform: translateY(-3px); border-color: var(--gold-dim); }
.editorial-link { color: var(--gold-dim); }
html[data-theme="dark"] .editorial-link { color: var(--gold-bright); }
