:root {
  color: #f7f5f8;
  background: #050308;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  --violet: #b245ee;
  --violet-deep: #7827e8;
  --surface: rgba(5, 3, 8, 0.84);
  --surface-soft: rgba(17, 11, 24, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --muted: rgba(255, 255, 255, 0.52);
  --scale: 1;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #050308;
}

button {
  color: inherit;
  font: inherit;
}

.viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 130%, rgba(126, 39, 232, 0.22), transparent 48%),
    #050308;
}

.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%) scale(var(--scale));
  transform-origin: center;
  overflow: hidden;
  background: #09050d;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.deck,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  display: none;
  overflow: hidden;
  padding: 62px 72px 54px;
  background: #08050b;
}

.slide.is-active {
  display: block;
}

.slide.is-active.is-forward {
  animation: slide-forward 560ms cubic-bezier(0.22, 0.74, 0.2, 1) both;
}

.slide.is-active.is-backward {
  animation: slide-backward 560ms cubic-bezier(0.22, 0.74, 0.2, 1) both;
}

@keyframes slide-forward {
  from { opacity: 0; transform: translateX(34px) scale(0.992); }
  to { opacity: 1; transform: none; }
}

@keyframes slide-backward {
  from { opacity: 0; transform: translateX(-34px) scale(0.992); }
  to { opacity: 1; transform: none; }
}

.slide__background {
  position: absolute;
  inset: -1px;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 2, 7, 0.12), rgba(4, 2, 7, 0.03) 62%, rgba(4, 2, 7, 0.16)),
    url("bg_1.jpg") center / cover no-repeat;
}

.slide__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 1, 5, 0.1), transparent 28%, rgba(2, 1, 5, 0.24)),
    radial-gradient(circle at 76% 48%, rgba(178, 69, 238, 0.1), transparent 32%);
}

.slide > *:not(.slide__background) {
  position: relative;
  z-index: 1;
}

.brand {
  width: 172px;
  height: auto;
  flex: 0 0 auto;
}

.brand--cover {
  position: absolute !important;
  top: 54px;
  left: 60px;
  width: 340px;
}

.brand--closing {
  position: absolute !important;
  top: 64px;
  right: 72px;
}

.slide-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  min-height: 206px;
}

.slide-header h2 {
  max-width: 1510px;
  margin: -10px 0 0;
  font-size: 76px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.052em;
}

.slide-header .eyebrow + h2 {
  margin-top: 10px;
  font-size: 70px;
}

.eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.slide-footer {
  position: absolute !important;
  right: 72px;
  bottom: 51px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.slide-footer i {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.34);
}

.cover-copy {
  position: absolute !important;
  left: 50%;
  top: 47%;
  width: 1320px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.cover-copy h1 {
  margin: 24px 0 0;
  font-size: 82px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.cover-copy__subtitle {
  max-width: 940px;
  margin: 76px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 31px;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.cover-author {
  position: absolute !important;
  left: 62px;
  bottom: 53px;
  display: grid;
  gap: 8px;
}

.cover-author strong {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.cover-author span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 21px;
}

.agenda {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: auto auto;
  gap: 6px 22px;
  min-height: 252px;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(14, 9, 20, 0.93), rgba(6, 4, 9, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.agenda-item > span {
  grid-row: 1 / span 2;
  color: var(--violet);
  font-size: 27px;
}

.agenda-item h3,
.panel h3,
.card h3,
.timeline h3 {
  margin: 0;
  font-size: 39px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.agenda-item p,
.card p,
.timeline p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 23px;
  line-height: 1.3;
}

.slide--divider .brand {
  position: absolute;
  top: 64px;
  right: 72px;
}

.divider-copy {
  position: absolute !important;
  left: 185px;
  top: 50%;
  width: 1300px;
  transform: translateY(-50%);
}

.divider-copy__number {
  position: absolute;
  left: -126px;
  top: 5px;
  color: var(--violet);
  font-size: 25px;
}

.divider-copy h2 {
  margin: 28px 0 26px;
  font-size: 110px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.divider-copy > p:last-child {
  max-width: 960px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 29px;
  line-height: 1.3;
}

.statement {
  position: absolute !important;
  left: 190px;
  top: 49%;
  width: 1490px;
  transform: translateY(-42%);
}

.statement__marker {
  display: block;
  width: 72px;
  height: 9px;
  margin-bottom: 42px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--violet), #7a42ff);
  box-shadow: 0 0 36px rgba(178, 69, 238, 0.66);
}

.statement h2 {
  margin: 0;
  font-size: 82px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.058em;
}

.statement p {
  max-width: 1080px;
  margin: 58px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 28px;
  line-height: 1.35;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 26px;
}

.panel {
  min-height: 632px;
  padding: 44px 48px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(5, 3, 8, 0.86);
}

.panel--accent {
  border-color: rgba(178, 69, 238, 0.56);
  background:
    linear-gradient(145deg, rgba(178, 69, 238, 0.12), transparent 42%),
    rgba(5, 3, 8, 0.88);
  box-shadow: 0 0 50px rgba(139, 43, 213, 0.14);
}

.panel__tag {
  display: inline-flex;
  margin-bottom: 55px;
  padding: 10px 18px;
  border: 1px solid rgba(178, 69, 238, 0.55);
  border-radius: 99px;
  color: #e5bbff;
  font-size: 18px;
}

.panel h3 {
  font-size: 51px;
}

.panel ul {
  display: grid;
  gap: 26px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.panel li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 25px;
  line-height: 1.3;
}

.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 16px rgba(178, 69, 238, 0.75);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.card {
  min-height: 510px;
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(20, 12, 27, 0.9), rgba(5, 3, 8, 0.88));
}

.card > span {
  display: block;
  margin-bottom: 212px;
  color: var(--violet);
  font-size: 22px;
}

.card--highlight {
  border-color: rgba(178, 69, 238, 0.78);
  background:
    radial-gradient(circle at 84% 13%, rgba(178, 69, 238, 0.35), transparent 35%),
    linear-gradient(160deg, rgba(44, 17, 59, 0.92), rgba(6, 3, 9, 0.91));
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 18px;
}

.metrics-row article {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 24px;
  min-height: 128px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 3, 8, 0.82);
}

.metrics-row span,
.metrics-row small {
  color: var(--muted);
  font-size: 19px;
}

.metrics-row strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 56px;
  font-weight: 400;
}

.data-table {
  overflow: hidden;
  border: 1px solid rgba(178, 69, 238, 0.48);
  border-radius: 28px;
  background: rgba(3, 2, 5, 0.91);
  box-shadow: 0 0 42px rgba(139, 43, 213, 0.16);
}

.data-table__row {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr 0.55fr 0.72fr 1.4fr;
  min-height: 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table__row:first-child {
  border-top: 0;
}

.data-table__row > span {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
}

.data-table__row > span:first-child {
  border-left: 0;
}

.data-table__row--head {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.035);
}

.data-table__row--head > span {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.status {
  display: inline-flex;
  justify-content: center;
  min-width: 82px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 400;
}

.status--good { background: rgba(39, 109, 55, 0.68); }
.status--warn { background: rgba(175, 41, 50, 0.76); }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 112px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 45px;
  right: 45px;
  top: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), rgba(178, 69, 238, 0.18));
}

.timeline article {
  position: relative;
  min-height: 460px;
  padding: 92px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(5, 3, 8, 0.82);
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 30px;
  width: 26px;
  height: 26px;
  border: 7px solid #0a0610;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 22px rgba(178, 69, 238, 0.75);
}

.timeline article > span {
  display: block;
  margin-bottom: 26px;
  color: var(--violet);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline small {
  position: absolute;
  left: 30px;
  bottom: 32px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 18px;
}

.closing-copy {
  position: absolute !important;
  left: 50%;
  top: 48%;
  width: 1300px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.closing-copy h2 {
  margin: 28px 0 34px;
  font-size: 164px;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.closing-copy > p:last-child {
  color: rgba(255, 255, 255, 0.58);
  font-size: 27px;
}

/* Presentation motion ----------------------------------------------------- */

.slide.is-active .slide__background {
  animation: background-breathe 14s ease-in-out 0.5s infinite alternate both;
  transform-origin: center;
}

.slide.is-active .brand {
  animation: fade-down 720ms cubic-bezier(0.2, 0.72, 0.2, 1) 100ms both;
}

.slide.is-active .slide-header > h2,
.slide.is-active .slide-header > div,
.slide.is-active .slide-header > .eyebrow {
  animation: reveal-up 760ms cubic-bezier(0.18, 0.74, 0.16, 1) 80ms both;
}

.slide.is-active .slide-footer {
  animation: soft-fade 700ms ease 620ms both;
}

.slide.is-active .cover-copy .eyebrow {
  animation: soft-fade 650ms ease 180ms both;
}

.slide.is-active .cover-copy h1 {
  animation: title-reveal 900ms cubic-bezier(0.16, 0.78, 0.18, 1) 260ms both;
}

.slide.is-active .cover-copy__subtitle {
  animation: reveal-up 720ms cubic-bezier(0.2, 0.72, 0.2, 1) 520ms both;
}

.slide.is-active .cover-author {
  animation: reveal-up 700ms cubic-bezier(0.2, 0.72, 0.2, 1) 680ms both;
}

.slide.is-active .agenda-item,
.slide.is-active .card,
.slide.is-active .panel,
.slide.is-active .metrics-row article,
.slide.is-active .timeline article,
.slide.is-active .data-table__row {
  animation: block-reveal 680ms cubic-bezier(0.18, 0.74, 0.16, 1) both;
}

.slide.is-active .agenda-item:nth-child(1),
.slide.is-active .card:nth-child(1),
.slide.is-active .panel:nth-child(1),
.slide.is-active .metrics-row article:nth-child(1),
.slide.is-active .timeline article:nth-child(1) { animation-delay: 180ms; }

.slide.is-active .agenda-item:nth-child(2),
.slide.is-active .card:nth-child(2),
.slide.is-active .panel:nth-child(2),
.slide.is-active .metrics-row article:nth-child(2),
.slide.is-active .timeline article:nth-child(2) { animation-delay: 280ms; }

.slide.is-active .agenda-item:nth-child(3),
.slide.is-active .card:nth-child(3),
.slide.is-active .metrics-row article:nth-child(3),
.slide.is-active .timeline article:nth-child(3) { animation-delay: 380ms; }

.slide.is-active .agenda-item:nth-child(4),
.slide.is-active .card:nth-child(4),
.slide.is-active .timeline article:nth-child(4) { animation-delay: 480ms; }

.slide.is-active .data-table__row:nth-child(1) { animation-delay: 300ms; }
.slide.is-active .data-table__row:nth-child(2) { animation-delay: 390ms; }
.slide.is-active .data-table__row:nth-child(3) { animation-delay: 480ms; }
.slide.is-active .data-table__row:nth-child(4) { animation-delay: 570ms; }

.slide.is-active .divider-copy__number,
.slide.is-active .divider-copy .eyebrow {
  animation: soft-fade 600ms ease 140ms both;
}

.slide.is-active .divider-copy h2,
.slide.is-active .closing-copy h2 {
  animation: title-reveal 920ms cubic-bezier(0.16, 0.78, 0.18, 1) 230ms both;
}

.slide.is-active .divider-copy > p:last-child,
.slide.is-active .closing-copy > p:last-child {
  animation: reveal-up 700ms cubic-bezier(0.2, 0.72, 0.2, 1) 520ms both;
}

.slide.is-active .closing-copy .eyebrow {
  animation: soft-fade 620ms ease 150ms both;
}

.slide.is-active .statement__marker {
  animation: marker-grow 650ms cubic-bezier(0.18, 0.78, 0.2, 1) 160ms both;
  transform-origin: left center;
}

.slide.is-active .statement h2 {
  animation: title-reveal 880ms cubic-bezier(0.16, 0.78, 0.18, 1) 260ms both;
}

.slide.is-active .statement p {
  animation: reveal-up 720ms cubic-bezier(0.2, 0.72, 0.2, 1) 520ms both;
}

.slide.is-active .timeline::before {
  animation: timeline-grow 900ms cubic-bezier(0.2, 0.72, 0.2, 1) 210ms both;
  transform-origin: left center;
}

.slide.is-active .status {
  animation: status-pulse 680ms ease 850ms both;
}

@keyframes background-breathe {
  from { transform: scale(1.003) translate3d(0, 0, 0); filter: saturate(0.96); }
  to { transform: scale(1.018) translate3d(-5px, -3px, 0); filter: saturate(1.06); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}

@keyframes soft-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes title-reveal {
  from { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

@keyframes block-reveal {
  from { opacity: 0; transform: translateY(34px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes marker-grow {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes timeline-grow {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes status-pulse {
  0% { transform: scale(0.88); filter: brightness(1.5); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); filter: none; }
}

.controls {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 7, 13, 0.78);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  opacity: 0.18;
  transition: opacity 180ms ease, transform 180ms ease;
}

.controls:hover,
.controls:focus-within {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.controls__button,
.controls__counter {
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.controls__button {
  min-width: 40px;
  font-size: 19px;
}

.controls__button:hover,
.controls__counter:hover {
  background: rgba(255, 255, 255, 0.09);
}

.controls__counter {
  min-width: 82px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.controls__button--text {
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.controls__divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.12);
}

.overview {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: none;
  padding: 28px;
  background: rgba(3, 2, 5, 0.94);
  backdrop-filter: blur(24px);
}

.overview.is-open {
  display: block;
  animation: overview-in 200ms ease both;
}

@keyframes overview-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.overview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1480px;
  margin: 0 auto 22px;
}

.overview__header strong {
  font-size: 22px;
  font-weight: 500;
}

.overview__header button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 26px;
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1480px;
  max-height: calc(100vh - 100px);
  margin: auto;
  padding-bottom: 32px;
  overflow: auto;
}

.overview-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: #09050d;
  cursor: pointer;
  text-align: left;
}

.overview-card:hover,
.overview-card.is-current {
  border-color: rgba(178, 69, 238, 0.9);
  box-shadow: 0 0 28px rgba(178, 69, 238, 0.22);
}

.overview-card__preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: url("bg_1.jpg") center / cover;
}

.overview-card__preview::after {
  content: attr(data-number);
  position: absolute;
  left: 22px;
  top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 38px;
  letter-spacing: -0.05em;
}

.overview-card__label {
  display: flex;
  justify-content: space-between;
  padding: 13px 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

@media (max-width: 900px) {
  .overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls__button--text,
  .controls__divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media print {
  @page { size: 13.333in 7.5in; margin: 0; }

  html,
  body {
    width: auto;
    height: auto;
    overflow: visible;
    background: #fff;
  }

  .viewport,
  .stage,
  .deck {
    position: static;
    width: 1920px;
    height: auto;
    overflow: visible;
    transform: none;
    box-shadow: none;
  }

  .slide,
  .slide.is-active {
    position: relative;
    display: block;
    width: 1920px;
    height: 1080px;
    animation: none;
    break-after: page;
    page-break-after: always;
  }

  .slide *,
  .slide *::before,
  .slide *::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }

  .controls,
  .overview { display: none !important; }
}
