:root {
  --navy: #0b1f3a;
  --gold: #e0a000;
  --ink: #1c2838;
  --muted: #5c6b7a;
  --line: #d5dee7;
  --off: #f4f7fa;
  --white: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Calibri, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #071422;
}
.topbar, .controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #d5e0ea;
}
.topbar { height: 64px; padding: 0 22px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 36px; height: 38px; object-fit: contain; }
.brand strong { display: block; color: white; font-size: 15px; }
.brand span, .hint { color: #9aafc3; font-size: 13px; }
.progress { height: 3px; background: #14365c; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #b8860b, var(--gold)); transition: width .45s ease; }
#stage {
  height: calc(100vh - 131px);
  height: calc(100dvh - 131px);
  margin: 0 16px;
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(224, 160, 0, .08), transparent 60%),
    var(--off);
  border-radius: 14px;
  overflow: auto;
  position: relative;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}
#stage::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--gold);
}
.slide { padding: 28px 36px 24px 44px; min-height: 100%; animation: rise .4s ease; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.unit-grid article, .people article, .metrics article, .photo-row figure,
.point-row p, .cert-row figure, .pmi-line article, .docs article,
.chips span, .start-grid article {
  animation: rise .5s ease both;
}
.unit-grid article:nth-child(2), .people article:nth-child(2), .photo-row figure:nth-child(2), .point-row p:nth-child(2), .cert-row figure:nth-child(2), .pmi-line article:nth-child(2), .docs article:nth-child(2), .chips span:nth-child(2) { animation-delay: .06s; }
.unit-grid article:nth-child(3), .people article:nth-child(3), .photo-row figure:nth-child(3), .point-row p:nth-child(3), .cert-row figure:nth-child(3), .pmi-line article:nth-child(3), .docs article:nth-child(3), .chips span:nth-child(3), .metrics article:nth-child(2) { animation-delay: .12s; }
.unit-grid article:nth-child(4), .people article:nth-child(4), .cert-row figure:nth-child(4), .pmi-line article:nth-child(4), .docs article:nth-child(4), .chips span:nth-child(4), .metrics article:nth-child(3) { animation-delay: .18s; }
.unit-grid article:nth-child(n + 5), .people article:nth-child(n + 5), .cert-row figure:nth-child(n + 5), .docs article:nth-child(5) { animation-delay: .24s; }
.hero img { animation: drift 16s ease-out both; }
@keyframes drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 { margin: 0; color: var(--navy); font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.lead { margin: 10px 0 0; color: var(--muted); font-size: 16px; max-width: 980px; }
.cover-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.cover-split h1 { font-size: clamp(34px, 3.6vw, 52px); }
.cover-split .lead { font-size: 18px; color: #3d4d5e; }
.hero img { width: 100%; height: min(58vh, 460px); object-fit: cover; object-position: center 20%; border-radius: 14px; display: block; }
.hero figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.cert-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.cert-row figure { width: calc(33.33% - 12px); margin: 0; }
.cert-row img { width: 100%; height: 188px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: block; }
.cert-row figcaption { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.photo-row:has(> :last-child:nth-child(2)) { grid-template-columns: 1fr 1fr; }
.photo-row:has(> :last-child:nth-child(2)) img { object-fit: contain; background: #e7eef5; height: 340px; }
.photo-row img { width: 100%; height: 300px; object-fit: cover; object-position: center; border-radius: 12px; display: block; background: #d9e1ea; transition: transform .55s ease; }
.photo-row figure:hover img { transform: scale(1.045); }
.photo-row figcaption { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.point-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.point-row:has(> :last-child:nth-child(2)) { grid-template-columns: 1fr 1fr; }
.point-row p { margin: 0; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.proof-photos img { height: 200px; }
.point-row strong { color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips span {
  background: var(--navy);
  color: white;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}
.facts { margin-top: 28px; color: var(--navy); font-size: 16px; font-weight: 700; }
.unit-grid, .people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.people { grid-template-columns: repeat(3, 1fr); }
.unit-grid article, .people article, .metrics article, .start-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.unit-grid article:hover, .people article:hover, .start-list article:hover, .docs article:hover, .pmi-line article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 31, 58, .1);
}
.unit-grid div { display: flex; align-items: center; gap: 8px; }
.unit-grid b, .steps b, .start-list b {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--navy);
  color: var(--gold);
  flex: none;
}
h2 { margin: 0; color: var(--navy); font-size: 16px; }
.unit-grid p, .people p, .steps p, .start-list p { margin: 8px 0 0; font-size: 14px; line-height: 1.35; }
.people h2 { color: var(--gold); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.people h3 { margin: 6px 0 0; color: var(--navy); font-size: 16px; }
.banner, .foot-card, .lead-band, .contact, .proof-grid aside, .split aside {
  background: var(--navy);
  color: white;
  border-radius: 12px;
}
.banner { margin: 14px 0 0; padding: 14px 16px; font-size: 16px; font-weight: 700; }
.table-wrap { margin-top: 16px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--navy); color: white; text-align: left; font-size: 14px; }
td { font-size: 15px; }
th, td { padding: 12px 14px; vertical-align: top; }
tbody tr:nth-child(even) { background: #eef3f8; }
td.strong { color: var(--navy); font-weight: 700; width: 18%; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.metrics strong { color: var(--gold); font-size: 36px; line-height: 1; }
.metrics span { display: block; margin-top: 4px; color: var(--navy); font-weight: 700; }
.proof-grid { display: grid; grid-template-columns: 220px minmax(280px, 1.15fr) 1fr; gap: 12px; margin-top: 12px; align-items: start; }
.proof-grid img { width: 100%; height: 280px; object-fit: cover; object-position: center; border-radius: 10px; background: #d9e1ea; display: block; }
.proof-grid figcaption, .foot-card p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.proof-grid aside, .split aside { padding: 16px; }
.proof-grid aside h2, .split aside h2 { color: var(--gold); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.proof-grid aside p, .split aside p { margin: 6px 0 12px; }
.foot-card { margin-top: 12px; padding: 12px 16px; background: white; border: 1px solid var(--line); color: var(--ink); }
.foot-card p:first-child { margin-top: 0; color: var(--ink); }
.lead-band { display: flex; justify-content: space-between; gap: 24px; margin-top: 14px; padding: 16px 18px; }
.lead-band p { margin: 0; max-width: 760px; }
.lead-band ol { margin: 0; padding-left: 18px; color: var(--gold); font-weight: 700; }
.lead-band li + li { margin-top: 4px; }
.steps { display: grid; gap: 8px; margin-top: 14px; }
.steps article, .start-list article { display: flex; gap: 12px; align-items: center; }
.start-list { display: grid; gap: 10px; margin-top: 16px; }
.start-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.start-grid article { flex-direction: column; align-items: flex-start; height: 100%; }
.pmi-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 16px; }
.pmi-line article { position: relative; background: white; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 12px 12px 14px; }
.pmi-line article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 28px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(45deg);
}
.pmi-line b { color: var(--gold); font-size: 12px; letter-spacing: .06em; }
.pmi-line h2 { margin-top: 4px; font-size: 16px; }
.pmi-line p { margin: 6px 0 0; font-size: 13px; line-height: 1.35; }
.pmi-control { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 12px 16px; background: var(--navy); color: white; border-radius: 12px; }
.pmi-control b { color: var(--gold); letter-spacing: .04em; text-transform: uppercase; font-size: 12px; flex: none; }
.pmi-control p { margin: 0; }
.docs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.docs article { background: white; border-left: 3px solid var(--gold); border-radius: 8px; padding: 10px 10px 12px; }
.docs h2 { font-size: 13px; }
.docs p { margin: 4px 0 0; font-size: 12px; line-height: 1.35; color: var(--muted); }
.start-list h2 { font-size: 18px; }
.split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; margin-top: 16px; }
.split ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.split li { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.split .big { font-size: 26px; font-weight: 700; line-height: 1.15; }
.split .soft { color: #d5e0ea; }
.contact { margin-top: 16px; padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.contact p { margin: 0; }
.contact span, .contact strong { display: block; }
.contact .gold { color: var(--gold); text-align: right; }
.controls { height: 64px; padding: 0 22px; }
.controls button {
  border: 0;
  background: #14365c;
  color: white;
  border-radius: 8px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.controls button:hover { background: #1d4b7c; transform: translateY(-1px); }
#next:hover { background: var(--gold); color: var(--navy); }
#dots { display: flex; gap: 6px; align-items: center; }
#dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; background: #35516f; transition: width .25s ease, background .25s ease; }
#dots button.is-on { width: 22px; border-radius: 999px; background: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 900px) {
  .unit-grid, .people, .metrics, .proof-grid, .split, .contact, .cover-split, .photo-row, .point-row, .pmi-line, .docs, .start-grid { grid-template-columns: 1fr; }
  .pmi-line article:not(:last-child)::after { display: none; }
  .pmi-control { display: block; }
  .cert-row figure { width: 100%; }
  .photo-row img, .hero img, .proof-photos img { height: 220px; }
  .proof-grid img { height: 220px; }
  .lead-band, .contact .gold { display: block; text-align: left; }
  .hint { display: none; }
  .slide { padding: 22px 18px 18px 24px; }
  h1, .cover h1 { font-size: 30px; }
}
