
.hero-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); }
.hero-pair-item { position: relative; background: var(--bg2); }
.hero-pair-item img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hero-pair-label { position: absolute; left: 12px; bottom: 12px; padding: 2px 10px; border-radius: 999px; background: var(--bg); color: var(--text); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-pair-caption { margin-top: 10px; color: var(--muted); font-size: 0.82rem; }
.hero-pair-caption a, .case-video-caption a, .case-video-source a { text-underline-offset: 3px; }
@media (max-width: 600px) {
  .hero-pair { grid-template-columns: minmax(0, 1fr); }
}

.cycle .ill-step.is-out { border-style: dashed; color: var(--text-secondary); }
.cycle .ill-step.is-out .ill-icon .s-mod { stroke: var(--muted); }
.cycle .ill-step.is-out .ill-step-title { color: var(--text-secondary); }
.cycle-when { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cycle-tag { justify-self: start; margin-top: 2px; padding: 0 7px; border: 1px dashed var(--interactive-border); border-radius: 999px; color: var(--text-secondary); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.08em; line-height: 1.6; text-transform: uppercase; }
@media (min-width: 901px) {
  .cycle .ill-flow.is-row:not(.has-desc) { align-items: stretch; }
  .cycle .ill-flow.is-row:not(.has-desc) .ill-step { justify-content: flex-start; }
}

.inherit-cols { display: none; }
.inherit-rows { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.inherit-row { display: grid; gap: 8px; }
.inherit-card { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border: 1px solid var(--interactive-border); border-radius: 8px; background: var(--bg); font-size: 0.88rem; line-height: 1.35; }
.inherit-card.is-key { border-color: var(--accent-soft); }
.inherit-arrow { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.inherit-arrow::after { content: ""; width: 0.8rem; height: 0.8rem; background: currentColor; -webkit-mask: var(--icon-arrow-down) center / contain no-repeat; mask: var(--icon-arrow-down) center / contain no-repeat; }
@media (max-width: 900px) {
  .inherit-rows { gap: 0; }
  .inherit-row + .inherit-row { margin-top: 24px; padding-top: 24px; border-top: 1px dashed var(--interactive-border); }
}
.inherit-base { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 20px 14px 14px; border: 1px dashed var(--accent-soft); border-radius: 12px; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.45; }
@media (min-width: 901px) {
  .inherit-cols, .inherit-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); align-items: center; gap: 0; }
  .inherit-cols .diagram-col-label { margin-bottom: 10px; }
  .inherit-rows { gap: 12px; }
  .inherit-card { height: 100%; }
  .inherit-arrow { flex-direction: column; gap: 2px; }
  .inherit-arrow::after { -webkit-mask-image: var(--icon-arrow-right); mask-image: var(--icon-arrow-right); }
}

.ill-swatch.is-zone { border: 1px solid var(--accent-soft); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.ill-swatch.is-round { border-radius: 50%; }
.ill-swatch.is-current.is-round { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.ill-swatch.is-soft { border: 0; background: var(--interactive-border); opacity: 0.5; }
.ill-swatch.is-ring { border: 3px solid var(--accent); border-radius: 50%; background: transparent; }
.ill-swatch.is-tally { border: 0; border-radius: 0; background: repeating-linear-gradient(90deg, var(--muted) 0 1.5px, transparent 1.5px 4px); }
.ill-swatch.is-axis { border: 0; border-left: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); border-radius: 0; background: transparent; }
.ill-legend li .ill-swatch + .ill-swatch { margin-left: -2px; }
.ill-svg .s-ring { fill: none; stroke: var(--interactive-border); stroke-width: 6; }
.ill-svg .s-arc { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: butt; }

.flow-link { position: relative; height: 24px; }
.flow-link::after { content: ""; position: absolute; top: 0; left: 50%; height: 100%; border-left: 1px solid var(--interactive-border); }
.flow-decision .ill-flow { margin-bottom: 0; }
@media (min-width: 901px) { .flow-decision .ill-flow.is-row:not(.has-desc) { align-items: stretch; } }
.flow-decision .impact-core { max-width: 420px; }
.flow-decision .impact-core strong { line-height: 1.3; }
.flow-decision .impact-core span { line-height: 1.5; }
@media (min-width: 901px) {
  .flow-decision .flow-link { --last: calc((100% - 64px) / 6 * 5 + 64px); height: 28px; }
  .flow-decision .flow-link::after { left: var(--last); height: 14px; }
  .flow-decision .flow-link::before { content: ""; position: absolute; top: 14px; left: 50%; width: calc(var(--last) - 50%); height: 14px; border-top: 1px solid var(--interactive-border); border-left: 1px solid var(--interactive-border); border-top-left-radius: 8px; }
}

