/* Original reporting sections, matched to the neutral IMPACT preview. */
.heritage-section {
  --bg: #f4f4f2;
  --bg2: #e9e9e7;
  --bg3: #ddddda;
  --ink: #111111;
  --ink-64: #565656;
  --ink-40: #656565;
  --steel: #686868;
  --steel-dim: rgba(17, 17, 17, .4);
  --red: #b3261e;
  --line: rgba(17, 17, 17, .15);
  --line-strong: rgba(17, 17, 17, .3);
  position: relative;
  padding: 116px var(--gutter, clamp(22px, 4vw, 72px));
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans, "Hanken Grotesk", Arial, sans-serif);
  scroll-margin-top: 30px;
}

.heritage-section .wrap,
.heritage-section .sec-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0;
}

.heritage-section h2 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(36px, 4.9vw, 76px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.heritage-section h2::after { display: none; }
.heritage-section .lbl {
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.heritage-section .rv,
.heritage-section .rv3 {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
  will-change: auto;
}

.heritage-section .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.heritage-section a:focus-visible,
.heritage-section button:focus-visible,
.heritage-section summary:focus-visible,
.heritage-section .incident-directory ol:focus-visible,
.heritage-section canvas:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

/* The original unit-cost comparison. */
.heritage-section#threat { isolation: isolate; }
.heritage-section .threat-field {
  position: absolute;
  inset: 2% -6% 0 28%;
  z-index: 0;
  pointer-events: none;
  opacity: .64;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.heritage-section .threat-field svg { width: 100%; height: 100%; }
.heritage-section .plot-grid { fill: url(#threatGrid); }
.heritage-section .plot-ring,
.heritage-section .plot-axis,
.heritage-section .plot-ticks,
.heritage-section .plot-node,
.heritage-section .plot-track,
.heritage-section .plot-pip { vector-effect: non-scaling-stroke; }
.heritage-section .plot-ring { fill: none; stroke: rgba(17, 17, 17, .105); stroke-width: 1; }
.heritage-section .plot-axis { stroke: rgba(17, 17, 17, .075); stroke-width: 1; }
.heritage-section .plot-ticks { fill: none; stroke: rgba(17, 17, 17, .13); stroke-width: 1; }
.heritage-section .plot-node { fill: rgba(17, 17, 17, .06); stroke: rgba(17, 17, 17, .3); stroke-width: 1; }
.heritage-section .plot-track { fill: none; stroke: rgba(179, 38, 30, .27); stroke-width: 1.2; stroke-dasharray: 7 10; }
.heritage-section .plot-pip { fill: rgba(179, 38, 30, .16); stroke: rgba(179, 38, 30, .48); stroke-width: 1; }

.heritage-section .threat-grid,
.heritage-section .news-grid,
.heritage-section .globe-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.heritage-section .threat-grid p.lead,
.heritage-section .news-lead,
.heritage-section .globe-lead {
  margin: clamp(24px, 2.6vw, 34px) 0 0;
  max-width: 44ch;
  color: var(--ink-64);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.015em;
}
.heritage-section .threat-grid p.lead { max-width: 52ch; }
.heritage-section .ledger {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 680px;
  margin: 0;
  padding: clamp(20px, 2.3vw, 32px);
  border: 1px solid var(--line);
  background: var(--bg2);
}
.heritage-section .ledger::before,
.heritage-section .ledger::after,
.heritage-section .globe-tip::before,
.heritage-section .globe-tip::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 0 solid var(--steel-dim);
}
.heritage-section .ledger::before,
.heritage-section .globe-tip::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.heritage-section .ledger::after,
.heritage-section .globe-tip::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.heritage-section .ledger .band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
}
.heritage-section .led-tag { flex: 0 0 auto; margin: 0; text-align: right; color: var(--ink-64); }
.heritage-section .led-tag .cnt { color: var(--red); }
.heritage-section .ledger .num {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}
.heritage-section .msl {
  flex: 1 1 auto;
  width: min(340px, 53%);
  min-width: 0;
  height: auto;
  margin-bottom: 7px;
  filter: grayscale(1);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .5s ease .25s;
}
.heritage-section .ledger.on .msl { clip-path: inset(0); }
.heritage-section .eq { display: flex; align-items: center; gap: 12px; color: var(--ink-40); }
.heritage-section .eq .lbl { white-space: nowrap; }
.heritage-section .eq i { flex: 1; height: 1px; background: var(--line); transform: scaleX(0); transition: transform .6s ease .45s; }
.heritage-section .eq i:first-child { transform-origin: right; }
.heritage-section .eq i:last-child { transform-origin: left; }
.heritage-section .ledger.on .eq i { transform: scaleX(1); }
.heritage-section .uas-grid { display: grid; flex: 1 1 auto; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; min-width: 0; max-width: 354px; }
.heritage-section .u {
  position: relative;
  width: 100%;
  max-width: 30px;
  aspect-ratio: 1;
  color: rgba(179, 38, 30, .64);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
  transition-delay: calc(.45s + var(--i) * 45ms);
}
.heritage-section .u svg { width: 100%; height: 100%; }
.heritage-section .ledger.on .u { opacity: 1; transform: none; }
.heritage-section .u.plus::after { content: "+"; position: absolute; top: -5px; right: -5px; font: 600 12px var(--mono, "Geist Mono", monospace); color: var(--red); }
.heritage-section .ledger-note { padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-40); line-height: 1.6; }

/* Full press coverage, including the expandable original article list. */
.heritage-section#news { background: var(--bg2); border-top: 1px solid var(--line); }
.heritage-section .news-lead { max-width: 40ch; }
.heritage-section .news-official { display: flex; flex-direction: column; align-items: stretch; max-width: 470px; margin-top: clamp(28px, 3.2vw, 44px); }
.heritage-section .news-ok { padding-bottom: 12px; color: var(--ink-40); }
.heritage-section .news-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink-64); transition: color .2s ease; }
.heritage-section .news-link::after { content: "\2197"; flex: 0 0 auto; font-size: 15px; color: var(--ink-40); transition: transform .25s ease, color .25s ease; }
.heritage-section .news-link:hover { color: var(--ink); }
.heritage-section .news-link:hover::after { transform: translate(2px, -2px); color: var(--ink); }
.heritage-section .news-list { display: flex; flex-direction: column; min-width: 0; }
.heritage-section .news-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(100px, 12vw, 178px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(18px, 1.8vw, 24px) 30px clamp(18px, 1.8vw, 24px) 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.heritage-section .news-thumb { aspect-ratio: 3 / 2; overflow: hidden; margin: 0; background: var(--bg3); }
.heritage-section .news-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: transform .5s cubic-bezier(.2, .6, .2, 1); }
.heritage-section .news-item:hover .news-thumb img { transform: scale(1.05); }
.heritage-section .news-meta { display: block; margin-bottom: 10px; color: var(--ink-40); }
.heritage-section .news-title { display: block; max-width: 58ch; font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.025em; line-height: 1.4; overflow-wrap: break-word; }
.heritage-section .news-item::after { content: "\2197"; position: absolute; right: 2px; top: calc(50% - 9px); color: var(--ink-40); font: 15px var(--mono, "Geist Mono", monospace); transition: transform .25s ease, color .25s ease; }
.heritage-section .news-item:hover::after { transform: translate(3px, -3px); color: var(--ink); }
.heritage-section .news-item:hover .news-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.heritage-section .news-feat { grid-template-columns: minmax(100px, 35%) minmax(0, 1fr); }
.heritage-section .news-feat .news-title { font-size: clamp(16px, 1.3vw, 19px); }
.heritage-section .news-extra { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.22, 1, .36, 1); }
.heritage-section .news-extra-in { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility .55s; }
.heritage-section .news-list.open .news-extra { grid-template-rows: 1fr; }
.heritage-section .news-list.open .news-extra-in { visibility: visible; }
.heritage-section .news-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 50px; padding: 15px 2px 15px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: none; color: var(--ink-64); cursor: pointer; text-align: left; transition: color .2s ease; }
.heritage-section .news-toggle:hover { color: var(--ink); }
.heritage-section .tg-ic { color: var(--ink-40); font: 16px/1 var(--mono, "Geist Mono", monospace); transition: transform .3s ease; }
.heritage-section .news-list.open .tg-ic { transform: rotate(45deg); }
.heritage-section .tg-open { display: none; }
.heritage-section .news-list.open .tg-open { display: inline; }
.heritage-section .news-list.open .tg-closed { display: none; }

/* Publicly reported incidents and their accessible source index. */
.heritage-section#incidents { padding-block: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.heritage-section #incidentsHeading { font-weight: 700; }
.heritage-section .globe-grid { align-items: center; }
.heritage-section .dmg { display: block; margin-top: clamp(30px, 3.6vw, 52px); }
.heritage-section .dmg .k { position: relative; display: block; margin-bottom: 16px; padding-left: 14px; color: var(--ink-64); }
.heritage-section .dmg .k::before { content: ""; position: absolute; top: 50%; left: 0; width: 5px; height: 5px; background: var(--red); transform: translateY(-50%); }
.heritage-section .dmg-num { display: block; font-family: var(--mono, "Geist Mono", monospace); font-size: clamp(52px, 5.8vw, 92px); font-weight: 500; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.heritage-section .dmg-note { display: block; max-width: 48ch; margin-top: 16px; color: var(--ink-40); line-height: 1.65; }
.heritage-section .globe-stats { margin-top: clamp(24px, 2.8vw, 40px); padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-64); }
.heritage-section .globe-stats .r { color: var(--red); }
.heritage-section .globe-stage { position: relative; justify-self: end; width: 100%; max-width: 720px; margin: 0; }
.heritage-section #globeCanvas { display: block; width: 100%; aspect-ratio: 1; touch-action: pan-y; }
.heritage-section .globe-note { margin-top: 12px; color: var(--ink-40); text-align: center; }
.heritage-section .globe-tip { position: absolute; z-index: 5; width: min(300px, 74vw); padding: 14px 16px 13px; border: 1px solid var(--line-strong); background: var(--bg2); opacity: 0; pointer-events: none; transform: translateY(5px); transition: opacity .16s ease, transform .16s ease; }
.heritage-section .globe-tip.on { opacity: 1; transform: none; }
.heritage-section .tip-meta { display: block; margin-bottom: 8px; color: var(--ink-40); }
.heritage-section .tip-meta .tc { color: var(--red); }
.heritage-section .tip-place { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.heritage-section .tip-detail { display: block; margin-top: 6px; color: var(--ink-64); font-size: 13px; line-height: 1.5; }
.heritage-section .tip-src { display: block; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--ink-40); }
.heritage-section .globe-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 20px; }
.heritage-section .globe-pause,
.heritage-section .globe-all { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; color: var(--ink-64); font: 400 10px/1.5 var(--mono, "Geist Mono", monospace); letter-spacing: .045em; text-transform: uppercase; }
.heritage-section .globe-pause:hover,
.heritage-section .globe-all:hover { border-bottom-color: var(--ink); color: var(--ink); }
.heritage-section .incident-directory { grid-column: 1 / -1; width: 100%; margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.heritage-section .incident-directory > summary { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 60px; padding: 19px 0; cursor: pointer; list-style: none; color: var(--ink-64); font: 400 11px/1.5 var(--mono, "Geist Mono", monospace); letter-spacing: .07em; text-transform: uppercase; }
.heritage-section .incident-directory > summary::-webkit-details-marker { display: none; }
.heritage-section .incident-directory > summary::after { content: "+"; flex: 0 0 auto; color: var(--ink); font-size: 19px; }
.heritage-section .incident-directory[open] > summary::after { content: "\2212"; }
.heritage-section .incident-directory > summary:hover { color: var(--ink); }
.heritage-section .incident-directory ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); max-height: min(640px, 70vh); margin: 0; padding: 0 16px 0 0; overflow-y: auto; overscroll-behavior-y: contain; list-style: none; scrollbar-color: #ababaa var(--bg); scrollbar-width: thin; }
.heritage-section .incident-directory li { padding: 24px 0 26px; border-top: 1px solid var(--line); }
.heritage-section .incident-source-meta { display: block; color: var(--ink-40); }
.heritage-section .incident-directory h3 { margin: 10px 0 6px; color: var(--ink); font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -.03em; }
.heritage-section .incident-directory p { max-width: 66ch; margin: 10px 0 14px; color: var(--ink-64); font-size: 15px; line-height: 1.55; }
.heritage-section .incident-directory .incident-place { margin: 0; color: var(--ink); font-size: 13px; }
.heritage-section .incident-source-meta a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.heritage-section .incident-source-meta a:hover { color: var(--ink); }

@media (min-width: 1700px) {
  .heritage-section { padding-right: max(var(--gutter), calc((100vw - 1560px) / 2)); padding-left: max(var(--gutter), calc((100vw - 1560px) / 2)); }
}

@media (max-width: 1100px) {
  .heritage-section { padding-top: 85px; padding-bottom: 85px; }
  .heritage-section .ledger .band { flex-direction: column; align-items: flex-start; gap: 18px; }
  .heritage-section .led-tag { text-align: left; }
  .heritage-section .msl { width: 100%; max-width: 290px; }
  .heritage-section .uas-grid { flex: 0 0 auto; width: 100%; }
  .heritage-section .news-item { grid-template-columns: 104px minmax(0, 1fr); padding-right: 22px; }
  .heritage-section .news-title { font-size: 17px; }
}

@media (max-width: 960px) {
  .heritage-section .threat-grid,
  .heritage-section .news-grid,
  .heritage-section .globe-grid { grid-template-columns: minmax(0, 1fr); }
  .heritage-section h2 { max-width: 21ch; }
  .heritage-section .ledger { max-width: none; justify-self: stretch; }
  .heritage-section .ledger .band { flex-direction: row; align-items: flex-end; }
  .heritage-section .led-tag { text-align: right; }
  .heritage-section .msl { width: min(340px, 53%); }
  .heritage-section .uas-grid { flex: 1 1 auto; max-width: 354px; }
  .heritage-section .news-official { max-width: none; }
  .heritage-section .news-item,
  .heritage-section .news-feat { grid-template-columns: minmax(104px, 24%) minmax(0, 1fr); }
  .heritage-section .news-title { font-size: clamp(17px, 2.6vw, 22px); }
  .heritage-section .globe-stage { justify-self: center; max-width: 560px; }
  .heritage-section .globe-note { max-width: 54ch; margin-right: auto; margin-left: auto; }
  .heritage-section .threat-field { inset: 24% -35% 0 0; opacity: .45; }
}

@media (max-width: 760px) {
  .heritage-section { padding-top: 65px; padding-bottom: 65px; }
  .heritage-section h2 { font-size: clamp(35px, 6.8vw, 52px); }
  .heritage-section .threat-grid,
  .heritage-section .news-grid,
  .heritage-section .globe-grid { gap: 36px; }
  .heritage-section .threat-grid p.lead,
  .heritage-section .news-lead,
  .heritage-section .globe-lead { font-size: 16px; }
  .heritage-section .lbl { font-size: 9px; letter-spacing: .075em; }
  .heritage-section .news-meta { margin-bottom: 7px; }
  .heritage-section .incident-directory ol { grid-template-columns: minmax(0, 1fr); }
  .heritage-section .incident-directory h3 { font-size: 20px; }
  .heritage-section .incident-directory > summary { font-size: 10px; letter-spacing: .045em; }
}

@media (max-width: 540px) {
  .heritage-section .ledger .band { flex-direction: column; align-items: flex-start; }
  .heritage-section .led-tag { text-align: left; }
  .heritage-section .msl { width: 100%; }
  .heritage-section .uas-grid { flex: 0 0 auto; grid-template-columns: repeat(5, 30px); gap: 7px; width: auto; }
  .heritage-section .ledger .num { font-size: 25px; }
  .heritage-section .news-item,
  .heritage-section .news-feat { grid-template-columns: 90px minmax(0, 1fr); gap: 14px; padding-right: 18px; }
  .heritage-section .news-title,
  .heritage-section .news-feat .news-title { font-size: 16px; line-height: 1.4; }
  .heritage-section .news-meta { font-size: 8px; }
  .heritage-section .news-item::after { font-size: 12px; }
  .heritage-section .globe-note { font-size: 8px; line-height: 1.7; }
  .heritage-section .globe-controls { gap: 8px 20px; }
  .heritage-section .globe-pause,
  .heritage-section .globe-all { font-size: 9px; }
  .heritage-section .dmg-num { font-size: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .heritage-section *,
  .heritage-section *::before,
  .heritage-section *::after { animation: none !important; transition: none !important; }
  .heritage-section .msl { clip-path: inset(0); }
  .heritage-section .eq i { transform: none; }
  .heritage-section .u { opacity: 1; transform: none; }
  .heritage-section .news-item:hover .news-thumb img,
  .heritage-section .news-item:hover::after,
  .heritage-section .news-link:hover::after { transform: none; }
}
