:root {
  --deck-ore: #812a3e;
  --deck-steel: #dddede;
  --deck-slate: #151515;
  --deck-river: #5072a7;
  --deck-oak: #455859;
  --deck-sand: #d3b781;
  --deck-paper: #f4f1eb;
  --deck-ink: #171717;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  max-width: 100%;
  overflow-x: clip;
}

body.presentation-page {
  background: var(--deck-slate);
  color: var(--deck-paper);
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

.presentation-page .site-header {
  background: color-mix(in srgb, var(--deck-slate) 90%, transparent);
  border-bottom-color: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(18px) saturate(1.15);
}

.presentation-page .wordmark,
.presentation-page .desktop-nav a,
.presentation-page .language-menu summary,
.presentation-page .mobile-menu summary {
  color: #fff;
}

.presentation-page .wordmark small {
  color: rgba(255, 255, 255, .66);
}

.presentation-page .desktop-nav a:first-child::after {
  transform: scaleX(1);
}

.presentation-page .language-menu[open] summary,
.presentation-page .mobile-menu[open] summary {
  color: var(--deck-sand);
}

.presentation-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  max-width: 100vw;
  overflow: hidden;
  pointer-events: none;
}

.presentation-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--deck-river), var(--deck-sand), var(--deck-ore));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.story-deck {
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  overflow-x: clip;
}

.deck-hero {
  position: relative;
  min-height: max(46rem, 100svh);
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.deck-hero-media,
.deck-hero-shade {
  position: absolute;
  inset: 0;
}

.deck-hero-media picture,
.deck-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.deck-hero-media img {
  object-fit: cover;
  object-position: 50% 60%;
  scale: 1.035;
  will-change: transform;
}

.deck-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .94) 0%, rgba(10, 10, 10, .68) 47%, rgba(10, 10, 10, .14) 78%),
    linear-gradient(0deg, rgba(10, 10, 10, .9) 0%, transparent 46%),
    linear-gradient(135deg, transparent 62%, rgba(129, 42, 62, .42));
}

.deck-hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 6.5vw;
  width: 1px;
  background: rgba(255, 255, 255, .22);
}

.deck-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: -12vw;
  bottom: -23vw;
  width: 46vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .22);
  rotate: 45deg;
}

.deck-hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 95rem);
  padding-block: clamp(9rem, 18vh, 14rem) clamp(8rem, 15vh, 11rem);
}

.deck-kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: clamp(1.5rem, 3vh, 2.4rem);
  color: var(--deck-sand);
  font-size: clamp(.7rem, .72vw, .82rem);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.deck-kicker::before {
  content: "";
  width: 3.5rem;
  height: 1px;
  background: currentColor;
}

.deck-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: "e-Ukraine Head", "e-Ukraine", sans-serif;
  font-size: clamp(3.6rem, 8.3vw, 9rem);
  font-weight: 400;
  line-height: .89;
  letter-spacing: -.055em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.deck-hero h1 span {
  display: block;
  color: var(--deck-sand);
}

.deck-hero-content > p {
  max-width: 46rem;
  margin: clamp(1.6rem, 3vw, 2.7rem) 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.65;
}

.deck-start {
  display: inline-flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 2.4rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deck-start i {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 50%;
  font-style: normal;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.deck-start:hover i,
.deck-start:focus-visible i {
  background: var(--deck-sand);
  color: var(--deck-slate);
  transform: translateY(.25rem);
}

.deck-hero-status {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 3.5vw, 4rem);
  bottom: clamp(2rem, 4.5vw, 4rem);
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  color: rgba(255, 255, 255, .66);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.deck-hero-status strong {
  color: #fff;
  font-size: .86rem;
  font-weight: 500;
}

.deck-hero-status b {
  color: var(--deck-sand);
  font-family: "e-Ukraine Head", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.presentation-rail {
  position: fixed;
  z-index: 80;
  top: 50%;
  right: max(.7rem, env(safe-area-inset-right));
  translate: 0 -50%;
  display: grid;
  gap: .2rem;
  padding: .5rem;
  background: rgba(21, 21, 21, .7);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.presentation-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: rgba(255, 255, 255, .54);
  font-size: .62rem;
  letter-spacing: .04em;
  transition: background-color .2s ease, color .2s ease, scale .2s ease;
}

.presentation-rail a:hover,
.presentation-rail a:focus-visible,
.presentation-rail a.is-active {
  background: var(--deck-sand);
  color: var(--deck-slate);
  scale: 1.08;
}

.presentation-rail small {
  position: absolute;
  right: 3rem;
  width: max-content;
  max-width: 13rem;
  padding: .45rem .65rem;
  background: var(--deck-slate);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: .35rem;
  font-size: .68rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  translate: .5rem 0;
  transition: opacity .2s ease, translate .2s ease;
}

.presentation-rail a:hover small,
.presentation-rail a:focus-visible small {
  opacity: 1;
  translate: 0 0;
}

.story-chapter {
  min-width: 0;
  overflow-x: clip;
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(29rem, .97fr);
  background: var(--deck-paper);
  color: var(--deck-ink);
  isolation: isolate;
}

.story-chapter:nth-child(odd) {
  grid-template-columns: minmax(29rem, .97fr) minmax(0, 1.03fr);
}

.story-chapter:nth-child(odd) .chapter-photo {
  grid-column: 2;
}

.story-chapter:nth-child(odd) .chapter-panel {
  grid-column: 1;
  grid-row: 1;
}

.chapter-photo {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100svh;
  min-width: 0;
  overflow: hidden;
  background: var(--deck-oak);
}

.chapter-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 45%, rgba(21, 21, 21, .38));
  pointer-events: none;
}

.chapter-photo picture,
.chapter-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.chapter-photo img {
  object-fit: cover;
  will-change: transform;
}

.chapter-panel {
  min-width: 0;
  max-width: 100%;
  overflow-x: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6.5rem, 10vw, 11rem) clamp(2.2rem, 6vw, 7rem);
  overflow-wrap: break-word;
}

.chapter-panel h2 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}

.chapter-number {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin-bottom: clamp(2.4rem, 6vh, 5rem);
  color: var(--deck-ore);
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(3.8rem, 6.5vw, 7rem);
  line-height: .8;
  letter-spacing: -.06em;
}

.chapter-number span {
  color: #4f4f4c;
  font-family: "e-Ukraine", sans-serif;
  font-size: .7rem;
  letter-spacing: .13em;
}

.chapter-overline {
  margin: 0 0 1rem;
  color: var(--deck-ore);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.chapter-panel h2 {
  max-width: none;
  margin: 0;
  font-family: "e-Ukraine Head", "e-Ukraine", sans-serif;
  font-size: clamp(2.35rem, 3.7vw, 4.6rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.05em;
}

html[lang="de"] .chapter-panel h2,
html[lang="lb"] .chapter-panel h2 {
  font-size: clamp(2.15rem, 3.25vw, 4rem);
  letter-spacing: -.04em;
}

.chapter-lead {
  max-width: 47rem;
  margin: 1.7rem 0 0;
  color: #454545;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.65;
}

.deck-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: #b8b7b3;
  border: 1px solid #b8b7b3;
}

.deck-stat {
  min-width: 0;
  padding: clamp(1.1rem, 2.2vw, 2rem);
  background: var(--deck-paper);
}

.deck-stat strong {
  display: block;
  color: var(--deck-ore);
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 3.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.deck-stat > span {
  display: block;
  margin-top: .65rem;
  color: #555;
  font-size: .76rem;
  line-height: 1.45;
}

.production-network {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 2.7rem;
}

.production-network::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 1.3rem;
  right: 1.3rem;
  height: 1px;
  background: var(--deck-ore);
}

.network-node {
  position: relative;
  min-width: 0;
}

.network-node span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: .8rem;
  background: var(--deck-ore);
  color: #fff;
  border-radius: 50%;
  font-size: .65rem;
}

.network-node strong {
  display: block;
  color: #333;
  font-size: .7rem;
  line-height: 1.35;
}

.deck-fact-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  margin-top: 2.7rem;
  padding-top: 2rem;
  border-top: 1px solid #c9c7c1;
}

.deck-fact-columns ul,
.system-duet ul,
.chapter-list,
.resilience-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deck-fact-columns li,
.system-duet li,
.chapter-list li,
.resilience-note li {
  position: relative;
  padding: .65rem 0 .65rem 1.25rem;
  color: #4a4a4a;
  border-bottom: 1px solid #d4d1ca;
  font-size: .83rem;
  line-height: 1.5;
}

.deck-fact-columns li::before,
.system-duet li::before,
.chapter-list li::before,
.resilience-note li::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0;
  width: .38rem;
  height: .38rem;
  background: var(--deck-ore);
  rotate: 45deg;
}

.system-duet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.7rem;
  background: #b8b7b3;
  border: 1px solid #b8b7b3;
}

.system-duet article {
  min-width: 0;
  padding: clamp(1.35rem, 2.5vw, 2.4rem);
  background: var(--deck-paper);
}

.system-duet article > span {
  display: block;
  color: var(--deck-ore);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.system-duet p {
  min-height: 7.6em;
  margin: 1rem 0 1.4rem;
  color: #3f3f3f;
  font-size: .88rem;
  line-height: 1.58;
}

.land-chart {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.8rem;
}

.land-row > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .55rem;
}

.land-row span {
  color: #555;
  font-size: .77rem;
  line-height: 1.35;
}

.land-row strong {
  color: var(--deck-ore);
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  font-weight: 400;
  white-space: nowrap;
}

.kinetic-meter {
  height: .5rem;
  overflow: hidden;
  background: #d5d2ca;
}

.kinetic-meter span {
  display: block;
  width: calc(var(--meter, 0) * 1%);
  height: 100%;
  background: linear-gradient(90deg, var(--deck-oak), var(--deck-river));
  transition: width 1.1s cubic-bezier(.18, .8, .22, 1);
}

.chapter-list {
  margin-top: 2.2rem;
  columns: 2;
  column-gap: 2rem;
}

.chapter-list li {
  break-inside: avoid;
}

.route-lines {
  position: relative;
  display: grid;
  gap: 0;
  margin: 2.8rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: route;
}

.route-lines li {
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  color: #333;
  border-top: 1px solid #c9c7c1;
  font-size: .88rem;
  line-height: 1.5;
  counter-increment: route;
}

.route-lines li::before {
  content: counter(route, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--deck-river);
  font-family: "e-Ukraine Head", sans-serif;
  font-size: 1.25rem;
}

.people-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 2.7rem;
}

.people-evidence article {
  min-width: 0;
  padding: 1.25rem;
  background: #e6e2da;
}

.people-evidence span,
.cooperation-deck-grid article > span {
  color: var(--deck-ore);
  font-family: "e-Ukraine Head", sans-serif;
  font-size: 1.3rem;
}

.people-evidence p {
  margin: .65rem 0 0;
  color: #333;
  font-size: .82rem;
  line-height: 1.5;
}

.resilience-note {
  margin-top: .7rem;
  padding: 1.6rem;
  background: var(--deck-oak);
  color: #fff;
}

.resilience-note h3 {
  margin: 0 0 .8rem;
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 400;
}

.resilience-note li {
  color: rgba(255, 255, 255, .78);
  border-color: rgba(255, 255, 255, .18);
}

.resilience-note li::before {
  background: var(--deck-sand);
}

.recovery-sequence {
  margin: 2.7rem 0 0;
  padding: 0;
  list-style: none;
}

.recovery-sequence li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: .9rem;
  padding: .85rem 0;
  color: #3e3e3e;
  border-top: 1px solid #c9c7c1;
  font-size: .82rem;
  line-height: 1.5;
}

.recovery-sequence span {
  color: var(--deck-ore);
  font-family: "e-Ukraine Head", sans-serif;
  font-size: 1.2rem;
}

.deck-investment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: #c7c3ba;
}

.deck-investment-stat {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  min-height: 10.5rem;
  padding: 1.35rem;
  overflow: hidden;
  background: #ece9e2;
  container-type: inline-size;
}

.deck-investment-stat:nth-child(4) {
  background: var(--deck-sand);
}

.deck-metric-index {
  color: var(--deck-ore);
  font-size: .56rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .12em;
}

.deck-investment-stat strong {
  display: flex;
  min-width: 0;
  margin: clamp(.8rem, 4cqi, 1.25rem) 0 .75rem;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .12em .38em;
  color: var(--deck-ore);
  font-family: "e-Ukraine Head", sans-serif;
  font-weight: 400;
  line-height: 1;
}

.deck-investment-stat .metric-value {
  flex: 0 0 auto;
  font-size: clamp(2rem, 14cqi, 3.55rem);
  line-height: .9;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.deck-investment-stat .metric-unit {
  max-width: 13ch;
  font-size: clamp(.72rem, 5cqi, 1.1rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.deck-investment-stat > .metric-label {
  align-self: end;
  max-width: 38ch;
  color: #555;
  font-size: clamp(.67rem, 3.2cqi, .78rem);
  line-height: 1.48;
  overflow-wrap: break-word;
  hyphens: auto;
}

.deck-data-note,
.deck-source {
  margin: 1.4rem 0 0;
  color: #4c4b47;
  font-size: .68rem;
  line-height: 1.55;
}

.deck-data-note strong,
.deck-source strong {
  color: var(--deck-ore);
}

.cooperation-deck-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 2.7rem;
}

.cooperation-deck-grid article {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid #c9c7c1;
}

.cooperation-deck-grid h3 {
  margin: .9rem 0 .55rem;
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 400;
  line-height: 1.2;
}

.cooperation-deck-grid p {
  margin: 0;
  color: #555;
  font-size: .77rem;
  line-height: 1.5;
}

.deck-closing {
  margin-top: 3rem;
  padding: clamp(1.6rem, 3vw, 2.8rem);
  background: var(--deck-ore);
  color: #fff;
}

.deck-closing h3 {
  max-width: 18ch;
  margin: 0;
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.deck-closing p {
  max-width: 45rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  line-height: 1.6;
}

.deck-closing > div {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.6rem;
}

.deck-closing .button-primary {
  background: var(--deck-sand);
  color: var(--deck-slate);
  border-color: var(--deck-sand);
}

.deck-closing .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .46);
}

[data-deck-reveal] {
  opacity: 1;
  translate: none;
}

[data-deck-reveal].deck-reveal-pending {
  opacity: 0;
  translate: 0 1.5rem;
  transition: opacity .7s ease, translate .7s cubic-bezier(.18, .8, .22, 1);
}

[data-deck-reveal].deck-reveal-pending.is-visible {
  opacity: 1;
  translate: 0 0;
}

.story-chapter:nth-child(4n + 2) .chapter-number,
.story-chapter:nth-child(4n + 2) .deck-stat strong,
.story-chapter:nth-child(4n + 2) .people-evidence span {
  color: var(--deck-river);
}

.chapter-industry .chapter-panel,
.chapter-people .chapter-panel {
  background: #e6e1d7;
}

.chapter-systems .chapter-panel,
.chapter-recovery .chapter-panel {
  background: var(--deck-steel);
}

@media (max-width: 1200px) {
  .story-chapter,
  .story-chapter:nth-child(odd) {
    grid-template-columns: minmax(0, 1fr) minmax(27rem, .92fr);
  }

  .chapter-panel {
    padding-inline: clamp(2rem, 4.5vw, 4rem);
  }

  .presentation-rail small {
    display: none;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .deck-hero {
    min-height: 100svh;
  }

  .deck-hero-shade {
    background:
      linear-gradient(0deg, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .58) 62%, rgba(10, 10, 10, .22)),
      linear-gradient(135deg, transparent 55%, rgba(129, 42, 62, .35));
  }

  .deck-hero::before {
    left: 1.5rem;
  }

  .deck-hero-content {
    padding-block: 9.5rem 9rem;
  }

  .deck-hero h1 {
    max-width: 11ch;
    font-size: clamp(3.4rem, 11.8vw, 7rem);
  }

  .deck-hero-status {
    left: 1.5rem;
    right: auto;
    bottom: 2rem;
  }

  .presentation-rail {
    top: auto;
    right: 50%;
    bottom: max(.75rem, env(safe-area-inset-bottom));
    translate: 50% 0;
    grid-auto-flow: column;
    gap: .15rem;
    max-width: calc(100vw - 1.5rem);
    overflow: hidden;
    padding: .42rem;
  }

  .presentation-rail a {
    width: 2.75rem;
    height: 2.75rem;
  }

  .story-chapter,
  .story-chapter:nth-child(odd) {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .story-chapter:nth-child(odd) .chapter-photo,
  .story-chapter:nth-child(odd) .chapter-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .story-chapter:nth-child(odd) .chapter-photo {
    order: 0;
  }

  .story-chapter:nth-child(odd) .chapter-panel {
    order: 1;
  }

  .chapter-photo {
    position: relative;
    width: 100%;
    height: min(44svh, 30rem);
  }

  .chapter-panel {
    min-height: 75svh;
    padding: clamp(4.5rem, 11vw, 7rem) clamp(1.35rem, 6vw, 4rem) clamp(6rem, 12vw, 8rem);
  }

  .story-chapter:last-of-type { padding-bottom: 4.8rem; }

  .chapter-number {
    margin-bottom: 2.5rem;
    font-size: clamp(3.8rem, 13vw, 6.4rem);
  }

  .chapter-panel h2 {
    max-width: none;
    font-size: clamp(2.3rem, 7vw, 4.1rem);
  }

  .system-duet p {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .deck-hero-content {
    width: 100%;
    padding-inline: max(1.35rem, env(safe-area-inset-left)) max(1.35rem, env(safe-area-inset-right));
  }

  .deck-kicker {
    align-items: flex-start;
    font-size: .62rem;
    line-height: 1.45;
  }

  .deck-kicker::before {
    width: 2rem;
    margin-top: .45rem;
    flex: 0 0 auto;
  }

  .deck-hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 13vw, 4.45rem);
    letter-spacing: -.045em;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .deck-hero-content > p {
    max-width: 100%;
    font-size: .95rem;
  }

  .deck-hero-status {
    left: max(1.35rem, env(safe-area-inset-left));
    bottom: calc(5.15rem + env(safe-area-inset-bottom));
  }

  .deck-hero-status > span {
    display: block;
    max-width: min(56vw, 18rem);
    font-size: .6rem;
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
  }

  .presentation-rail {
    right: max(.55rem, env(safe-area-inset-right));
    left: max(.55rem, env(safe-area-inset-left));
    width: auto;
    max-width: none;
    translate: none;
    display: flex;
    grid-auto-flow: row;
    justify-content: stretch;
    padding: .42rem;
    border-radius: 1rem;
  }

  .presentation-rail a {
    display: none;
    min-width: 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    scale: none;
  }

  .presentation-rail a.is-prev,
  .presentation-rail a.is-next,
  .presentation-rail a.is-active { display: grid; }
  .presentation-rail a.is-active { grid-template-columns: 1.8rem minmax(0,1fr); width: auto; flex: 1 1 auto; max-width: calc(100vw - 7.5rem); padding: 0 .7rem; place-items: center start; border-radius: .7rem; }
  .presentation-rail a.is-active { min-width: 0; }
  .presentation-rail a.is-active small { position: static; display: block; min-width: 0; width: auto; max-width: 100%; padding: 0; color: var(--deck-slate); background: transparent; border: 0; font-size: .62rem; opacity: 1; translate: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  html:not([lang="en"]) .deck-hero h1 {
    font-size: clamp(2.35rem, 10.8vw, 3.9rem);
  }

  html[lang="de"] .chapter-panel h2,
  html[lang="lb"] .chapter-panel h2,
  html[lang="fr"] .chapter-panel h2 {
    font-size: clamp(2rem, 7.6vw, 3.55rem);
  }

  .deck-stats,
  .deck-fact-columns,
  .system-duet,
  .people-evidence,
  .cooperation-deck-grid {
    grid-template-columns: 1fr;
  }

  .production-network {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.4rem;
  }

  .production-network::before {
    display: none;
  }

  .chapter-list {
    columns: 1;
  }

  .deck-investment {
    grid-template-columns: 1fr;
  }

  .land-row > div:first-child {
    align-items: flex-start;
  }

  .deck-closing > div {
    display: grid;
  }

  .deck-closing .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

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

  .deck-hero-media img,
  .chapter-photo img {
    transform: none !important;
  }

  [data-deck-reveal],
  .kinetic-meter span {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
