.res-editorial-preview {
  --editorial-panel: #f1f5fa;
  --editorial-rule: #cad9e3;
  --editorial-muted: #496172;
  --editorial-navy: #0b2232;
  --editorial-accent: #2758dc;
}
.res-editorial-preview .res-layout { width: min(calc(100% - 48px), 1280px); }
.res-editorial-preview .res-opening { max-width: 880px; }
.res-editorial-preview .res-opening h1 { letter-spacing: -.028em; }
.res-editorial-preview .res-retrospective p:not(.editorial-state, .res-kicker) { letter-spacing: normal; }
.res-editorial-preview .res-opening .res-kicker { margin-bottom: 20px; }
.res-editorial-preview .res-intro { max-width: 68ch; margin-top: 24px; }
.res-editorial-preview .res-homepage-comparison { margin-top: 38px; }
.res-editorial-preview .res-opening :is(.res-kicker, .res-details dt) {
  color: var(--editorial-accent);
}
.res-editorial-preview .res-opening .res-details {
  border: 0;
  padding-block: 0;
  margin-top: 34px;
}
.res-editorial-preview .res-opening .res-details dt {
  font: 500 .8125rem/1.45 var(--mono, monospace);
  letter-spacing: .035em;
  text-transform: uppercase;
}
.editorial-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(28px, 5vw, 68px); margin-top: clamp(64px, 7vw, 96px); }
.editorial-rail { position: sticky; top: 112px; align-self: start; padding-inline-end: 12px; }
.res-retrospective .editorial-rail h2 { font: 500 .6875rem/1.4 var(--mono); margin-bottom: 9px; color: var(--editorial-accent); text-transform: uppercase; }
.editorial-rail a, .editorial-disclosure nav a { display: block; color: var(--editorial-navy); padding-block: 5px; font-size: .875rem; line-height: 1.4; text-underline-offset: 3px; }
.editorial-rail a:hover, .editorial-disclosure a:hover { text-decoration: underline; }
.editorial-disclosure { display: none; }
.editorial-story { min-width: 0; }
/* Section anchors receive focus on jump but are not interactive controls. */
.res-editorial-preview .res-retrospective :is(header, section)[tabindex="-1"]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.res-retrospective .editorial-story > section {
  scroll-margin-top: 116px;
  margin-top: clamp(44px, calc(5vw + 8px), 64px);
  padding-top: clamp(18px, 2.5vw, 24px);
  border-top: 1px solid var(--editorial-rule);
}
.res-retrospective .editorial-story > section:first-of-type { margin-top: 0; }
.res-retrospective .editorial-story h2 {
  color: var(--editorial-navy);
  font-size: clamp(1.875rem, 3.55vw, 2.625rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.023em;
}
.res-retrospective .editorial-story > section > p:not([class]) {
  max-width: 685px;
  color: var(--editorial-muted);
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 24px;
}
.res-retrospective .editorial-story > section > p:not([class]) + p:not([class]) { margin-top: 20px; }
.res-retrospective .editorial-story .res-deliverables ul { gap: 16px; margin-top: 27px; }
.res-retrospective .editorial-story .res-deliverables li {
  padding: 16px;
  border-color: var(--editorial-rule);
  border-radius: 10px;
}
.res-retrospective .editorial-story .res-deliverable-symbol { margin-bottom: 12px; }
.res-retrospective .editorial-story .res-deliverables li p { margin-top: 8px; }

.editorial-stage {
  display: grid;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  margin-block: 27px 0;
  padding: clamp(14px, 2.5vw, 28px);
  background: var(--editorial-panel);
  border-radius: 10px;
}
.editorial-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-compare { grid-template-columns: minmax(0, .86fr) auto minmax(0, 1fr); }
.editorial-stage > :is(div, figure) {
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 1.5vw, 19px);
  background: #fff;
  border: 1px solid var(--editorial-rule);
  border-radius: 6px;
}
.editorial-stage > .res-figure { margin: 0; }
.editorial-home-pair { margin-block: 0 20px; }
.editorial-stage :is(img, video) { display: block; width: 100%; height: auto; border-radius: 4px; }
.editorial-stage video { background: #fff; }
.editorial-video-toggle {
  display: block;
  margin: 8px 0 0 auto;
  padding: 5px 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--editorial-muted);
  font: 500 .8125rem/1.4 var(--sans, sans-serif);
  cursor: pointer;
}
.editorial-video-toggle:hover { text-decoration: underline; }
.res-retrospective .editorial-stage figcaption { margin-block: 17px 0; color: var(--editorial-muted); font-size: .8125rem; line-height: 1.4; }
.editorial-state, .res-retrospective .editorial-state {
  margin: 0 0 9px;
  color: var(--editorial-muted);
  font: 500 .6875rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .035em;
}
.res-retrospective .editorial-kicker { color: var(--editorial-accent); margin-bottom: 20px; }
.editorial-arrow { color: var(--muted); font-size: clamp(16px, 2.2vw, 24px); }
.editorial-stage .editorial-figure-card {
  padding: clamp(14px, 2.2vw, 24px);
}
.editorial-figure-label {
  padding-inline-start: 12px;
  border-inline-start: 2px solid var(--editorial-accent);
  margin-bottom: 20px;
}
.res-retrospective .editorial-figure-label .editorial-state {
  margin-bottom: 4px;
  color: var(--editorial-accent);
}
.res-retrospective .editorial-figure-label h3 {
  color: var(--editorial-navy);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.editorial-nav-stage {
  grid-template-columns: minmax(0, 388px);
  justify-content: center;
}
.editorial-route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--editorial-rule);
}
.editorial-route-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--editorial-rule);
  color: var(--editorial-navy);
  font-size: .875rem;
  line-height: 1.35;
}
.editorial-route-list li::before {
  content: "";
  flex: 0 0 5px;
  height: 5px;
  background: var(--editorial-accent);
  align-self: center;
}
.res-retrospective .editorial-caption { margin-top: 20px; color: var(--editorial-muted); font-size: .8125rem; line-height: 1.4; }
.editorial-catalog-pair { align-items: stretch; }
.editorial-catalog-pair > figure { display: flex; flex-direction: column; }
.res-retrospective .editorial-catalog-pair .editorial-figure-label { flex: 1; }
.editorial-outcomes {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}
.editorial-outcomes > li {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--editorial-rule);
  border-radius: 10px;
  background: #fff;
  color: var(--editorial-navy);
  font-size: 1rem;
  line-height: 1.4;
}
.editorial-outcomes > .editorial-outcome-lead { background: var(--editorial-panel); }
.editorial-outcomes strong {
  color: var(--editorial-accent);
  font-size: clamp(2.125rem, 5vw, 3.375rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.editorial-outcomes .editorial-outcome-lead strong { font-size: clamp(2.75rem, 6vw, 4.75rem); }
.editorial-outcomes small {
  display: block;
  margin-top: 6px;
  color: var(--editorial-muted);
  font-size: .875rem;
}
.editorial-cms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr);
  align-items: start;
  gap: clamp(18px, 3vw, 36px);
  margin-top: 24px;
}
.res-retrospective .editorial-cms-copy p {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 1rem;
  line-height: 1.4;
}
.res-retrospective .editorial-cms-copy p + p { margin-top: 20px; }
.editorial-authoring-tile {
  display: grid;
  place-items: center;
  min-height: 188px;
  padding: 22px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #102838, #153144);
}
.editorial-authoring-sheet {
  display: grid;
  gap: 7px;
  width: min(100%, 218px);
  padding: 12px;
  border: 1px solid #e2f0f9;
  border-radius: 7px;
  background: #f4f9fc;
  box-shadow: 0 10px 24px #06142033;
}
.editorial-authoring-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.editorial-authoring-publish {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--editorial-accent);
  color: #fff;
  font: 500 .6875rem/1.45 var(--mono, monospace);
}
.editorial-authoring-kicker {
  color: var(--editorial-navy);
  font: 500 .75rem/1.4 var(--mono, monospace);
}
.editorial-authoring-hero {
  height: 28px;
  border-radius: 4px;
  background: #b9d9eb;
}
.editorial-authoring-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.editorial-authoring-row i { height: 16px; border-radius: 3px; background: #d7e9f5; }
.editorial-authoring-slot {
  display: grid;
  gap: 4px;
  padding: 7px;
  border-radius: 4px;
  background: #dfedfa;
}
.editorial-authoring-slot i { width: 70%; height: 2px; border-radius: 3px; background: #7193b2; }
.editorial-authoring-slot i + i { width: 45%; }
@media (prefers-reduced-motion: no-preference) {
  .editorial-authoring-tile.is-in-view .editorial-authoring-publish {
    animation: editorial-publish-press .8s ease-in-out .6s both;
  }
}
@keyframes editorial-publish-press {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(.94); background: #173a96; }
  70% { transform: scale(1); box-shadow: 0 0 0 3px #2758dc26; }
}
.res-retrospective .editorial-route-flow { margin-top: 0; font-size: 1rem; line-height: 1.4; }
.editorial-mobile-pair { grid-template-columns: minmax(0, 245px) auto minmax(0, 245px); justify-content: center; align-items: start; }
.editorial-mobile-pair > .res-figure { padding: 11px; }
.editorial-mobile-pair .editorial-arrow { align-self: center; }
.res-retrospective .editorial-mobile-pair .editorial-figure-label h3 { font-size: 1rem; }
.editorial-drawer { grid-template-columns: minmax(0, 848px); justify-content: center; }
.editorial-data { grid-template-columns: minmax(0, .7fr) auto minmax(0, 1fr); }
@media (max-width: 760px) {
  .editorial-cms-layout { grid-template-columns: minmax(0, 1fr); }
  .editorial-outcomes { grid-template-columns: minmax(0, 1fr); }
  .editorial-outcomes > li { grid-template-columns: minmax(72px, .35fr) minmax(0, 1fr); align-items: center; }
  .res-editorial-preview .res-layout { width: calc(100% - 32px); }
  .editorial-layout { display: block; margin-top: 60px; }
  .editorial-rail { display: none; }
  .editorial-disclosure { display: block; padding: 10px 14px; margin-bottom: 36px; border: 1px solid var(--res-line); border-radius: 6px; }
  .editorial-disclosure summary { cursor: pointer; font-weight: 650; }
  .editorial-disclosure nav { margin-top: 8px; }
  .editorial-pair, .editorial-compare { grid-template-columns: minmax(0, 1fr); }
  .editorial-compare .editorial-arrow { justify-self: center; transform: rotate(90deg); }
  .editorial-mobile-pair { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; }
  .editorial-mobile-pair .editorial-arrow { transform: none; }
  .editorial-mobile-pair > .res-figure { padding: 9px; }
  .editorial-mobile-pair .editorial-figure-label { padding-inline-start: 6px; margin-bottom: 10px; }
}
