/* =========================================================
   Insight article — CES Category Trends
   ========================================================= */
.insight-card-link { transition: transform .2s ease, border-color .2s ease; }
.insight-card-link:hover { transform: translateY(-3px); border-color: #9d9d96; }

.article-main { max-width: 1440px; margin: 0 auto; }
.insight-article { padding: 0 6vw 100px; }
.article-hero { min-height: 72vh; padding: 72px 0 80px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
.article-back { width: fit-content; margin-bottom: 56px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-labels { justify-content: flex-start; margin-bottom: 24px; }
.article-kicker { margin: 0 0 16px; color: #2563eb; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-hero h1 { max-width: 1100px; margin: 0; font-size: clamp(58px, 8vw, 118px); line-height: .92; letter-spacing: -.06em; }
.article-lead { max-width: 760px; margin: 36px 0 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.9; }

.article-section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.article-section-head { max-width: 850px; }
.article-section-head h2, .taxonomy-note h2, .next-update h2 { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -.05em; }
.article-section-head > p:last-child { max-width: 720px; margin: 24px 0 0; color: var(--muted); line-height: 1.8; }

.heat-legend { display: flex; align-items: center; gap: 7px; margin: 42px 0 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.legend-swatch { display: inline-block; width: 28px; height: 14px; border: 1px solid rgba(17,17,17,.08); }
.legend-zero { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; }

.heatmap-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.category-heatmap { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; }
.category-heatmap th, .category-heatmap td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.category-heatmap thead th {
  position: static;
  background: #111;
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.category-heatmap thead th:first-child, .category-heatmap tbody th { text-align: left; }
.category-heatmap tbody th { width: 48%; background: #fff; font-weight: 650; }
.category-heatmap tbody tr:last-child th, .category-heatmap tbody tr:last-child td { border-bottom: 0; }

.category-heatmap thead {
  display: table-header-group;
}

.category-heatmap tbody {
  display: table-row-group;
}

.category-heatmap tr {
  display: table-row;
}

.category-heatmap th,
.category-heatmap td {
  box-sizing: border-box;
}

.category-heatmap tbody tr:first-child th,
.category-heatmap tbody tr:first-child td {
  border-top: 0;
}

.heat-cell { min-width: 82px; font-variant-numeric: tabular-nums; font-weight: 800; }

/* Blue -> near-white -> red. Zero is separate gray because it can mean taxonomy absence. */
.heat-zero { background: #ececea; color: #777770; }
.heat-blue-3 { background: #2563eb; color: #fff; }
.heat-blue-2 { background: #93c5fd; color: #0b2554; }
.heat-neutral { background: #f8fafc; color: #111; }
.heat-red-1 { background: #fdba74; color: #5b2200; }
.heat-red-2 { background: #f97316; color: #fff; }
.heat-red-3 { background: #b91c1c; color: #fff; }

.trend-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 108px; padding: 7px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .05em; white-space: nowrap; }
.trend-up { background: #dcfce7; color: #166534; }
.trend-down { background: #fee2e2; color: #991b1b; }
.trend-stable { background: #e5e7eb; color: #374151; }
.trend-recovery { background: #dbeafe; color: #1d4ed8; }
.trend-peaked { background: #ffedd5; color: #9a3412; }
.trend-new { background: #ede9fe; color: #6d28d9; }
.method-note { max-width: 920px; margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

.finding-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 52px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.finding { min-height: 330px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.finding-no { color: #2563eb; font-size: 11px; font-weight: 800; }
.finding h3 { margin: 70px 0 18px; font-size: clamp(25px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.finding p { margin: 0; color: var(--muted); line-height: 1.8; }

.taxonomy-note { margin: 96px 0 0; padding: 48px; background: #111; color: #fff; }
.taxonomy-note .eyebrow { color: #9ca3af; }
.taxonomy-note h2 { max-width: 900px; }
.taxonomy-note > p:last-child { max-width: 800px; margin: 28px 0 0; color: #c7c7c2; line-height: 1.9; }

.next-update { margin-top: 28px; padding: 48px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: end; border: 1px solid var(--line); background: #fff; }
.next-update p:last-child { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }

@media (max-width: 760px) {
  .insight-article { padding: 0 20px 72px; }
  .article-hero { min-height: auto; padding: 56px 0 64px; }
  .article-back { margin-bottom: 40px; }
  .article-section { padding: 70px 0; }
  .heat-legend { flex-wrap: wrap; }
  .category-heatmap th, .category-heatmap td { padding: 13px 12px; }
  .category-heatmap tbody th { width: 42%; }
  .finding-grid { grid-template-columns: 1fr; }
  .finding { min-height: 280px; }
  .finding h3 { margin-top: 48px; }
  .taxonomy-note, .next-update { padding: 30px 24px; }
  .next-update { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   FitTech article — revised structure
   ========================================================= */
.article-updated { margin: 0 0 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; }

.signal-chart-wrap { margin-top: 46px; padding: 28px 30px 24px; border: 1px solid var(--line); background: #fff; }
.trend-chart-intro { margin-bottom: 18px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.trend-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.trend-card { min-width: 0; padding: 18px 18px 12px; border: 1px solid var(--line); background: #fff; }
.trend-card.body { border-top: 3px solid var(--trend-color); }
.trend-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 62px; }
.trend-card-head h3 { margin: 0; color: var(--trend-color); font-size: 12px; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.trend-card-head p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.trend-card-head strong { color: #111; font-size: 12px; white-space: nowrap; }
.trend-svg { display: block; width: 100%; height: auto; overflow: visible; }
.trend-svg .grid { stroke: #deded9; stroke-width: 1; }
.trend-svg .axis-label, .trend-svg .year-label { fill: #777; font-size: 10px; font-weight: 700; }
.trend-svg .trend-line { fill: none; stroke: var(--trend-color); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.trend-svg .trend-points circle { fill: #fff; stroke: var(--trend-color); stroke-width: 3; }
.trend-svg .pt-val { fill: #111; font-size: 11px; font-weight: 850; }
.signal-chart-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.signal-takeaway { margin-top: 22px; padding: 20px 22px; border-left: 3px solid #2563eb; background: #f5f7fb; }
.signal-takeaway p { margin: 0; color: #333; line-height: 1.8; }

.lens-section .article-section-head { max-width: 960px; }
.lens-stat { display: flex; align-items: baseline; gap: 16px; margin: 34px 0 0; }
.lens-stat strong { font-size: clamp(36px,5vw,70px); line-height: 1; letter-spacing: -.05em; }
.lens-stat span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.lens-copy { max-width: 850px; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.example-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 42px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.example-card { min-height: 250px; padding: 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.example-card .example-meta { color: #2563eb; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.example-card h3 { margin: 42px 0 14px; font-size: clamp(22px,2.3vw,34px); line-height: 1.08; letter-spacing: -.035em; }
.example-card h3 a { color: #111; text-decoration: none; }
.example-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.example-card p { margin: 0; color: var(--muted); line-height: 1.8; }

.taxonomy-note { margin-top: 96px; }
.body-intelligence-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.body-intelligence-flow span { padding: 10px 12px; border: 1px solid #444; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.body-intelligence-flow b { color: #777; font-size: 13px; }

.method-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 44px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-card { padding: 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.method-card h3 { margin: 0 0 14px; font-size: 17px; }
.method-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 13px; }
.keyword-block { margin-top: 34px; }
.keyword-row { display: grid; grid-template-columns: 210px 1fr; gap: 22px; padding: 19px 0; border-top: 1px solid var(--line); }
.keyword-row:last-child { border-bottom: 1px solid var(--line); }
.keyword-row h3 { margin: 0; font-size: 13px; }
.keyword-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.keyword-row code { padding: 2px 5px; background: #ececea; color: #333; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; }
.caution-box { margin-top: 26px; padding: 28px 30px; border: 1px solid var(--line); background: #fff; }
.caution-box strong { display: block; margin-bottom: 10px; font-size: 13px; }
.caution-box p { margin: 0; color: var(--muted); line-height: 1.85; font-size: 13px; }
.source-provenance { margin-top: 48px; padding-top: 52px; }
.source-provenance > p { max-width: 880px; color: var(--muted); line-height: 1.85; }
.source-provenance a { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.article-navigation { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(127,127,127,.28); }
.article-navigation nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.article-navigation nav > :last-child { text-align: right; }
.related-block { margin-top: 32px; }
.related-block > div { display: grid; gap: 10px; }

@media (max-width: 900px) {
  .trend-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .signal-legend { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .example-grid, .method-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .signal-chart-wrap { padding: 18px 16px; }
  .trend-grid { grid-template-columns: 1fr; gap: 12px; }
  .trend-card { padding: 16px 14px 10px; }
  .trend-card-head { min-height: auto; }
  .signal-legend { grid-template-columns: 1fr; }
  .keyword-row { grid-template-columns: 1fr; gap: 8px; }
  .article-navigation nav { grid-template-columns: 1fr auto; }
  .article-navigation nav > :last-child { display: none; }
}


.signal-chart-wrap.combined { padding: 28px 30px 22px; }
.combined-chart-card { border: 1px solid var(--line); background: linear-gradient(180deg,#fff 0%,#fcfcfb 100%); padding: 20px 18px 14px; }
.combined-trend-svg { display:block; width:100%; height:auto; overflow:visible; }
.combined-trend-svg .grid { stroke:#e0e0db; stroke-width:1; }
.combined-trend-svg .year-guide { stroke:#ecebe6; stroke-width:1; }
.combined-trend-svg .axis-label, .combined-trend-svg .year-label { fill:#777; font-size:12px; font-weight:700; }
.combined-trend-svg .series-line { fill:none; stroke:var(--series); stroke-width:4; stroke-linecap:round; stroke-linejoin:round; stroke-opacity:.72; }
.combined-trend-svg .series-point { fill:#fff; stroke:var(--series); stroke-width:3.5; }
.combined-trend-svg .point-value { font-size:11px; font-weight:900; letter-spacing:.01em; }
.combined-trend-svg .point-value-body { fill:#2563eb; }
.combined-trend-svg .point-value-ai { fill:#111; }
.combined-trend-svg .point-value-risk { fill:#d94848; }
.combined-trend-svg .point-value-real { fill:#159447; }
.combined-trend-svg .point-value-coaching { fill:#8b4fd6; }
.combined-trend-svg .end-tag rect { fill:#fff; stroke:currentColor; stroke-width:1.4; }
.combined-trend-svg .end-tag circle { fill:currentColor; }
.combined-trend-svg .end-tag text { fill:#111; font-size:12px; font-weight:900; dominant-baseline:middle; }
.combined-trend-svg .end-tag-body { color:#2563eb; }
.combined-trend-svg .end-tag-ai { color:#111111; }
.combined-trend-svg .end-tag-risk { color:#d94848; }
.combined-trend-svg .end-tag-real { color:#159447; }
.combined-trend-svg .end-tag-coaching { color:#8b4fd6; }
.trend-summary-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 18px; margin-top:18px; }
.summary-item { display:flex; align-items:center; gap:9px; color:#555; font-size:11px; line-height:1.5; }
.summary-item i { width:16px; height:4px; border-radius:999px; display:inline-block; background:currentColor; opacity:.85; flex:0 0 auto; }
.summary-item strong { color:#111; font-weight:900; margin-left:4px; }
.summary-item.body { color:#2563eb; }
.summary-item.ai { color:#111111; }
.summary-item.risk { color:#d94848; }
.summary-item.realtime { color:#159447; }
.summary-item.coaching { color:#8b4fd6; }

@media (max-width: 900px) {
  .combined-chart-card { padding: 16px 12px 12px; }
  .combined-trend-svg .axis-label, .combined-trend-svg .year-label { font-size:10px; }
  .combined-trend-svg .end-tag text { font-size:10px; }
  .combined-trend-svg .point-value { font-size:10px; }
}

@media (max-width: 720px) {
  .signal-chart-wrap.combined { padding: 18px 16px; }
  .trend-summary-list { grid-template-columns:1fr; gap:8px; }
  .combined-chart-card { overflow-x:auto; }
  .combined-trend-svg { min-width: 860px; }
}

/* v6: subtle overlap handling for the combined trend chart */
.combined-trend-svg .series-line { stroke-opacity:.68; }
.combined-trend-svg .end-connector { stroke-width:1.4; stroke-opacity:.55; }
.combined-trend-svg .end-connector.body { stroke:#2563eb; }
.combined-trend-svg .end-connector.ai { stroke:#111; }
.combined-trend-svg .end-connector.risk { stroke:#d94848; }
.combined-trend-svg .end-connector.real { stroke:#159447; }
.combined-trend-svg .end-connector.coaching { stroke:#8b4fd6; }


/* v6: single interactive line chart */
.signal-chart-wrap.combined { padding: 28px 30px 22px; }
.combined-chart-card { position:relative; border:1px solid var(--line); background:#fff; padding:18px 18px 8px; overflow:visible; }
.combined-trend-svg { display:block; width:100%; height:auto; overflow:visible; }
.combined-trend-svg .grid { stroke:#e0e0db; stroke-width:1; }
.combined-trend-svg .year-guide { stroke:#ecebe6; stroke-width:1; }
.combined-trend-svg .axis-label, .combined-trend-svg .year-label, .combined-trend-svg .sample-label { fill:#777; font-size:12px; font-weight:700; }
.combined-trend-svg .sample-label { font-size:10px; fill:#999; }
.combined-trend-svg .series { transition:opacity .16s ease; }
.combined-trend-svg .series-line { fill:none; stroke:var(--series); stroke-width:3.5; stroke-linecap:round; stroke-linejoin:round; stroke-opacity:.62; }
.combined-trend-svg .series-point { fill:#fff; stroke:var(--series); stroke-width:3; opacity:.95; }
.combined-trend-svg .year-hit { fill:transparent; cursor:pointer; pointer-events:all; }
.combined-trend-svg .year-hit.active { fill:rgba(0,0,0,.025); }
.combined-chart-card[data-highlight] .series { opacity:.14; }
.combined-chart-card[data-highlight="body"] .series-body,
.combined-chart-card[data-highlight="ai"] .series-ai,
.combined-chart-card[data-highlight="risk"] .series-risk,
.combined-chart-card[data-highlight="realtime"] .series-realtime,
.combined-chart-card[data-highlight="coaching"] .series-coaching { opacity:1; }
.combined-chart-card[data-highlight] .series-line { stroke-width:3; }
.combined-chart-card[data-highlight="body"] .series-body .series-line,
.combined-chart-card[data-highlight="ai"] .series-ai .series-line,
.combined-chart-card[data-highlight="risk"] .series-risk .series-line,
.combined-chart-card[data-highlight="realtime"] .series-realtime .series-line,
.combined-chart-card[data-highlight="coaching"] .series-coaching .series-line { stroke-width:5; stroke-opacity:1; }
.trend-tooltip { position:absolute; z-index:5; min-width:250px; max-width:290px; padding:13px 14px 12px; border:1px solid #d8d8d3; border-radius:10px; background:rgba(255,255,255,.97); box-shadow:0 10px 28px rgba(0,0,0,.12); pointer-events:none; }
.trend-tooltip[hidden] { display:none; }
.trend-tooltip-year { margin-bottom:8px; color:#111; font-size:12px; font-weight:900; letter-spacing:.08em; }
.trend-tooltip-grid { display:grid; gap:6px; }
.trend-tooltip-row { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:11px; }
.tooltip-series { display:flex; align-items:center; min-width:0; color:#555; }
.tooltip-series i { width:8px; height:8px; border-radius:50%; margin-right:8px; flex:0 0 auto; }
.trend-tooltip-row strong { color:#111; font-size:12px; }
.trend-legend { display:flex; flex-wrap:wrap; gap:8px 10px; margin-top:16px; }
.legend-item { appearance:none; border:0; background:transparent; padding:5px 6px; display:inline-flex; align-items:center; gap:7px; color:#555; font:inherit; font-size:11px; cursor:pointer; border-radius:6px; }
.legend-item:hover, .legend-item:focus-visible { background:#f3f3f0; color:#111; outline:none; }
.legend-item i { width:18px; height:4px; border-radius:999px; background:currentColor; opacity:.85; }
.legend-item.body { color:#2563eb; }
.legend-item.ai { color:#111; }
.legend-item.risk { color:#d94848; }
.legend-item.realtime { color:#159447; }
.legend-item.coaching { color:#8b4fd6; }

@media (max-width:720px) {
  .signal-chart-wrap.combined { padding:18px 16px; }
  .combined-chart-card { padding:12px 8px 4px; overflow:visible; }
  .combined-trend-svg { min-width:0; width:100%; }
  .combined-trend-svg .axis-label, .combined-trend-svg .year-label { font-size:11px; }
  .combined-trend-svg .sample-label { font-size:9px; }
  .combined-trend-svg .series-line { stroke-width:4; }
  .combined-trend-svg .series-point { r:6; }
  .trend-tooltip { min-width:220px; max-width:calc(100% - 20px); }
  .trend-legend { gap:6px 8px; }
  .legend-item { font-size:10px; padding:4px 5px; }
}


/* v7: denser editorial layout */
.article-hero {
  min-height: auto;
  padding: 62px 0 66px;
}
.article-back { margin-bottom: 34px; }
.article-labels { margin-bottom: 18px; }
.article-kicker { margin-bottom: 12px; }
.article-hero h1 { font-size: clamp(52px, 7vw, 100px); }
.article-lead { max-width: 900px; margin-top: 26px; line-height: 1.72; }

.article-section { padding: 64px 0; }
.article-section-head h2,
.taxonomy-note h2,
.next-update h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; }
.article-section-head > p:last-child { margin-top: 16px; line-height: 1.68; }

.signals-section .signal-chart-wrap { margin-top: 28px; }
.signal-chart-wrap.combined { padding: 22px 24px 18px; }
.trend-chart-intro { margin-bottom: 12px; }
.trend-legend { margin-top: 10px; }
.signal-chart-note { margin-top: 10px; }
.signal-takeaway { margin-top: 16px; padding: 16px 18px; }
.signal-takeaway p { line-height: 1.68; }
.method-note { margin-top: 12px; line-height: 1.6; }

/* Put each finding and its product evidence in one dense horizontal block. */
.lens-section {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.45fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 46px;
  row-gap: 18px;
  align-items: start;
}
.lens-section .article-section-head {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
}
.lens-section .lens-stat {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  gap: 10px;
  flex-wrap: wrap;
}
.lens-section .lens-stat strong {
  font-size: clamp(32px, 3.6vw, 52px);
}
.lens-section .lens-copy {
  grid-column: 1;
  grid-row: 3;
  max-width: none;
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
}
.lens-section .example-grid {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-top: 0;
}
.example-card {
  min-height: 0;
  padding: 20px 22px;
}
.example-card h3 {
  margin: 18px 0 10px;
  font-size: clamp(19px, 1.7vw, 27px);
}
.example-card p { font-size: 13px; line-height: 1.65; }

.taxonomy-note { margin-top: 62px; padding: 36px 40px; }
.taxonomy-note > p:last-child { margin-top: 20px; line-height: 1.72; }
.body-intelligence-flow { margin-top: 22px; }

.method-section { padding-top: 58px; }
.method-section .article-section-head { max-width: 980px; }
.compact-method-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 28px;
}
.method-card { padding: 20px 22px; }
.method-card h3 { margin-bottom: 9px; font-size: 14px; }
.method-card p { font-size: 12px; line-height: 1.65; }
.source-links { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.source-links a {
  display:inline-flex;
  padding:6px 9px;
  border:1px solid var(--line);
  color:#111;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}
.source-links a:hover { border-color:#999; }

.keyword-block {
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:0;
  margin-top:24px;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.keyword-row {
  display:block;
  padding:16px 18px;
  border-top:0;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.keyword-row:last-child { border-bottom:1px solid var(--line); }
.keyword-row h3 { margin-bottom:9px; font-size:12px; }
.keyword-row p { font-size:11px; line-height:1.72; }
.keyword-row code { display:inline-block; margin:2px 2px 2px 0; font-size:10px; }
.caution-box { margin-top:18px; padding:20px 22px; }
.caution-box p { font-size:12px; line-height:1.68; }

.article-navigation { margin-top: 44px; }
.related-block { margin-top: 24px; }

@media (max-width: 1040px) {
  .lens-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 16px;
  }
  .lens-section .article-section-head,
  .lens-section .lens-stat,
  .lens-section .lens-copy,
  .lens-section .example-grid {
    grid-column: 1;
    grid-row: auto;
  }
  .lens-section .example-grid { margin-top: 8px; }
  .compact-method-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .article-hero { padding: 48px 0 50px; }
  .article-back { margin-bottom: 28px; }
  .article-hero h1 { font-size: clamp(46px, 15vw, 72px); }
  .article-lead { margin-top: 20px; font-size: 15px; line-height: 1.7; }
  .article-section { padding: 46px 0; }
  .article-section-head h2, .taxonomy-note h2 { font-size: clamp(32px, 10vw, 46px); }
  .signal-chart-wrap.combined { padding: 16px 14px 14px; }
  .lens-section { row-gap: 14px; }
  .lens-section .example-grid { grid-template-columns: 1fr; }
  .example-card { padding: 18px 18px; }
  .example-card h3 { margin-top: 14px; font-size: 21px; }
  .taxonomy-note { margin-top: 46px; padding: 28px 22px; }
  .keyword-block { grid-template-columns: 1fr; }
  .method-section { padding-top: 44px; }
}


/* v8: restore a natural top-to-bottom reading flow while keeping density high */
.lens-section {
  display: block;
}
.lens-section .article-section-head,
.lens-section .lens-stat,
.lens-section .lens-copy,
.lens-section .example-grid {
  display: block;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.lens-section .article-section-head {
  margin-bottom: 14px;
}
.lens-section .article-section-head h2 {
  max-width: 980px;
}
.lens-section .lens-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 12px;
}
.lens-section .lens-stat strong {
  font-size: clamp(30px, 3.3vw, 48px);
}
.lens-section .lens-copy {
  max-width: 980px;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
}
.lens-section .example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-top: 0;
}
.example-card {
  padding: 18px 20px;
}
.example-card h3 {
  margin: 12px 0 8px;
}
.article-section.lens-section {
  padding-top: 52px;
  padding-bottom: 52px;
}

/* Method summary stays visible; implementation details are collapsible. */
.method-section {
  padding-top: 50px;
  padding-bottom: 50px;
}
.method-section .article-section-head {
  max-width: 980px;
}
.method-details {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.method-details summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
}
.method-details summary::-webkit-details-marker { display: none; }
.method-details summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}
.method-details[open] summary::after { content: "−"; }
.method-details-body {
  padding: 0 0 22px;
}
.method-details .compact-method-grid {
  margin-top: 4px;
}
.method-details .keyword-block {
  margin-top: 18px;
}
.method-details .caution-box {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .article-section.lens-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .lens-section .lens-stat {
    display: block;
    margin-bottom: 10px;
  }
  .lens-section .lens-stat span {
    display: block;
    margin-top: 4px;
  }
  .lens-section .example-grid {
    grid-template-columns: 1fr;
  }
  .method-details summary {
    font-size: 12px;
  }
}


/* v9: product examples follow the article flow from top to bottom */
.lens-section .example-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.lens-section .example-card {
  padding: 18px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.lens-section .example-card h3 {
  margin: 7px 0 6px;
}
.lens-section .example-card p {
  max-width: 980px;
  margin-bottom: 0;
}


/* v10: robust language switching */
[data-fit-lang][hidden] {
  display: none !important;
}



/* v13: methodology details read top-to-bottom */
.method-stack {
  display: block;
}
.method-stack .method-card {
  padding: 18px 2px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.method-stack .method-card:first-child {
  border-top: 0;
}
.method-stack .method-card h3 {
  margin: 0 0 8px;
}
.method-stack .method-card p {
  max-width: 980px;
  margin: 0;
}
.source-links-single {
  margin-top: 12px;
}
.source-links-single a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* v14: three-point synthesis + analysis-to-experiment section */
.three-shifts {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.shift-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.shift-no,
.experiment-no {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--accent);
}
.shift-item h3,
.experiment-feature h3,
.future-challenge h3 {
  margin: 0 0 7px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
}
.shift-item p,
.experiment-feature p,
.future-challenge p {
  max-width: 980px;
  margin: 0;
  line-height: 1.75;
}

.experiment-section {
  padding-top: 64px;
  padding-bottom: 64px;
}
.experiment-section .article-section-head {
  max-width: 980px;
  margin-bottom: 28px;
}
.experiment-feature,
.future-challenge {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.future-challenge {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.burpee-media {
  margin: 32px 0 0;
}
.burpee-media video,
.burpee-media img {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  background: #0f1115;
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}
.burpee-media figcaption {
  max-width: 700px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}
.burpee-result img {
  background: #000;
}

.burpee-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 24px 0;
  border-top: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
}
.burpee-cta h3 {
  margin: 6px 0 0;
  font-size: clamp(20px, 2vw, 28px);
}
.burpee-cta a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .shift-item,
  .experiment-feature,
  .future-challenge {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }
  .burpee-media video,
  .burpee-media img {
    width: min(100%, 360px);
    border-radius: 16px;
  }
  .burpee-cta {
    display: block;
  }
  .burpee-cta a {
    margin-top: 18px;
    width: 100%;
  }
}

/* v15: compact takeaways + experimental product */
.findings-section{padding-top:44px;padding-bottom:44px}.findings-section .article-section-head{margin-bottom:8px}.findings-list{border-top:1px solid var(--line)}.finding-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.finding-no{color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.12em;padding-top:4px}.finding-row h3{margin:0 0 4px;font-size:clamp(18px,1.8vw,24px);line-height:1.3}.finding-row p{max-width:980px;margin:0;line-height:1.65}
.experiment-section{padding-top:56px;padding-bottom:58px}.experiment-head{max-width:980px;padding-bottom:24px;border-bottom:1px solid var(--line)}.experiment-head h2{margin-bottom:12px}.burpee-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:999px;background:#ff6b35;color:#fff!important;text-decoration:none;font-size:13px;font-weight:900;letter-spacing:.01em;box-shadow:0 10px 24px rgba(255,107,53,.18);transition:transform .15s ease,box-shadow .15s ease}.burpee-link:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(255,107,53,.24)}.burpee-link-top{margin-top:16px}.burpee-media{margin:30px 0 0}.burpee-media video,.burpee-media img{display:block;width:min(100%,430px);height:auto;margin:0 auto;border-radius:20px;background:#0f1115;box-shadow:0 18px 44px rgba(0,0,0,.14)}.burpee-media figcaption{max-width:680px;margin:10px auto 0;color:var(--muted);font-size:11px;line-height:1.6;text-align:center}.experiment-analysis{margin-top:42px;border-top:1px solid var(--line)}.experiment-analysis>.eyebrow{margin-top:18px;margin-bottom:4px}.experiment-analysis-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.experiment-analysis-row h3{margin:0 0 5px;font-size:clamp(18px,1.9vw,25px);line-height:1.3}.experiment-analysis-row p{max-width:980px;margin:0;line-height:1.7}.future-row h3{color:var(--muted)}.burpee-cta-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px;padding:22px 0 4px}.burpee-cta-bottom h3{margin:6px 0 0;font-size:clamp(20px,2vw,28px)}
@media(max-width:720px){.finding-row,.experiment-analysis-row{grid-template-columns:32px minmax(0,1fr);gap:10px}.burpee-media video,.burpee-media img{width:min(100%,360px);border-radius:16px}.burpee-cta-bottom{display:block}.burpee-cta-bottom .burpee-link{width:100%;margin-top:16px}}


/* v16: chapter navigation */
.chapter-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247,247,244,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chapter-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.chapter-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 10px 11px;
  color: var(--muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.chapter-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.55);
}
.chapter-nav a.active {
  color: var(--text);
}
.chapter-nav a.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 3px;
  background: #2563eb;
}
.chapter-no {
  color: #2563eb;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
#section-1, #section-2, #section-3, #section-4, #section-5 {
  scroll-margin-top: 64px;
}

/* v16: final BURPEE CTA is only the action link */
.burpee-cta-bottom-simple {
  display: block;
  margin-top: 32px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  text-align: left;
}
.burpee-cta-bottom-simple .burpee-link {
  margin: 0;
}

@media (max-width: 760px) {
  .chapter-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .chapter-nav::-webkit-scrollbar { display: none; }
  .chapter-nav-inner {
    display: flex;
    width: max-content;
    min-width: 100%;
  }
  .chapter-nav a {
    flex: 0 0 auto;
    padding: 11px 13px 10px;
  }
  .chapter-nav a.active::after {
    left: 13px;
    right: 13px;
  }
}


/* v17: chapter navigation as a right-side reading rail */
.chapter-nav {
  position: fixed !important;
  top: 50% !important;
  right: 18px !important;
  left: auto !important;
  z-index: 40;
  width: auto !important;
  transform: translateY(-50%);
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  backdrop-filter: none !important;
}
.chapter-nav-inner {
  display: flex !important;
  flex-direction: column;
  width: auto !important;
  min-width: 0 !important;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(20,20,20,.09);
  border-radius: 16px;
  background: rgba(247,247,244,.90);
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
  backdrop-filter: blur(10px);
}
.chapter-nav a {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px !important;
  border-radius: 10px;
  background: transparent !important;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.chapter-nav a:hover {
  color: var(--text);
  background: rgba(37,99,235,.06) !important;
}
.chapter-nav a.active {
  color: var(--text);
  background: rgba(37,99,235,.09) !important;
}
.chapter-nav a.active::after {
  content: "";
  position: absolute;
  top: 8px !important;
  right: -7px !important;
  bottom: 8px !important;
  left: auto !important;
  width: 3px !important;
  height: auto !important;
  border-radius: 999px;
  background: #2563eb;
}
.chapter-no {
  order: 2;
  color: #2563eb;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.chapter-nav a > span:not(.chapter-no) {
  order: 1;
}
#section-1, #section-2, #section-3, #section-4, #section-5 {
  scroll-margin-top: 24px !important;
}

/* On narrower screens, keep only the chapter numbers so the rail stays unobtrusive. */
@media (max-width: 1380px) {
  .chapter-nav {
    right: 8px !important;
  }
  .chapter-nav a > span:not(.chapter-no) {
    display: none !important;
  }
  .chapter-nav a {
    width: 36px;
    justify-content: center;
    padding: 8px 6px !important;
  }
  .chapter-no {
    order: 1;
  }
}
@media (max-width: 720px) {
  .chapter-nav {
    right: 4px !important;
  }
  .chapter-nav-inner {
    padding: 4px;
    border-radius: 13px;
  }
  .chapter-nav a {
    width: 32px;
    padding: 7px 4px !important;
  }
  .chapter-nav a.active::after {
    right: -5px !important;
  }
}


/* v18: thin vertical chapter rail */
.chapter-nav {
  position: fixed !important;
  top: 50% !important;
  right: 18px !important;
  left: auto !important;
  z-index: 50;
  width: 12px !important;
  transform: translateY(-50%);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  overflow: visible !important;
}
.chapter-nav-inner {
  position: relative;
  display: flex !important;
  flex-direction: column;
  gap: 5px !important;
  width: 12px !important;
  min-width: 12px !important;
  padding: 6px 3px !important;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(20,20,20,.055) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.chapter-nav a {
  position: relative;
  display: block !important;
  width: 6px !important;
  height: 34px !important;
  min-width: 6px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: rgba(20,20,20,.16) !important;
  color: var(--text) !important;
  overflow: visible !important;
  transition: background .15s ease, transform .15s ease !important;
}
.chapter-nav a:hover,
.chapter-nav a:focus-visible {
  background: rgba(37,99,235,.42) !important;
  transform: scaleX(1.25);
  outline: none;
}
.chapter-nav a.active {
  background: #2563eb !important;
  transform: scaleX(1.25);
}
.chapter-nav a.active::after {
  content: none !important;
}
.chapter-nav .chapter-no {
  display: none !important;
}
.chapter-nav a > span:not(.chapter-no) {
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(4px);
  display: block !important;
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  border: 1px solid rgba(20,20,20,.08);
  border-radius: 8px;
  background: rgba(247,247,244,.98);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.chapter-nav a:hover > span:not(.chapter-no),
.chapter-nav a:focus-visible > span:not(.chapter-no) {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.chapter-nav a > span[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .chapter-nav {
    right: 8px !important;
    width: 10px !important;
  }
  .chapter-nav-inner {
    width: 10px !important;
    min-width: 10px !important;
    padding: 5px 2px !important;
    gap: 4px !important;
  }
  .chapter-nav a {
    width: 6px !important;
    height: 28px !important;
  }
  .chapter-nav a > span:not(.chapter-no) {
    display: none !important;
  }
}


/* v19: result image uses the actual screenshot, without the black outer canvas */
.burpee-result img {
  width: min(100%, 520px) !important;
  background: transparent !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}

/* =========================================================
   Emotion as Input article
   ========================================================= */
.stage-chart-wrap { margin-top: 46px; padding: 30px; border: 1px solid var(--line); background: #fff; }
.stage-legend { display:flex; flex-wrap:wrap; gap:18px; margin-bottom:28px; }
.stage-legend span { display:inline-flex; align-items:center; gap:8px; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.stage-legend i { width:18px; height:5px; display:inline-block; border-radius:999px; }
.stage-legend .observe i { background:#64748b; }
.stage-legend .recommend i { background:#8b5cf6; }
.stage-legend .adapt i { background:#159447; }
.stage-row { display:grid; grid-template-columns:72px 1fr 54px; gap:16px; align-items:center; margin:22px 0; }
.stage-year { font-size:13px; font-weight:900; letter-spacing:.04em; }
.stage-n { color:var(--muted); font-size:11px; font-weight:800; text-align:right; }
.stage-bar { display:flex; min-height:46px; overflow:hidden; border:1px solid var(--line); background:#f0f0ec; }
.stage-segment { min-width:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:11px; font-weight:900; letter-spacing:.01em; white-space:nowrap; }
.stage-segment.observe { background:#64748b; }
.stage-segment.recommend { background:#8b5cf6; }
.stage-segment.adapt { background:#159447; }
.stage-segment.zero { width:0 !important; min-width:0; padding:0; overflow:hidden; }
.stage-labels { display:grid; grid-template-columns:72px 1fr 54px; gap:16px; margin-top:-8px; }
.stage-labels > div:nth-child(2) { display:flex; justify-content:space-between; color:#999; font-size:9px; }
.adapt-trend { margin-top:30px; padding-top:26px; border-top:1px solid var(--line); }
.adapt-trend-copy strong { display:block; font-size:clamp(34px,5vw,68px); line-height:1; letter-spacing:-.05em; }
.adapt-trend-copy p { margin:14px 0 0; color:var(--muted); font-size:12px; line-height:1.7; }
.adapt-line-svg { width:min(760px,100%); height:auto; display:block; margin:0 auto; }
.adapt-trend-note { max-width:760px; margin:10px auto 0; color:var(--muted); font-size:12px; line-height:1.7; }
.adapt-line-svg .grid { stroke:#e5e5df; stroke-width:1; }
.adapt-line-svg .line { fill:none; stroke:#159447; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; }
.adapt-line-svg .point { fill:#fff; stroke:#159447; stroke-width:4; }
.adapt-line-svg .value { fill:#111; font-size:12px; font-weight:900; }
.adapt-line-svg .year { fill:#777; font-size:11px; font-weight:700; }

.stage-definition-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:44px; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.stage-definition { min-height:280px; padding:30px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.stage-definition .stage-tag { display:inline-flex; align-items:center; gap:8px; font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.stage-definition .stage-tag i { width:16px; height:5px; border-radius:999px; display:inline-block; }
.stage-definition.observe .stage-tag { color:#64748b; }
.stage-definition.observe .stage-tag i { background:#64748b; }
.stage-definition.recommend .stage-tag { color:#8b5cf6; }
.stage-definition.recommend .stage-tag i { background:#8b5cf6; }
.stage-definition.adapt .stage-tag { color:#159447; }
.stage-definition.adapt .stage-tag i { background:#159447; }
.stage-definition h3 { margin:56px 0 16px; font-size:clamp(24px,2.5vw,38px); line-height:1.05; letter-spacing:-.035em; }
.stage-definition p { margin:0; color:var(--muted); line-height:1.85; }
.stage-arrow-flow { margin-top:30px; display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.stage-arrow-flow span { padding:11px 13px; border:1px solid #444; background:#111; color:#fff; font-size:11px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.stage-arrow-flow b { color:#777; }

.category-strip { margin-top:38px; display:flex; flex-wrap:wrap; gap:8px; }
.category-strip span { padding:8px 10px; border:1px solid var(--line); background:#fff; color:#555; font-size:10px; font-weight:750; }

.bridge-section { background:#111; color:#fff; margin-left:-6vw; margin-right:-6vw; padding-left:6vw; padding-right:6vw; }
.bridge-section .article-section-head > p:last-child, .bridge-section .lens-copy { color:#c7c7c2; }
.bridge-section .eyebrow { color:#9ca3af; }
.family-flow { margin-top:46px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid #444; border-left:1px solid #444; }
.family-step { min-height:220px; padding:26px; border-right:1px solid #444; border-bottom:1px solid #444; }
.family-step span { color:#8fbcff; font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.family-step h3 { margin:48px 0 14px; font-size:clamp(22px,2.3vw,34px); line-height:1.08; letter-spacing:-.035em; }
.family-step p { margin:0; color:#bdbdb7; line-height:1.8; font-size:13px; }
.family-step.future { background:#171717; }
.family-stage-note { margin-top:28px; padding:22px 24px; border-left:3px solid #159447; background:#161d19; }
.family-stage-note p { margin:0; color:#d1d5d1; line-height:1.85; }
.family-stage-note strong { color:#fff; }

.pipeline { margin-top:34px; display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.pipeline span { padding:10px 12px; border:1px solid var(--line); background:#fff; color:#111; font-size:11px; font-weight:850; }
.pipeline b { color:#999; }
.review-note { margin-top:18px; color:var(--muted); font-size:11px; line-height:1.75; }

@media (max-width: 900px) {
  .stage-definition-grid { grid-template-columns:1fr; }
  .family-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .stage-chart-wrap { padding:20px 16px; }
  .stage-row { grid-template-columns:52px 1fr 38px; gap:10px; }
  .stage-labels { grid-template-columns:52px 1fr 38px; gap:10px; }
  .stage-segment { min-height:42px; font-size:9px; }
  .bridge-section { margin-left:-20px; margin-right:-20px; padding-left:20px; padding-right:20px; }
  .family-flow { grid-template-columns:1fr; }
}

/* =========================================================
   Emotion article revisions — 2026-09-23
   ========================================================= */
.stage-row {
  position: relative;
  cursor: pointer;
  outline: none;
}
.stage-row:focus-visible {
  outline: 2px solid #111;
  outline-offset: 5px;
}
.stage-count-tooltip {
  position: absolute;
  left: 88px;
  top: -8px;
  z-index: 8;
  transform: translateY(-100%);
  padding: 8px 11px;
  border: 1px solid #222;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .01em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
}
.stage-count-tooltip::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 100%;
  border: 6px solid transparent;
  border-top-color: #111;
}
.stage-row:hover .stage-count-tooltip,
.stage-row:focus .stage-count-tooltip,
.stage-row.is-active .stage-count-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(calc(-100% - 4px));
}

/* The three stages read as three stacked rows, not three narrow columns. */
.stage-definition-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-left: 0;
}
.stage-definition {
  min-height: 0;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 150px minmax(220px, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.stage-definition h3 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.12;
}
.stage-definition p {
  margin: 0;
  max-width: none;
}

/* Experimental product: light section rather than black. */
.bridge-section {
  background: #f6f8fb;
  color: #111;
  margin-left: -3vw;
  margin-right: -3vw;
  padding-left: 3vw;
  padding-right: 3vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bridge-section .article-section-head > p,
.bridge-section .lens-copy { color: var(--muted); }
.bridge-section .eyebrow { color: #667085; }
.product-cta {
  display: inline-flex;
  margin-top: 22px;
  padding: 11px 15px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.product-cta:hover { background: #fff; color: #111; }
.family-flow {
  border-top-color: var(--line);
  border-left-color: var(--line);
}
.family-step {
  background: #fff;
  border-right-color: var(--line);
  border-bottom-color: var(--line);
}
.family-step span { color: #315da8; }
.family-step p { color: var(--muted); }
.family-step.future { background: #eef3fb; }
.family-stage-note { background: #fff; border-left-color: #159447; }
.family-stage-note p { color: var(--muted); }
.family-stage-note strong { color: #111; }

/* Method: keywords + final product list. */
.method-section .keyword-block { margin-top: 32px; }
.final-products-block { margin-top: 46px; }
.final-products-block > h3 {
  margin: 0 0 18px;
  font-size: 20px;
  letter-spacing: -.02em;
}
.final-products-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid #111;
  border-bottom: 1px solid var(--line);
}
.final-products-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 12px;
}
.final-products-table th,
.final-products-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.final-products-table th {
  background: #f5f5f1;
  color: #555;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.final-products-table th:first-child,
.final-products-table td:first-child { width: 80px; }
.final-products-table th:last-child,
.final-products-table td:last-child { width: 120px; }
.final-products-table td:nth-child(2) { font-weight: 750; }
.final-products-table a { color: #111; text-decoration: none; }
.final-products-table a:hover { text-decoration: underline; text-underline-offset: 3px; }
.stage-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
  white-space: nowrap;
}
.stage-pill.observe { color: #64748b; }
.stage-pill.recommend { color: #7c3aed; }
.stage-pill.adapt { color: #15803d; }

@media (max-width: 900px) {
  .stage-definition {
    grid-template-columns: 120px minmax(180px, 240px) minmax(0, 1fr);
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .stage-count-tooltip {
    left: 52px;
    max-width: calc(100vw - 110px);
    white-space: normal;
  }
  .stage-definition {
    display: block;
    padding: 24px 0;
  }
  .stage-definition h3 { margin: 18px 0 10px; }
  .bridge-section {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .final-products-block { margin-top: 34px; }
}

/* =========================================================
   FamilyCardGame experiment — reaction -> feedback -> social interaction
   2026-09-26
   ========================================================= */
.bridge-section .family-product-head { max-width: 980px; }
.bridge-section .family-product-head > p { max-width: 820px; }
.bridge-section .family-product-head > p + p { margin-top: 14px; }
.bridge-section .family-product-head strong { color: #111; }
.family-question {
  margin: 20px 0 0 !important;
  color: #111 !important;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 850;
  line-height: 1.35 !important;
  letter-spacing: -.025em;
}
.family-feedback-demo {
  margin: 42px 0 0;
  border: 1px solid var(--line);
  background: #fff;
}
.family-feedback-demo img {
  display: block;
  width: 100%;
  height: auto;
}
.family-feedback-demo figcaption {
  padding: 14px 18px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  border-top: 1px solid var(--line);
}
.family-feedback-demo figcaption strong { color: #111; }
.bridge-section .family-flow { margin-top: 34px; }
.bridge-section .family-step { min-height: 250px; }
.bridge-section .family-step h3 { margin-top: 38px; }
.bridge-section .family-stage-note b { color: #111; }

@media (max-width: 760px) {
  .family-feedback-demo { margin-top: 30px; }
  .family-feedback-demo figcaption { padding: 12px 14px 14px; }
  .bridge-section .family-step { min-height: 0; }
  .family-question { font-size: 21px; }
}

/* Early qualitative observation from the FamilyCardGame prototype. */
.family-early-result {
  margin-top: 26px;
  padding: 24px 26px;
  border: 1px solid #cfd7e6;
  background: #eef3fb;
}
.family-result-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #315da8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.family-early-result p {
  margin: 0;
  max-width: 920px;
  color: var(--muted);
  line-height: 1.8;
}
.family-early-result strong { color: #111; }
@media (max-width: 760px) {
  .family-early-result { margin-top: 22px; padding: 20px 18px; }
}
