:root {
  --zf-red: #c9151e;
  --zf-red-dark: #9f0e15;
  --ink: #181818;
  --muted: #666;
  --paper: #fff;
  --soft: #f2f3f5;
  --line: #d9dadd;
  --blue: #087a98;
  --blue-soft: #dfe9ef;
  --green: #26745a;
  --amber: #9b6511;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(201, 21, 30, 0.3);
  outline-offset: 3px;
}

.infographic {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
}

.hero {
  border-top: 10px solid var(--zf-red);
  padding: 24px clamp(18px, 4vw, 54px) 36px;
  background:
    linear-gradient(135deg, rgba(201, 21, 30, 0.06), transparent 40%),
    var(--paper);
}

.brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zf-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--zf-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 230px);
  gap: clamp(18px, 5vw, 70px);
  align-items: center;
  padding: clamp(38px, 6vw, 82px) 0 42px;
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--zf-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-stretch: condensed;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 850px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.98;
}

h1 span {
  color: var(--zf-red);
  font-size: 1.12em;
}

.standfirst {
  max-width: 760px;
  margin: 24px 0 0;
  color: #444;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-stamp {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.stats div {
  padding: 20px clamp(12px, 3vw, 28px);
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--zf-red);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.section-no {
  margin: 3px 0 0;
  color: var(--zf-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

h2 {
  max-width: 850px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
}

.section-intro {
  max-width: 830px;
  margin: 26px 0 38px 72px;
  color: #444;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.55;
}

.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.market-panel {
  min-width: 0;
}

.market-panel header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 14px;
  border-bottom: 4px solid var(--ink);
}

.market-panel.is-current header {
  border-color: var(--zf-red);
}

.market-panel h3 {
  font-size: 40px;
}

.market-panel header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.market-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-row {
  display: grid;
  grid-template-columns: 34px minmax(120px, 1fr) minmax(100px, 0.52fr);
  align-items: stretch;
  min-height: 53px;
  border-bottom: 1px solid var(--line);
}

.market-rank {
  display: grid;
  place-items: center start;
  font-weight: 800;
}

.market-company {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 9px 10px;
  overflow: hidden;
  font-weight: 800;
}

.market-company::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  content: "";
  background: var(--blue-soft);
  z-index: 0;
}

.is-current .market-company::before {
  background: rgba(201, 21, 30, 0.1);
}

.market-company strong,
.market-company small {
  position: relative;
  z-index: 1;
}

.market-company small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

.market-revenue {
  display: grid;
  place-items: center end;
  padding: 9px 0 9px 10px;
  color: var(--blue);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 800;
  white-space: nowrap;
}

.is-current .market-revenue {
  color: var(--zf-red);
}

.source-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.deals-section {
  background: #f6f6f6;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  align-items: center;
  min-height: 130px;
  margin: 38px 0 28px;
}

.timeline::before {
  position: absolute;
  top: 50%;
  right: 3%;
  left: 3%;
  height: 2px;
  content: "";
  background: #b9b9b9;
  transform: translateY(-50%);
}

.timeline-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node-size);
  height: var(--node-size);
  min-width: 34px;
  min-height: 34px;
  margin: auto;
  padding: 0;
  border: 2px solid var(--paper);
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.timeline-node.is-estimate {
  border-style: dashed;
}

.timeline-node.is-active {
  background: var(--zf-red);
  box-shadow: 0 0 0 5px rgba(201, 21, 30, 0.18);
  transform: scale(1.08);
}

.timeline-node::after {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  color: var(--ink);
  content: attr(data-year);
  font-size: 11px;
  transform: translateX(-50%);
}

.timeline-node span {
  pointer-events: none;
}

.deal-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
  min-height: 520px;
  overflow: hidden;
  border-top: 5px solid var(--zf-red);
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.1);
}

.deal-image-wrap {
  position: relative;
  min-height: 340px;
  background: #ddd;
}

.deal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-position {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 11px;
  color: #fff;
  background: rgba(24, 24, 24, 0.85);
  font-size: 12px;
  font-weight: 800;
}

.deal-content {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
}

.deal-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.deal-year {
  color: var(--zf-red);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.deal-type {
  padding: 5px 9px;
  color: var(--muted);
  background: var(--soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.deal-content h3 {
  max-width: 680px;
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.deal-value {
  margin: 14px 0 26px;
  color: var(--zf-red);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.deal-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}

.deal-parties div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.deal-parties dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deal-parties dd {
  margin: 5px 0 0;
  font-weight: 800;
  line-height: 1.3;
}

.deal-object {
  margin: 22px 0;
  color: #3d3d3d;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

.lens-insight {
  padding: 14px 16px;
  border-left: 4px solid var(--zf-red);
  background: rgba(201, 21, 30, 0.06);
}

.lens-insight span {
  color: var(--zf-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lens-insight p {
  margin: 5px 0 0;
  line-height: 1.4;
}

details {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 14px 0;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
}

.council {
  color: var(--muted);
}

.deal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.deal-nav button {
  padding: 9px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.deal-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.deal-nav span {
  color: var(--muted);
  font-size: 12px;
}

.fate-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
}

.fate-table {
  width: 100%;
  border-collapse: collapse;
}

.fate-table th,
.fate-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.fate-table th {
  border-bottom: 3px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fate-table td:first-child {
  font-weight: 800;
}

.status {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status.stays {
  color: var(--green);
  background: rgba(38, 116, 90, 0.1);
}

.status.exit {
  color: var(--zf-red-dark);
  background: rgba(201, 21, 30, 0.1);
}

.status.changed {
  color: var(--amber);
  background: rgba(155, 101, 17, 0.12);
}

.newcomers {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 20px;
  margin-top: 40px;
  padding: 24px 0;
  border-top: 4px solid var(--zf-red);
  border-bottom: 1px solid var(--line);
}

.newcomers p {
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
}

.newcomers div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.newcomers span {
  padding: 10px 12px;
  background: var(--soft);
  font-weight: 800;
}

.newcomers b {
  color: var(--zf-red);
}

.closing-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 48px;
}

.closing-line strong {
  color: var(--zf-red);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(54px, 8vw, 92px);
  letter-spacing: -0.06em;
}

.closing-line p {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.45;
}

footer {
  padding: 24px clamp(18px, 4vw, 54px) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--zf-red);
  font-weight: 800;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr 120px;
  }

  .market-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .deal-card {
    grid-template-columns: 1fr;
  }

  .deal-image-wrap {
    min-height: 320px;
    max-height: 440px;
  }

  .timeline {
    display: flex;
    min-height: 112px;
    padding: 0 26px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .timeline::before {
    right: 42px;
    left: 42px;
  }

  .timeline-node {
    flex: 0 0 auto;
    margin-right: 30px;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-bottom: 26px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-stamp {
    width: 100px;
    grid-row: 1;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stats div {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .section-intro {
    margin-left: 48px;
  }

  .market-row {
    grid-template-columns: 30px minmax(120px, 1fr) minmax(82px, 0.45fr);
  }

  .deal-parties {
    grid-template-columns: 1fr;
  }

  .deal-image-wrap {
    min-height: 240px;
  }

  .deal-nav span {
    display: none;
  }

  .fate-table th,
  .fate-table td {
    min-width: 150px;
  }

  .newcomers {
    grid-template-columns: 1fr;
  }

  .closing-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .timeline-node {
    transition: none;
  }
}
