/* JARVIS editorial pages. All rules are scoped to the story content. */
.j-story { --ink: #192e3a; --paper: #f7f1e7; --gold: #e9b574; --muted-ink: #475760; color: var(--ink); background: var(--paper); }
.j-inner { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.j-band { padding-block: clamp(48px, 6.5vw, 92px); }
.j-story .j-label { font: 700 .72rem/1.45 "Segoe UI", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #865121; margin: 0 0 12px; }
.j-story h1, .j-story h2, .j-story h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.04; margin: 0; }
.j-story h1 { font-size: clamp(3.1rem, 7vw, 6.8rem); letter-spacing: -.055em; }
.j-story h2 { font-size: clamp(2.1rem, 4.4vw, 4.5rem); letter-spacing: -.045em; }
.j-story h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -.035em; }
.j-story p { line-height: 1.62; }
.j-story .j-lead { font-size: clamp(1.06rem, 1.6vw, 1.3rem); max-width: 58ch; margin: 18px 0 0; }
.j-story .j-link { color: inherit; display: inline-block; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; margin: 18px 24px 0 0; }
.j-story a:focus-visible, .j-story summary:focus-visible { outline: 3px solid #ae6623; outline-offset: 3px; }
.j-story .j-night { background: #162b38; color: #fff8ec; }
.j-story .j-night .j-label { color: var(--gold); }
.j-story .j-night :is(h1,h2,h3,p,a) { color: inherit; }
.j-story .j-editorial { display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(26px,6vw,86px); align-items: start; }
.j-copy { max-width: 63ch; font-size: 1.1rem; }
.j-copy p { margin: 0 0 16px; }
.j-intro { padding-block: clamp(36px,4.5vw,64px); }
.j-intro h1 { max-width: 14ch; }
.j-intro .j-acronym { letter-spacing: .045em; font-size: .85rem; color: #e1cdaa; margin-top: 16px; }
.j-intro .j-acronym b { color: #fff; }
.j-proof { background: #203a4c; color: #fff8ec; }
.j-proof .j-label { color: #f2c48b; }
.j-comparison { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-top: 1px solid #87a1ad; }
.j-comparison > div { padding: 16px 12px 18px 0; }
.j-comparison strong { font: 400 clamp(3.6rem,8vw,8rem)/1 Georgia,serif; display: block; color: #f0bf81; }
.j-comparison span { display: block; margin-top: 6px; font-size: .9rem; }
.j-roles, .j-projects, .j-frames { display:grid; gap: 22px; margin-top: 30px; }
.j-roles { grid-template-columns: repeat(5,minmax(0,1fr)); }
.j-projects { grid-template-columns: repeat(3,minmax(0,1fr)); }
.j-frames { grid-template-columns: repeat(3,minmax(0,1fr)); }
.j-tile { display: flex; flex-direction: column; color: inherit; text-decoration: none; border-bottom: 1px solid #afb4af; padding-bottom: 17px; }
.j-tile:hover h3, .j-tile:focus-visible h3 { text-decoration: underline; text-underline-offset: .13em; }
.j-tile img { display:block; width:100%; height:auto; aspect-ratio: 2.7; object-fit: cover; margin-bottom: 14px; }
.j-roles img { aspect-ratio: 3 / 4; object-position: 50% 30%; }
.j-tile .j-label { letter-spacing:.06em; margin-bottom:6px; }
.j-tile p { margin-top:9px; }
.j-cover { display:grid; grid-template-columns:1fr .83fr; gap:clamp(30px,6vw,90px); align-items:center; }
.j-cover img { width:100%; max-height:490px; aspect-ratio: 1.3; object-fit:cover; border-radius:2px; }
.j-portrait img { height:auto; width:min(100%,340px); justify-self:center; aspect-ratio:3/4; max-height:none; object-position:50% 20%; }
.j-story .j-frame { border-top:2px solid #99734b; padding-top:18px; }
.j-frame p { margin-top:12px; }
.j-frame img { width:100%; aspect-ratio:1.85; object-fit:cover; margin-bottom:16px; }
.j-sequel { border-top:1px solid #acb2ad; padding:24px 0 42px; }
.j-story .j-chapter { padding:16px 0; border-bottom:1px solid #adafa9; }
.j-chapter summary { cursor:pointer; font:500 1.35rem/1.4 Georgia,serif; }
.j-chapter p { margin:12px 0 2px; max-width:64ch; }
.j-story .j-cover-img { width:100%; height:auto; }
.j-story .jarvis-opening .jarvis-connected-hero { margin:0; }
.j-story .j-wide { width:100%; height:auto; border-radius:2px; }
@media(max-width:900px) {
 .j-roles,.j-projects { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .j-roles { gap:22px 14px; }
}
@media(max-width:660px) {
 .j-inner { width:calc(100% - 36px); }
 .j-story .j-editorial,.j-cover,.j-frames { grid-template-columns:1fr; }
 .j-cover { gap:22px; }
 .j-frames { gap:26px; }
 .j-portrait { grid-template-columns:1fr; gap:24px; }
 .j-portrait img { width:min(100%,240px); justify-self:start; }
 .j-portrait h1 { font-size:clamp(2.6rem,11vw,4rem); }
 .j-projects { grid-template-columns:1fr; }
 .j-roles h3 { font-size:1.65rem; }
 .j-roles p { font-size:.92rem; }
}

body:has(.j-story) > header:has(.sitebar) { position: relative; background: #203a4c; }
