/* Shared editorial refresh for the remaining legacy content and utility pages. */
.editorial-legacy-page,
.legal-refresh,
.error-refresh {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

.editorial-legacy-page h1,
.editorial-legacy-page h2,
.legal-refresh h1,
.legal-refresh h2,
.error-refresh h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
}

.editorial-legacy-page h3,
.legal-refresh h3 { font-family: var(--sans); }
.editorial-legacy-page .wrap,
.legal-refresh .wrap { width: var(--wrap); }
.editorial-legacy-page .breadcrumbs { display: none; }

/* Uses & field — common hero treatment. */
.editorial-legacy-page .text-hero {
  padding: clamp(58px, 6vw, 92px) 0 clamp(42px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.editorial-legacy-page .text-hero-shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.editorial-legacy-page .text-hero h1 {
  max-width: 14ch;
  margin: 0 0 26px;
  font-size: clamp(3.4rem, 6.8vw, 7.4rem);
  line-height: .94;
}
.editorial-legacy-page .text-hero h1 em,
.editorial-legacy-page .page-hero h1 em {
  color: var(--terra-interactive);
  font-style: normal;
}
.editorial-legacy-page .text-hero p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.68;
}

.editorial-legacy-page .page-hero { padding: clamp(48px, 5vw, 72px) 0 0; }
.editorial-legacy-page .hero-frame {
  min-height: clamp(430px, 54vh, 600px);
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}
.editorial-legacy-page .hero-frame .responsive-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.76) contrast(.95);
}
.editorial-legacy-page .hero-frame .veil {
  background: linear-gradient(90deg, rgba(23, 26, 24, .82) 0%, rgba(23, 26, 24, .58) 52%, rgba(23, 26, 24, .16) 100%);
}
.editorial-legacy-page .hero-inner { padding: clamp(34px, 5vw, 68px); }
.editorial-legacy-page .page-hero h1 {
  max-width: 16ch;
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -.048em;
  line-height: .95;
}
.editorial-legacy-page .hero-descriptor {
  max-width: 760px;
  color: rgba(247, 243, 234, .86);
  font-size: 17px;
  line-height: 1.65;
}
.editorial-legacy-page .hero-credit {
  color: rgba(247, 243, 234, .76);
  font: 700 8px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Compact orientation block beneath the hero. */
.editorial-legacy-page .page-summary-section { padding: 0; }
.editorial-legacy-page .page-summary,
.editorial-legacy-page .page-summary.glass {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  background: var(--paper-light);
  box-shadow: none;
  backdrop-filter: none;
}
.editorial-legacy-page .page-summary-main,
.editorial-legacy-page .page-summary-side { padding: clamp(26px, 4vw, 48px); }
.editorial-legacy-page .page-summary-side { border-left: 1px solid var(--line); }
.editorial-legacy-page .mini-kicker,
.editorial-legacy-page .kicker {
  color: var(--terra-interactive);
  font: 800 9px/1.35 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.editorial-legacy-page .page-summary h2 {
  margin: 18px 0 20px;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  line-height: 1;
}
.editorial-legacy-page .page-summary-main ul {
  max-width: 760px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.62;
}
.editorial-legacy-page .page-summary-side dl { margin: 0; }
.editorial-legacy-page .page-summary-side dl > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.editorial-legacy-page .page-summary-side dl > div:first-child { padding-top: 0; }
.editorial-legacy-page .page-summary-side dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.editorial-legacy-page .page-summary-side dt {
  color: var(--terra-interactive);
  font: 800 8px/1.3 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.editorial-legacy-page .page-summary-side dd { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }

/* Editorial section rhythm. */
.editorial-legacy-page .usages-section {
  padding: clamp(82px, 9vw, 138px) 0;
  border-bottom: 1px solid var(--line);
}
.editorial-legacy-page .usages-section + .usages-section { padding-top: clamp(82px, 9vw, 138px); }
.editorial-legacy-page .usages-section:nth-of-type(even) { background: var(--paper-light); }
.editorial-legacy-page .usages-section .section-head {
  max-width: none;
  margin: 0 0 clamp(46px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(150px, .3fr) minmax(0, 1fr);
  gap: 20px clamp(42px, 7vw, 104px);
  align-items: start;
}
.editorial-legacy-page .section-head .kicker { grid-row: 1 / span 2; padding-top: 8px; }
.editorial-legacy-page .section-head h2 {
  grid-column: 2;
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  line-height: .97;
}
.editorial-legacy-page .section-head p {
  grid-column: 2;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.67;
}

/* Structured content blocks: borders instead of glass cards. */
.editorial-legacy-page .glass {
  border-color: var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.editorial-legacy-page .decision-table { border-color: var(--line); border-radius: 0; }
.editorial-legacy-page .decision-row { border-bottom-color: var(--line); }
.editorial-legacy-page .decision-row > div { padding: 22px 24px; }
.editorial-legacy-page .decision-row > div:first-child { color: var(--ink); background: var(--terracotta-wash); }
.editorial-legacy-page .decision-row > div:last-child { color: var(--ink-soft); background: var(--white); }

.editorial-legacy-page .risk-grid,
.editorial-legacy-page .pilot-steps,
.editorial-legacy-page .terrain-lessons,
.editorial-legacy-page .follow-grid,
.editorial-legacy-page .action-grid {
  gap: 0;
  border: 1px solid var(--line);
}
.editorial-legacy-page .risk-card,
.editorial-legacy-page .pilot-step,
.editorial-legacy-page .terrain-lesson,
.editorial-legacy-page .follow-card,
.editorial-legacy-page .action-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.editorial-legacy-page .risk-card:last-child,
.editorial-legacy-page .pilot-step:nth-child(3n),
.editorial-legacy-page .terrain-lesson:nth-child(2n),
.editorial-legacy-page .follow-card:nth-child(4n),
.editorial-legacy-page .action-card:last-child { border-right: 0; }
.editorial-legacy-page .risk-card { min-height: 410px; padding: 30px; }
.editorial-legacy-page .risk-card h3,
.editorial-legacy-page .terrain-lesson h3,
.editorial-legacy-page .case-details > summary,
.editorial-legacy-page .source-details > summary {
  font-family: var(--serif);
  font-weight: 400;
}
.editorial-legacy-page .risk-card h3 { margin-top: 48px; font-size: 30px; line-height: 1.06; }
.editorial-legacy-page .risk-card p,
.editorial-legacy-page .risk-card li,
.editorial-legacy-page .pilot-step p,
.editorial-legacy-page .terrain-lesson p,
.editorial-legacy-page .follow-card p,
.editorial-legacy-page .action-card p { color: var(--muted); }
.editorial-legacy-page .risk-details summary,
.editorial-legacy-page .case-details summary,
.editorial-legacy-page .source-details summary {
  border-radius: 0;
  color: var(--terra-interactive);
  background: var(--paper-light);
}
.editorial-legacy-page .risk-detail-content { border-radius: 0; background: var(--terracotta-wash); }
.editorial-legacy-page .pilot-step { min-height: 230px; padding: 28px; border-bottom: 1px solid var(--line); }
.editorial-legacy-page .pilot-step:nth-last-child(-n+3) { border-bottom: 0; }
.editorial-legacy-page .pilot-step .step-num,
.editorial-legacy-page .action-arrow {
  border-radius: 0;
  color: var(--paper);
  background: var(--terra-interactive);
}
.editorial-legacy-page .pilot-step h3 { margin-top: 50px; font-size: 20px; }

.editorial-legacy-page .checklist-panel {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--terracotta-wash);
}
.editorial-legacy-page .checklist-panel .kicker[style] { color: var(--terra-interactive) !important; }
.editorial-legacy-page .checklist-panel h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: 1; }
.editorial-legacy-page .checklist-panel p { color: var(--ink-soft); }
.editorial-legacy-page .check-item { border-color: var(--line); border-radius: 0; background: rgba(247, 243, 234, .72); }

.editorial-legacy-page .terrain-lesson { min-height: 250px; padding: 30px; border-bottom: 1px solid var(--line); }
.editorial-legacy-page .terrain-lesson:nth-last-child(-n+2) { border-bottom: 0; }
.editorial-legacy-page .terrain-lesson h3 { margin-top: 68px; font-size: 29px; line-height: 1.05; }
.editorial-legacy-page .case-stack { gap: 0; border-top: 1px solid var(--line); }
.editorial-legacy-page .case-details,
.editorial-legacy-page .source-details {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.editorial-legacy-page .case-details > summary,
.editorial-legacy-page .source-details > summary { padding: 25px 0; color: var(--ink); font-size: 25px; }
.editorial-legacy-page .case-content,
.editorial-legacy-page .source-content { padding: 0 0 30px; color: var(--muted); }
.editorial-legacy-page .follow-card { min-height: 180px; padding: 24px; border-bottom: 1px solid var(--line); }
.editorial-legacy-page .follow-card:nth-last-child(-n+4) { border-bottom: 0; }
.editorial-legacy-page .follow-card h3 { margin-top: 44px; font-size: 20px; }
.editorial-legacy-page .action-card { min-height: 190px; padding: 28px; }
.editorial-legacy-page .action-card h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.08; }

/* Legal and privacy pages. */
.legal-refresh .legal-hero {
  padding: clamp(62px, 7vw, 108px) 0 clamp(46px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.legal-refresh .legal-hero .glass {
  max-width: 1080px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.legal-refresh .legal-hero .kicker {
  color: var(--terra-interactive);
  font: 800 9px/1.35 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.legal-refresh .legal-hero h1 {
  max-width: 12ch;
  margin: 18px 0 22px;
  font-size: clamp(3.8rem, 7vw, 7.7rem);
  line-height: .94;
}
.legal-refresh .legal-hero p { max-width: 760px; color: var(--ink-soft); font-size: 17px; line-height: 1.68; }
.legal-refresh main > .page > .section { padding: clamp(72px, 8vw, 118px) 0 !important; }
.legal-refresh .legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}
.legal-refresh .legal-card,
.legal-refresh .legal-card.glass {
  min-height: 260px;
  padding: 30px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.legal-refresh .legal-card:nth-child(2n) { border-right: 0; }
.legal-refresh .legal-card:nth-last-child(-n+2) { border-bottom: 0; }
.legal-refresh .legal-card h2 { margin: 0 0 52px; color: var(--ink); font-size: 31px; line-height: 1.05; }
.legal-refresh .legal-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.legal-refresh .legal-card a { color: var(--terra-interactive); text-underline-offset: 3px; }
.legal-refresh #backToTop,
.legal-refresh .search-dialog,
.legal-refresh .author-byline,
.legal-refresh .author-newsletter-row { display: none !important; }

/* 404. */
.error-refresh main {
  min-height: calc(100svh - 76px);
  padding: clamp(68px, 10vw, 150px) max(24px, calc(50% - 700px));
  display: grid;
  align-items: center;
  border: 0;
  background: var(--paper);
}
.error-refresh main .wrap { width: 100%; }
.error-refresh main .glass {
  max-width: 980px;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.error-refresh h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .9;
}
.error-refresh main p { max-width: 620px; margin: 30px 0 !important; color: var(--ink-soft) !important; font-size: 17px; }
.error-refresh .btn { border-radius: 0; color: var(--paper); background: var(--terra-interactive); }

@media (max-width: 960px) {
  .editorial-legacy-page .risk-grid { grid-template-columns: 1fr; }
  .editorial-legacy-page .risk-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .editorial-legacy-page .risk-card:last-child { border-bottom: 0; }
  .editorial-legacy-page .pilot-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-legacy-page .pilot-step:nth-child(3n) { border-right: 1px solid var(--line); }
  .editorial-legacy-page .pilot-step:nth-child(2n) { border-right: 0; }
  .editorial-legacy-page .pilot-step:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .editorial-legacy-page .pilot-step:nth-last-child(-n+2) { border-bottom: 0; }
  .editorial-legacy-page .follow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-legacy-page .follow-card:nth-child(2n) { border-right: 0; }
  .editorial-legacy-page .follow-card:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .editorial-legacy-page .follow-card:nth-last-child(-n+2) { border-bottom: 0; }
  .editorial-legacy-page .action-grid { grid-template-columns: 1fr; }
  .editorial-legacy-page .action-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .editorial-legacy-page .action-card:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .editorial-legacy-page .wrap,
  .legal-refresh .wrap { width: min(100% - 28px, var(--content-max)); }
  .editorial-legacy-page .text-hero { padding-top: 46px; }
  .editorial-legacy-page .text-hero h1,
  .editorial-legacy-page .page-hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .editorial-legacy-page .page-hero { padding-top: 20px; }
  .editorial-legacy-page .hero-frame { min-height: 520px; }
  .editorial-legacy-page .page-summary { grid-template-columns: 1fr; }
  .editorial-legacy-page .page-summary-side { border-top: 1px solid var(--line); border-left: 0; }
  .editorial-legacy-page .usages-section .section-head { grid-template-columns: 1fr; gap: 20px; }
  .editorial-legacy-page .section-head .kicker { grid-row: auto; padding-top: 0; }
  .editorial-legacy-page .section-head h2,
  .editorial-legacy-page .section-head p { grid-column: 1; }
  .editorial-legacy-page .section-head h2 { font-size: clamp(2.8rem, 12vw, 4.4rem); }
  .editorial-legacy-page .pilot-steps,
  .editorial-legacy-page .terrain-lessons,
  .editorial-legacy-page .follow-grid,
  .editorial-legacy-page .checklist-panel { grid-template-columns: 1fr; }
  .editorial-legacy-page .pilot-step,
  .editorial-legacy-page .pilot-step:nth-child(2n),
  .editorial-legacy-page .pilot-step:nth-child(3n),
  .editorial-legacy-page .terrain-lesson,
  .editorial-legacy-page .follow-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .editorial-legacy-page .pilot-step:last-child,
  .editorial-legacy-page .terrain-lesson:last-child,
  .editorial-legacy-page .follow-card:last-child { border-bottom: 0; }
  .editorial-legacy-page .decision-row { grid-template-columns: 1fr; }
  .legal-refresh .legal-grid { grid-template-columns: 1fr; }
  .legal-refresh .legal-card,
  .legal-refresh .legal-card:nth-child(2n),
  .legal-refresh .legal-card:nth-last-child(-n+2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .legal-refresh .legal-card:last-child { border-bottom: 0; }
  .legal-refresh .legal-card h2 { margin-bottom: 28px; }
}
