/* ============================================================
   /resolve — Insights proposal + refreshed article reading views
   Builds on colors_and_type.css + foundations.css + site.css
   ============================================================ */

/* ---------- shared static nav back-link ---------- */
.nav .back { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: #C2C9D2;
  display: inline-flex; align-items: center; gap: 7px; transition: color var(--dur-fast) var(--ease-out); }
.nav .back:hover { color: #fff; }
.nav .back .ai { width: 15px; height: 15px; stroke-width: 1.75; }
.nav .crumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); }
.nav .crumb::before { content: "/ "; }

/* ============================================================
   DOC HERO (ink proposal cover)
   ============================================================ */
.doc-hero { background: var(--rs-ink-900); color: #fff; position: relative; overflow: hidden; }
.doc-hero::after { content: "/"; position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: 88vh; line-height: .8; color: var(--accent);
  opacity: .07; pointer-events: none; user-select: none; }
.doc-hero .inner { padding: clamp(64px, 9vh, 104px) 0 clamp(52px, 7vh, 84px); position: relative; z-index: 2; }
.doc-hero h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.1rem);
  line-height: 1.04; letter-spacing: -.025em; max-width: 18ch; margin-top: 22px; }
.doc-hero h1 b { font-weight: 700; color: var(--accent); }
.doc-hero .sub { font-size: clamp(17px, 1rem + .4vw, 20px); line-height: 1.55; color: #B4BCC6; max-width: 60ch; margin-top: 24px; }
.doc-hero .meta { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12); }
.doc-hero .meta .item { display: flex; flex-direction: column; gap: 5px; }
.doc-hero .meta .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6B7480; }
.doc-hero .meta .val { font-size: 15px; color: #E6E9ED; }

/* in-page contents rail */
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.toc a { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em; color: #C2C9D2;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); padding: 9px 15px;
  transition: all var(--dur-fast) var(--ease-out); }
.toc a:hover { border-color: var(--accent); color: #fff; }
.toc a .n { color: var(--accent); margin-right: 8px; }

/* ============================================================
   PLACEMENT (where these live)
   ============================================================ */
.place .map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px;
  background: var(--border); border: 1px solid var(--border); }
.place .col { background: var(--surface); padding: 30px 26px 30px; position: relative; }
.place .col::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: var(--accent); }
.place .col .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.place .col h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; margin: 12px 0 6px; line-height: 1.2; }
.place .col .ek { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--fg-3); }
.place .col .field { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.place .col .field:first-of-type { margin-top: 20px; }
.place .col .field .fl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.place .col .field .fv { font-size: 14.5px; line-height: 1.5; color: var(--fg-1); margin-top: 6px; }
.place .col .field .fv b { color: var(--accent); font-weight: 600; }
@media (max-width: 880px){ .place .map { grid-template-columns: 1fr; } }

.place .moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.place .move { border: 1px solid var(--border); border-top: 2px solid var(--accent); border-radius: var(--radius-md);
  padding: 26px 24px 28px; background: var(--surface-raised); }
.place .move .ic { width: 26px; height: 26px; stroke: var(--accent); stroke-width: 1.5; }
.place .move h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 16px 0 9px; letter-spacing: -.01em; }
.place .move p { font-size: 14.5px; line-height: 1.58; color: var(--fg-2); }
.place .move .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; display: block; margin-top: 14px; }
@media (max-width: 880px){ .place .moves { grid-template-columns: 1fr; } }

/* nav-change mock */
.navmock { margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.navmock .bar { background: var(--rs-ink-900); display: flex; align-items: center; gap: 28px; padding: 16px 24px; flex-wrap: wrap; }
.navmock .bar .b { font-family: var(--font-display); font-weight: 300; color: #fff; font-size: 16px; }
.navmock .bar .b b { color: var(--accent); font-weight: 700; }
.navmock .bar a { font-size: 13.5px; color: #C2C9D2; }
.navmock .bar a.new { color: #fff; position: relative; }
.navmock .bar a.new::after { content: "NEW"; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em;
  color: var(--accent); position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.navmock .bar a.new span { border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; }
.navmock .cap { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); padding: 12px 24px; background: var(--surface-alt); }
.navmock .cap b { color: var(--accent); font-weight: 600; }

/* ============================================================
   INSIGHTS HUB preview
   ============================================================ */
.hub { background: var(--surface-alt); }
.hub .filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.hub .chip { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em; padding: 9px 16px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-alt); color: var(--fg-2); }
.hub .chip.on { background: var(--rs-ink-900); color: #fff; border-color: var(--rs-ink-900); }

.hub .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.ins-card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.ins-card:hover { box-shadow: var(--shadow-3); transform: translateY(-4px); }
.ins-card .ph { aspect-ratio: 16/10; position: relative; border-bottom: 1px solid var(--border); }
.ins-card .ph .badge { position: absolute; left: 14px; top: 14px; z-index: 3; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #fff;
  background: var(--accent); padding: 5px 10px; border-radius: var(--radius-sm); white-space: nowrap; }
.ins-card .ph .badge.case { background: var(--rs-teal-500); }
.ins-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ins-card .tagrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; }
.ins-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.012em;
  line-height: 1.18; margin: 12px 0 10px; }
.ins-card p { font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.ins-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px;
  padding-top: 16px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-3); }
.ins-card .foot .read { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.ins-card .foot .read .ai { width: 14px; height: 14px; stroke-width: 1.75; }
@media (max-width: 880px){ .hub .cards { grid-template-columns: 1fr; } }

/* ============================================================
   ARTICLE reading view
   ============================================================ */
.article { border-top: 1px solid var(--border); }

/* back-to-previous link at the top of a detail-page hero */
.back-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: .04em; color: #C2C9D2; margin-bottom: 22px;
  transition: color var(--dur-fast) var(--ease-out), gap var(--dur-base) var(--ease-out); }
.back-link:hover { color: #fff; gap: 10px; }
.back-link .ai { width: 15px; height: 15px; stroke-width: 1.75; }
.article-hero.paper .back-link { color: var(--fg-3); }
.article-hero.paper .back-link:hover { color: var(--fg-1); }
.article-hero { background: var(--rs-ink-900); color: #fff; position: relative; overflow: hidden; }
.article-hero.paper { background: var(--surface); color: var(--fg-1); border-bottom: 1px solid var(--border); }
.article-hero .inner { padding-top: clamp(56px, 7vh, 88px); padding-bottom: clamp(40px, 5vh, 60px); position: relative; z-index: 2; }
.article-hero .badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); }
.article-hero .badge::before { content: "/ "; }
.article-hero h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem);
  line-height: 1.05; letter-spacing: -.022em; margin: 18px 0 0; max-width: 20ch; }
.article-hero h2 b { color: var(--accent); font-weight: 700; }
.article-hero .dek { font-size: clamp(17px, 1rem + .4vw, 20px); line-height: 1.5; color: #B4BCC6; max-width: 56ch; margin-top: 22px; }
.article-hero.paper .dek { color: var(--fg-2); }
.article-hero .byline { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-top: 32px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--font-mono); font-size: 12.5px; color: #8A93A0; }
.article-hero.paper .byline { border-top-color: var(--border); color: var(--fg-3); }
.article-hero .byline b { color: #E6E9ED; font-weight: 500; }
.article-hero.paper .byline b { color: var(--fg-1); }
.article-hero .byline .dot { color: var(--accent); }

/* duotone hero strip for review article */
.article-hero .hero-strip { position: absolute; inset: 0; z-index: 0; }
.article-hero .hero-strip .duo { width: 100%; height: 100%; }
.article-hero .hero-strip::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,18,23,.96) 0%, rgba(14,18,23,.9) 40%, rgba(14,18,23,.6) 100%); }

/* article body */
.art-body { padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start;
  max-width: 1080px; margin: 0; }
.prose { max-width: 680px; }
.prose > * + * { margin-top: 22px; }
.prose .lede { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  line-height: 1.32; letter-spacing: -.012em; color: var(--fg-1); }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + .8vw, 1.55rem);
  letter-spacing: -.012em; line-height: 1.2; margin-top: 44px; }
.prose h3 .hn { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--accent); margin-right: 12px; }
.prose h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; margin-top: 30px; }
.prose p { font-size: 16.5px; line-height: 1.66; color: var(--fg-1); }
.prose p .q { color: var(--fg-2); }
.prose strong { font-weight: 600; }
.prose a.ref { color: var(--accent); border-bottom: 1px solid var(--border-strong); }
.prose ul { list-style: none; margin-top: 18px; }
.prose ul li { position: relative; padding: 12px 0 12px 26px; font-size: 16px; line-height: 1.6; color: var(--fg-1);
  border-bottom: 1px solid var(--border); }
.prose ul li:first-child { border-top: 1px solid var(--border); }
.prose ul li::before { content: "/"; position: absolute; left: 0; color: var(--accent); font-family: var(--font-mono); font-weight: 600; }
.prose ul li b { font-weight: 600; }

/* inline stat row inside prose */
.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border);
  border: 1px solid var(--border); margin: 34px 0; }
.statrow .s { background: var(--surface-raised); padding: 24px 20px; border-top: 2px solid var(--accent); }
.statrow .s .n { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 2vw + 1rem, 42px);
  line-height: 1; letter-spacing: -.025em; }
.statrow .s .n.teal { color: var(--rs-teal-500); }
.statrow .s .c { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--fg-3); margin-top: 12px; line-height: 1.5; }
@media (max-width: 620px){ .statrow { grid-template-columns: 1fr; } }

/* pull quote */
.prose .pull { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2rem);
  line-height: 1.26; letter-spacing: -.016em; color: var(--fg-1); margin: 40px 0; padding-left: 24px;
  border-left: 2px solid var(--accent); text-wrap: pretty; }

/* refresh-delta callout (sidebar) */
.aside { position: sticky; top: 92px; }
.delta { border: 1px solid var(--border); border-top: 2px solid var(--accent); border-radius: var(--radius-md);
  background: var(--surface-raised); padding: 22px 22px 24px; }
.delta .h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.delta .h::before { content: "/ "; }
.delta .sub { font-size: 12.5px; color: var(--fg-3); margin-top: 8px; line-height: 1.5; }
.delta .row { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.delta .row:last-child { border-bottom: 0; padding-bottom: 0; }
.delta .row:first-of-type { border-top: 1px solid var(--border); margin-top: 16px; }
.delta .row .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.delta .row .vals { display: flex; align-items: baseline; gap: 8px; font-size: 14.5px; }
.delta .row .was { color: var(--fg-3); text-decoration: line-through; text-decoration-color: var(--border-strong); }
.delta .row .arr { color: var(--accent); font-family: var(--font-mono); }
.delta .row .now { color: var(--fg-1); font-weight: 600; }
.aside .note { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.6; color: var(--fg-3); margin-top: 18px;
  padding-left: 14px; border-left: 1px solid var(--border); }
@media (max-width: 940px){
  .art-grid { grid-template-columns: 1fr; gap: 36px; }
  .aside { position: static; }
  .prose { max-width: 720px; }
}

/* article footer (tags + cta) */
.art-foot { max-width: 680px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.art-foot .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.art-foot .tags a { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--fg-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 12px; }
.art-foot .place-note { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-alt); border-left: 2px solid var(--accent); padding: 18px 20px; }
.art-foot .place-note .ic { width: 20px; height: 20px; stroke: var(--accent); stroke-width: 1.6; flex: none; margin-top: 2px; }
.art-foot .place-note .t { font-size: 14px; line-height: 1.55; color: var(--fg-1); }
.art-foot .place-note .t b { color: var(--accent); font-weight: 600; }
.art-foot .place-note .t .k2 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); display: block; margin-bottom: 5px; }

/* section intro reused */
.lead-reco { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; margin-top: 14px; }
.lead-reco .big { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  line-height: 1.22; letter-spacing: -.016em; }
.lead-reco .big b { color: var(--accent); font-weight: 300; }
.lead-reco .body p { font-size: 16px; line-height: 1.62; color: var(--fg-2); }
.lead-reco .body p + p { margin-top: 16px; }
@media (max-width: 820px){ .lead-reco { grid-template-columns: 1fr; gap: 24px; } }

/* footnote sources */
.sources { max-width: 680px; margin: 36px 0 0; }.sources h5 { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.sources p { font-family: var(--font-mono); font-size: 8.5px; line-height: 1.7; color: var(--fg-3); margin-top: 9px; }

/* end band */
.endband { background: var(--rs-ink-900); color: #fff; text-align: center; }
.endband .inner { padding: clamp(56px, 8vw, 96px) 0; }
.endband h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  letter-spacing: -.02em; line-height: 1.1; max-width: 20ch; margin: 16px auto 0; }
.endband h2 b { color: var(--accent); font-weight: 700; }
.endband .actions { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ---------- live: key-takeaways aside ---------- */
.takeaways { list-style: none; margin-top: 14px; }
.takeaways li { position: relative; padding: 11px 0 11px 22px; font-size: 14px; line-height: 1.5; color: var(--fg-1); border-bottom: 1px solid var(--border); }
.takeaways li:first-child { border-top: 1px solid var(--border); }
.takeaways li:last-child { border-bottom: 0; }
.takeaways li::before { content: "/"; position: absolute; left: 0; color: var(--accent); font-family: var(--font-mono); font-weight: 600; }
.aside .ask { margin-top: 18px; }
.aside .ask .btn { width: 100%; justify-content: center; }
.aside .ask .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--fg-3); line-height: 1.5; display: block; margin-bottom: 12px; }

/* ---------- case study: at-a-glance facts ---------- */
.glance .grow { display: flex; flex-direction: column; gap: 5px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.glance .grow:first-of-type { border-top: 1px solid var(--border); margin-top: 16px; }
.glance .grow:last-of-type { border-bottom: 0; }
.glance .grow .gl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.glance .grow .gv { font-size: 14.5px; line-height: 1.45; color: var(--fg-1); }
.glance .grow .gv.result { font-family: var(--font-display); font-weight: 300; font-size: 24px; letter-spacing: -.02em; color: var(--rs-teal-500); }
.glance .grow .gv b { font-weight: 600; }

/* ---------- live: related-solution cross-link ---------- */
.solxref { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--rs-ink-900); color: #fff; border-radius: var(--radius-md); padding: 26px 30px; flex-wrap: wrap; }
.solxref .t .k2 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px; }
.solxref .t p { font-family: var(--font-display); font-weight: 300; font-size: clamp(18px, 1rem + .6vw, 22px); line-height: 1.25; letter-spacing: -.01em; color: #fff; max-width: 30ch; }
.solxref a.btn { flex: none; }

/* ---------- homepage featured-insight band ---------- */
.featured-ins { background: var(--surface-alt); border-top: 1px solid var(--border); }
.featured-ins .inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; align-items: stretch; }
.featured-ins .media { position: relative; min-height: 320px; border-right: 1px solid var(--border); }
.featured-ins .media .duo { position: absolute; inset: 0; }
.featured-ins .media .badge { position: absolute; left: 24px; top: 24px; z-index: 3; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #fff;
  background: var(--accent); padding: 6px 12px; border-radius: var(--radius-sm); }
.featured-ins .text { padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.featured-ins .text .tagrow { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.featured-ins .text h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; margin: 16px 0 14px; max-width: 18ch; }
.featured-ins .text p { font-size: 16px; line-height: 1.6; color: var(--fg-2); max-width: 50ch; }
.featured-ins .text .more { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: var(--accent);
  transition: gap var(--dur-base) var(--ease-out); }
.featured-ins .text .more span { padding-bottom: 4px; border-bottom: 1.5px solid var(--accent); }
.featured-ins .text .more:hover { gap: 13px; }
.featured-ins .text .more .ai { width: 16px; height: 16px; stroke-width: 1.75; }
@media (max-width: 820px){ .featured-ins .inner { grid-template-columns: 1fr; } .featured-ins .media { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--border); } }
