@font-face {
  font-family: "Inter var";
  src: url("assets/brand/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f3ec;
  --paper-2: #ece7dc;
  --ink: #0a1526;
  --muted: #5b6677;
  --navy: #00294f;
  --navy-2: #0a3a63;
  --amber: #f5a524;
  --amber-2: #ffc45c;
  --amber-ink: #7a3f00;
  --green: #0b6b4c;
  --red: #c0392b;
  --line: #e1dacb;
  --white: #fff;
  --chrome-h: 64px;
  --pad: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(.22, .75, .2, 1);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--navy);
  color: var(--ink);
  font-family: "Inter var", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
h1, h2, p, ul, ol, dl, dd, dt, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--amber); color: var(--ink); }

/* ---------- chrome ---------- */

.chrome {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--chrome-h);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: 0 clamp(16px, 3vw, 36px);
  background: rgba(246, 243, 236, .86);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid rgba(225, 218, 203, .9);
}

.chrome-brand { display: flex; align-items: center; }
.chrome-brand img { width: auto; height: 30px; }

.chrome-track {
  flex: 1;
  height: 2px;
  background: rgba(225, 218, 203, .8);
  position: relative;
  overflow: hidden;
}

.chrome-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform: scaleX(0);
  transform-origin: left;
}

.dots { display: flex; gap: 6px; }

.dots button {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.dots button::after {
  content: "";
  position: absolute;
  inset: 8px 0;
  border-radius: 2px;
  background: #cec6b6;
  transition: background .3s var(--ease), inset .3s var(--ease);
}

.dots button:hover::after { background: #a99f8c; }
.dots button[aria-current="true"]::after { background: var(--amber); inset: 6px 0; }
.dots button:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }

.chrome-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: var(--muted);
}

.chrome-count span:first-child { color: var(--ink); font-weight: 700; }
.chrome-count i { font-style: normal; color: #b2a894; }

.chrome-full {
  width: 38px;
  height: 38px;
  flex: none;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .55);
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.chrome-full:hover { color: var(--ink); border-color: #c9c0ae; background: #fff; transform: translateY(-1px); }
.chrome-full:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.chrome-full svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chrome-full svg[hidden] { display: none; }

/* ---------- fixed stage ---------- */

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
  height: 100vh;
  overflow-x: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
}

.panels {
  position: absolute;
  inset: 0;
}

.panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: calc(var(--chrome-h) + clamp(22px, 3.6vh, 44px)) var(--pad) clamp(46px, 7vh, 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 88% 6%, rgba(245, 165, 36, .11), transparent 44%),
    radial-gradient(ellipse at 4% 94%, rgba(0, 41, 79, .06), transparent 46%),
    var(--paper);
}

.panel.is-under,
.panel.is-upper,
.panel.is-live { visibility: visible; }
.panel.is-under { z-index: 1; }
.panel.is-upper { z-index: 2; }
.panel.is-live { pointer-events: auto; }
.panel[aria-hidden="true"] { pointer-events: none; }
.panel.is-moving { will-change: transform, opacity, clip-path; }
.panel.is-moving .panel-inner { will-change: transform, opacity, filter, clip-path; }

/* transition overlay: full-viewport masks, panels, light, SVG */
.fx {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  pointer-events: none;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.fx-set {
  position: absolute;
  inset: 0;
  display: none;
  transform-style: preserve-3d;
}

.fx-set.is-on { display: block; }

.fx-strip,
.fx-diag {
  position: absolute;
  top: -12%;
  height: 124%;
  border-right: 1px solid rgba(0, 41, 79, .12);
  box-shadow: 0 0 40px rgba(0, 0, 0, .05);
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.fx-strip { width: 20.5%; }

.fx-strip::before,
.fx-diag::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 38%;
  height: 1px;
  background: currentColor;
  opacity: .11;
  box-shadow: 0 12px 0 -.5px currentColor, 0 24px 0 -.5px currentColor;
}

.fx-strip::after,
.fx-diag::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #f5a524 18%, #f5a524 82%, transparent);
  opacity: .55;
}

.fx-diag {
  width: 27%;
  top: -20%;
  height: 140%;
  transform: skewY(-10deg);
  transform-origin: center;
}

.fx-sweep {
  position: absolute;
  top: -24%;
  left: 0;
  width: 34%;
  height: 148%;
  transform: skewX(-14deg);
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(255, 255, 255, .05) 24%,
    rgba(255, 255, 255, .92) 42%,
    rgba(245, 165, 36, .62) 53%,
    rgba(255, 255, 255, .08) 68%,
    transparent 100%);
  filter: blur(1px);
  mix-blend-mode: screen;
}

.fx-glow {
  position: absolute;
  width: 52vmax;
  height: 52vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 165, 36, .42), rgba(245, 165, 36, .10) 42%, transparent 68%);
  transform: translate(-50%, -50%);
}

.fx-ring {
  position: absolute;
  width: 34vmax;
  height: 34vmax;
  border-radius: 50%;
  border: 1px solid rgba(245, 165, 36, .65);
  box-shadow: 0 0 80px rgba(245, 165, 36, .18), inset 0 0 60px rgba(245, 165, 36, .12);
  transform: translate(-50%, -50%);
}

.fx-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fx-liquid-edge {
  fill: none;
  stroke: rgba(245, 165, 36, .72);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 12px rgba(245, 165, 36, .45));
}

.fx-flash {
  position: absolute;
  border-radius: 15px;
  background: linear-gradient(135deg, #fff 0%, #fff6e4 46%, #ffc45c 100%);
  box-shadow: 0 0 60px rgba(245, 165, 36, .45);
}

.fx-beam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 80vmax;
  background: linear-gradient(180deg, transparent, rgba(245, 165, 36, .65), rgba(255, 255, 255, .12), transparent);
  transform-origin: center;
  filter: blur(.4px);
}

.fx-cut {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(245, 165, 36, .18), transparent 42%),
    linear-gradient(145deg, #0a3a63, #001a30 68%);
}

.fx-cut::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36vw;
  height: 1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(245, 165, 36, .75), transparent);
}

.word {
  display: inline-block;
  transform-origin: 0 100%;
}

.panel.is-moving .word { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .fx { display: none; }
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 41, 79, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 41, 79, .05) 1px, transparent 1px);
  background-size: clamp(58px, 6vw, 88px) clamp(58px, 6vw, 88px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 42%, #000 0%, transparent 76%);
}

.panel::after {
  content: attr(data-screen);
  position: absolute;
  right: clamp(8px, 2.5vw, 34px);
  bottom: clamp(-18px, -.5vh, 0px);
  z-index: 0;
  font-size: clamp(10rem, 21vw, 21rem);
  font-weight: 800;
  line-height: .72;
  letter-spacing: -.08em;
  color: rgba(0, 41, 79, .035);
  pointer-events: none;
  user-select: none;
}

.panel-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.panel--dark { color: #eef3f8; }
.panel--dark::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
}
.panel--dark::after { color: rgba(255, 255, 255, .045); }

/* ---------- typography ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber-ink);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--amber);
  flex: none;
}

h2 {
  font-size: clamp(2.7rem, 4.7vw, 5rem);
  line-height: .95;
  letter-spacing: -.045em;
  font-weight: 800;
  margin: 12px 0 0;
  max-width: 16ch;
}

.lead {
  font-size: clamp(1.05rem, 1.25vw, 1.28rem);
  line-height: 1.55;
  color: #354052;
  max-width: 42ch;
}

.copy h2 + .lead { margin-top: 15px; }

.note {
  margin-top: 16px;
  padding-left: 13px;
  border-left: 2px solid var(--amber);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.section-head .lead { padding-bottom: 7px; }

.stack { display: grid; gap: clamp(18px, 3vh, 32px); }

/* ---------- cover ---------- */

.panel--cover {
  background: linear-gradient(135deg, #17496f, #00294f 58%, #001d38);
  color: #f6f2e9;
  box-shadow: inset 0 0 200px rgba(0, 0, 0, .45);
}

.panel--cover::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 60%;
  z-index: 0;
  background: url("assets/brand/banjarbaru.jpg") center 78% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  opacity: var(--photo-opacity, .9);
  transition: opacity .28s ease;
  animation: coverDrift 26s ease-in-out infinite alternate;
}

.panel--cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 24, 46, .9) 0%, rgba(0, 29, 56, .62) 46%, rgba(0, 29, 56, .18) 100%),
    radial-gradient(circle at 16% 20%, rgba(0, 18, 36, .5), transparent 56%);
  pointer-events: none;
}

@keyframes coverDrift {
  from { transform: scale(1.02); }
  to { transform: scale(1.07) translateY(-1%); }
}


.cover-grid {
  max-width: 1260px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(26px, 3.4vw, 58px);
  align-items: center;
}

.cover-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.4vh, 26px);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .5));
}

.cover-logo img { width: auto; height: clamp(42px, 4.4vw, 64px); }

.panel--cover .eyebrow { color: #f7c66b; }
.panel--cover .eyebrow::before { background: #f7c66b; }

.cover-title {
  font-size: clamp(3rem, 5.9vw, 5.9rem);
  line-height: .93;
  letter-spacing: -.05em;
  font-weight: 800;
  max-width: 12ch;
  margin: 14px 0 22px;
  background: linear-gradient(180deg, #fff 30%, #d5e2f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cover-sub {
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  line-height: 1.45;
  max-width: 34ch;
  color: #dfe7f1;
}

.cover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 30px 0 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 14px;
  letter-spacing: .02em;
  color: #d3dfec;
  max-width: 680px;
}

.cover-meta li { display: flex; align-items: center; gap: 9px; }
.cover-meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--amber);
}

.scroll-hint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .03em;
  color: #a9bdd3;
}

.hint-line {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  animation: hintPulse 2.4s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: .35; transform: scaleX(.6); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

.key {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 11px;
  color: #f6f2e9;
}

/* cover devices */

.cover-devices { position: relative; isolation: isolate; }

.cover-devices::before {
  content: "";
  position: absolute;
  inset: -7% -5% -10% -8%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 30px;
  transform: rotate(-2deg);
}

.cover-devices::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -38px;
  z-index: -1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 165, 36, .3), transparent 68%);
  filter: blur(6px);
}

.device { margin: 0; }

.device--laptop {
  padding: 11px 11px 0;
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(180deg, #2b3545, #131a24);
  box-shadow: 0 36px 70px -28px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .14);
}

.device--laptop .device-screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.device--laptop img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.device-base {
  position: relative;
  height: 13px;
  margin: 0 -24px;
  background: linear-gradient(#dbe3ec, #9aa7b8);
  border-radius: 0 0 10px 10px;
}

.device-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 70px;
  height: 5px;
  transform: translateX(-50%);
  background: #7e8a9b;
  border-radius: 0 0 5px 5px;
}

.device--phone {
  position: absolute;
  left: -30px;
  bottom: -14px;
  width: clamp(96px, 9.2vw, 132px);
  padding: 6px;
  border-radius: 20px;
  background: #111823;
  box-shadow: 0 26px 46px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .16);
}

.device--phone .device-screen {
  aspect-ratio: 414 / 896;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
}

.device--phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.device--phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 4px;
  border-radius: 3px;
  background: #0a0f16;
  z-index: 2;
}

/* ---------- roles ---------- */

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  counter-reset: role;
}

.role-grid li {
  position: relative;
  overflow: hidden;
  counter-increment: role;
  padding: clamp(18px, 2vw, 28px);
  min-height: clamp(170px, 22vh, 220px);
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 44px -36px rgba(11, 18, 32, .3);
}

.role-grid li::before {
  content: "0" counter(role);
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: clamp(3.4rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  color: rgba(0, 41, 79, .055);
}

.role-grid li::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), rgba(245, 165, 36, 0));
}

.role-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-ink);
  background: #fff2dc;
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: 16px;
}

.role-grid strong {
  display: block;
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 9px;
}

.role-grid p { font-size: 15px; line-height: 1.5; color: #4a5462; }

/* ---------- steps timeline ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 20px);
}

.steps::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 27px;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 165, 36, .15), var(--amber), rgba(245, 165, 36, .15));
}

.steps li { position: relative; padding-top: 58px; }

.steps span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #dacfb9;
  background: var(--paper);
  box-shadow: 0 0 0 7px var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--amber-ink);
}

.steps li:first-child span,
.steps li:last-child span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.steps strong {
  display: block;
  font-size: clamp(1.1rem, 1.35vw, 1.4rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 7px;
}

.steps p { font-size: 14px; line-height: 1.45; color: #4a5462; }

/* ---------- split layouts ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 4.4vw, 76px);
  align-items: center;
}

.split--media { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.split--media.split--reverse { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.split--reverse > .shot { order: -1; }
.split .copy { max-width: 610px; }

/* ---------- facts / check / reference ---------- */

.facts { display: grid; gap: 13px; margin-top: 22px; max-width: 48ch; }

.facts li {
  font-size: 15.5px;
  line-height: 1.5;
  color: #38414f;
  padding-left: 15px;
  border-left: 1px solid #d8cfbd;
}

.facts li strong { color: var(--ink); }

.facts--tight { margin-top: 18px; gap: 10px; }
.facts--tight li { font-size: 14.5px; }

.check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin-top: 22px;
  max-width: 620px;
}

.check li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.45;
  color: #38414f;
}

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: #fff2dc;
  border: 1px solid #eeb44b;
}

.check li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 5.5px;
  width: 4.5px;
  height: 8px;
  border: solid var(--amber-ink);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(42deg);
}

.ref-list { margin-top: 24px; max-width: 520px; }

.ref-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.ref-list li:last-child { border-bottom: 1px solid var(--line); }

.ref-list span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--amber-ink);
}

.ref-list p { font-size: 15.5px; line-height: 1.45; color: #38414f; }

/* ---------- screenshots ---------- */

.shot {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -48px rgba(11, 18, 32, .46),
    0 2px 0 rgba(255, 255, 255, .8) inset;
  transform-origin: center;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid #eef0f4;
  background: #fbfbfc;
}

.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d8d5ce; }

.shot-bar span {
  margin-left: 8px;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: #7a8494;
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.shot--crop img { aspect-ratio: 16 / 7; }

.shot--paper {
  box-shadow:
    12px 12px 0 -1px #fff,
    13px 13px 0 0 var(--line),
    20px 20px 0 -1px rgba(255, 255, 255, .55),
    21px 21px 0 0 rgba(225, 218, 203, .65),
    0 40px 80px -48px rgba(11, 18, 32, .46);
}

.file-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 7px;
  background: var(--amber);
  color: #3d2400;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px -10px rgba(122, 63, 0, .6);
}

/* mirror slides need room for the paper stack */
.split--reverse > .shot--paper { margin-left: 10px; }

/* ---------- verification (dark) ---------- */

.panel--verify {
  background:
    radial-gradient(ellipse at 88% 0%, rgba(245, 165, 36, .16), transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(31, 94, 145, .5), transparent 52%),
    linear-gradient(155deg, #062f53, #001a30 72%);
  box-shadow: inset 0 0 180px rgba(0, 0, 0, .32);
}

.panel--verify .lead { color: #c8d7e6; }
.panel--verify .eyebrow { color: #f7c66b; }
.panel--verify h2 { color: #fff; max-width: 18ch; }

.status-list { margin-top: 22px; display: grid; gap: 10px; max-width: 540px; }

.status {
  position: relative;
  display: grid;
  grid-template-columns: 14px minmax(112px, auto) 1fr;
  align-items: center;
  gap: 4px 12px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(6px);
}

.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .06);
}

.status--wait::before { background: var(--amber); }
.status--ok::before { background: #36c98f; }
.status--off::before { background: #ff7a6a; }

.status dt { font-size: 14px; font-weight: 700; letter-spacing: .03em; color: #fff; }
.status span { font-size: 13.5px; color: #aebfd0; }

.panel--verify .note { color: #9fb3c8; border-color: var(--amber); }

.panel--verify .shot {
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 50px 90px -34px rgba(0, 0, 0, .75);
}

.panel--verify .shot-bar { background: #f8fafc; }

/* ---------- owner ---------- */

.ratio {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 14px 28px -24px rgba(11, 18, 32, .4);
}

.ratio-node {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ratio-node strong { font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); }
.ratio-node--many strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.ratio-arrow { color: var(--amber-ink); font-size: 14px; }

/* ---------- data flow (slide 8) ---------- */

.panel--flow { align-items: stretch; }

.panel--flow .panel-inner.flow {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vh, 22px);
  min-height: 0;
}

.flow-head {
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: end;
}

.flow-head h2 {
  max-width: 15ch;
  font-size: clamp(2.15rem, 3.5vw, 3.8rem);
  margin-top: 10px;
}

.flow-head-side { display: flex; flex-direction: column; gap: 7px; padding-bottom: 3px; }
.flow-head .lead { max-width: 42ch; }

.flow-context {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a8171;
}

.flow-board {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns:
    minmax(0, 1.03fr) clamp(20px, 2.5vw, 42px)
    minmax(0, .97fr) clamp(20px, 2.5vw, 42px)
    minmax(0, 1.05fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .48);
  box-shadow:
    0 30px 70px -52px rgba(11, 18, 32, .55),
    0 1px 0 rgba(255, 255, 255, .9) inset;
  overflow: hidden;
}

.flow-stage {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  padding: clamp(12px, 1.35vw, 22px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.flow-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: transparent;
  transition: background .35s var(--ease);
}

.flow-stage--input { background: linear-gradient(180deg, #fff, #fdfbf7); }
.flow-stage--check {
  background:
    radial-gradient(ellipse at 88% 0%, rgba(245, 165, 36, .14), transparent 44%),
    linear-gradient(155deg, #073357, #001a30 76%);
  color: #eef3f8;
}
.flow-stage--verify { background: #fff; }

.flow-stage.is-active::before { background: var(--amber); }
.flow-stage--check.is-active::before { background: #36c98f; }
.flow-stage--verify.is-active::before { background: var(--green); }

.flow-stage-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid #ece6d9;
}

.flow-wait {
  position: absolute;
  inset: 72px 14px 44px;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  pointer-events: none;
  color: #9fb3c8;
}

.flow-wait b { font-size: 10px; font-weight: 650; letter-spacing: .02em; }
.flow-wait small { max-width: 24ch; font-size: 8px; line-height: 1.4; color: #7f97ad; }

.flow-wait-icon {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .55;
}

.flow-wait-icon::before,
.flow-wait-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom center;
}

.flow-wait-icon::before { width: 1px; height: 5px; transform: translate(-50%, -100%); }
.flow-wait-icon::after { width: 1px; height: 4px; transform: translate(-50%, -100%) rotate(120deg); }

.flow-wait--light { color: #a49a88; }
.flow-wait--light small { color: #8b8272; }

.flow-stage--check .flow-stage-head { border-color: rgba(255, 255, 255, .14); }

.flow-step {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .78);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--amber-ink);
}

.flow-stage--check .flow-step {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
  color: #f7c66b;
}

.flow-stage-head h3 {
  font-size: clamp(12px, .86vw, 15px);
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 750;
}

.flow-stage-head p {
  margin-top: 2px;
  font-size: clamp(9px, .62vw, 10.5px);
  line-height: 1.35;
  color: var(--muted);
}

.flow-stage--check .flow-stage-head p { color: #9fb3c8; }

.flow-state {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .7);
  font-size: clamp(7.5px, .5vw, 8.5px);
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #7d7464;
  white-space: nowrap;
}

.flow-stage--check .flow-state {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #c5d5e4;
}

.flow-state.is-working { border-color: rgba(245, 165, 36, .55); background: #fff2dc; color: var(--amber-ink); }
.flow-state.is-ok { border-color: rgba(11, 107, 76, .32); background: #e7f5ef; color: var(--green); }
.flow-stage--check .flow-state.is-working { border-color: rgba(245, 165, 36, .55); background: rgba(245, 165, 36, .12); color: #ffd493; }
.flow-stage--check .flow-state.is-ok { border-color: rgba(54, 201, 143, .38); background: rgba(54, 201, 143, .12); color: #7ee2b8; }

/* input stage */

.flow-form { margin-top: 11px; }

.flow-field {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  min-height: 30px;
  padding: 6px 0;
  border-bottom: 1px solid #efe9dd;
}

.flow-label {
  font-size: clamp(7.5px, .5vw, 8.8px);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8b8272;
}

.flow-value {
  min-height: 1.25em;
  font-size: clamp(11px, .78vw, 13px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.flow-field.is-typing .flow-value::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -.12em;
  background: var(--amber);
  animation: flowBlink .75s steps(1) infinite;
}

@keyframes flowBlink { 50% { opacity: 0; } }

.flow-completion { margin-top: 10px; }

.flow-completion-meta,
.flow-field-count {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.flow-completion-meta span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7d7464;
}

.flow-completion-meta b {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.flow-meter {
  height: 4px;
  margin-top: 5px;
  border-radius: 999px;
  background: #eee7d9;
  overflow: hidden;
}

.flow-meter i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform: scaleX(0);
  transform-origin: left;
}

.flow-field-count {
  margin-top: 5px;
  font-size: 8.5px;
  color: #8b8272;
}

.flow-saved { color: var(--amber-ink); }
.flow-saved.is-saved { color: var(--green); }

.flow-save {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(28px, 3.2vh, 36px);
  margin-top: auto;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: clamp(10px, .68vw, 11.5px);
  font-weight: 700;
  letter-spacing: .015em;
  box-shadow: 0 10px 22px -16px rgba(0, 41, 79, .8);
  opacity: .55;
}

.flow-save.is-hot {
  background: var(--navy-2);
  box-shadow: 0 0 0 3px rgba(245, 165, 36, .32), 0 10px 24px -12px rgba(0, 41, 79, .75);
}

.flow-save.is-pressed { background: var(--green); }

/* connector */

.flow-connector {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.flow-connector::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #ddd4c3;
}

.flow-connector svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 20px;
  overflow: visible;
}

.flow-path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* checking stage */

.flow-record {
  position: relative;
  margin-top: 10px;
  padding: 8px 10px 9px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
  overflow: hidden;
}

.flow-record-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.flow-record-id {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  color: #f7c66b;
}

.flow-record-meta { font-size: 7.5px; letter-spacing: .06em; color: #91a8bd; }

.flow-record-new {
  margin-left: auto;
  padding: 2px 5px;
  border: 1px solid rgba(247, 198, 107, .36);
  border-radius: 3px;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .09em;
  color: #f7c66b;
}

.flow-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
  padding-top: 6px;
}

.flow-record-grid span {
  display: block;
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8fa6bb;
}

.flow-record-grid b {
  display: block;
  margin-top: 1px;
  font-size: clamp(9.5px, .68vw, 11.5px);
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-record-grid b.is-fixed { color: #7ee2b8; }

.flow-scanner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(245, 165, 36, .8));
}

.flow-scanner line { vector-effect: non-scaling-stroke; }

.flow-checks { margin-top: 8px; }

.flow-checks li,
.flow-verify li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: clamp(9px, .64vw, 11px);
  color: #dce7f1;
}

.flow-checks li:first-child, .flow-verify li:first-child { border-top: 0; }

.flow-checks em {
  font-style: normal;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8fa6bb;
  white-space: nowrap;
}

.flow-checks li.is-ok em, .flow-verify li.is-ok b { color: #7ee2b8; }
.flow-checks li.is-warn em { color: #ffd493; }
.flow-checks li.is-manual em { color: #b9cbe0; }

.flow-check-icon {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #70879d;
  opacity: .55;
}

.flow-check-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2.5px;
  width: 4px;
  height: 2.5px;
  border-left: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
}

li.is-ok .flow-check-icon {
  border-color: #36c98f;
  background: rgba(54, 201, 143, .16);
  color: #7ee2b8;
  opacity: 1;
}

li.is-ok .flow-check-icon::after { transform: rotate(-45deg) scale(1); }

li.is-warn .flow-check-icon {
  border-color: #f5a524;
  background: rgba(245, 165, 36, .16);
  color: #ffd493;
  opacity: 1;
}

li.is-warn .flow-check-icon::after {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  width: auto;
  height: auto;
  transform: none;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.flow-warning {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(245, 165, 36, .42);
  border-radius: 7px;
  background: rgba(245, 165, 36, .1);
  opacity: 0;
  visibility: hidden;
}

.flow-warning b {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffd493;
}

.flow-warning small {
  display: block;
  margin-top: 1px;
  font-size: 7.5px;
  line-height: 1.3;
  color: #b9cbe0;
}

.flow-warning-icon {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(245, 165, 36, .2);
  color: #ffd493;
  font-size: 9px;
  font-weight: 800;
}

.flow-fix {
  padding: 3px 5px;
  border: 1px solid rgba(245, 165, 36, .45);
  border-radius: 4px;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffd493;
  white-space: nowrap;
}

.flow-warning.is-fixed {
  border-color: rgba(54, 201, 143, .38);
  background: rgba(54, 201, 143, .1);
}

.flow-warning.is-fixed b, .flow-warning.is-fixed .flow-warning-icon { color: #7ee2b8; }
.flow-warning.is-fixed .flow-warning-icon { background: rgba(54, 201, 143, .18); }
.flow-warning.is-fixed .flow-fix { border-color: rgba(54, 201, 143, .4); color: #7ee2b8; }

.flow-progress { margin-top: auto; padding-top: 7px; }

.flow-progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8fa6bb;
}

.flow-progress-meta b { font-size: 9.5px; color: #fff; font-variant-numeric: tabular-nums; }
.flow-meter--dark { background: rgba(255, 255, 255, .12); }
.flow-meter--dark i { background: linear-gradient(90deg, #36c98f, #9ff0cc); }

/* verification stage */

.flow-summary {
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid #ebe5d8;
  border-radius: 10px;
  background: #fcfaf6;
}

.flow-summary-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b8272;
}

.flow-summary-top em { font-style: normal; color: var(--amber-ink); }
.flow-summary-name { display: block; margin-top: 4px; font-size: clamp(14px, 1vw, 17px); letter-spacing: -.02em; }

.flow-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 10px;
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid #eee7da;
}

.flow-summary-grid span {
  display: block;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8b8272;
}

.flow-summary-grid b {
  display: block;
  margin-top: 1px;
  font-size: clamp(9.5px, .66vw, 11px);
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-verify { margin-top: 8px; }

.flow-verify li {
  border-color: #efe9dd;
  color: #3c4554;
  padding: 4px 0;
  font-size: clamp(9px, .64vw, 10.5px);
}

.flow-verify .flow-check-icon { color: #8b8272; }
.flow-verify b {
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}

.flow-reviewer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #eee7da;
}

.flow-avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .03em;
}

.flow-reviewer-copy { min-width: 0; }
.flow-reviewer-copy b { display: block; font-size: 9px; line-height: 1.2; }
.flow-reviewer-copy span { display: block; margin-top: 1px; font-size: 7.5px; color: #8b8272; }

.flow-verify-btn {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .03em;
  white-space: nowrap;
  opacity: .55;
}

.flow-verify-btn.is-hot {
  background: var(--navy-2);
  box-shadow: 0 0 0 2px rgba(245, 165, 36, .3);
}

.flow-verify-btn.is-pressed { background: var(--green); }

.flow-result {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #eee7da;
}

.flow-status {
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid #e2d9c8;
  border-radius: 4px;
  background: #f5f0e6;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .09em;
  color: #7d7464;
}

.flow-status.is-verified {
  border-color: rgba(11, 107, 76, .32);
  background: #e7f5ef;
  color: var(--green);
}

.flow-result-note {
  margin-top: 4px;
  max-width: 20ch;
  font-size: 7.5px;
  line-height: 1.35;
  color: #8b8272;
}

.flow-stamp {
  display: grid;
  place-items: center;
  width: clamp(54px, 4.2vw, 66px);
  height: clamp(54px, 4.2vw, 66px);
  flex: none;
  border: 1.5px solid rgba(11, 107, 76, .55);
  border-radius: 50%;
  color: var(--green);
  text-align: center;
  transform: rotate(-9deg) scale(.65);
  opacity: 0;
}

.flow-stamp b { display: block; font-size: 6.5px; line-height: 1.15; letter-spacing: .04em; }
.flow-stamp small { display: block; margin-top: 2px; font-size: 5.5px; letter-spacing: .08em; color: #4f7e6e; }

/* verified database overlay */

.flow-final {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.3vh, 14px);
  padding: clamp(16px, 2vw, 30px);
  background:
    radial-gradient(ellipse at 88% 0%, rgba(245, 165, 36, .16), transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(31, 94, 145, .38), transparent 56%),
    linear-gradient(155deg, #062f53, #001a30 76%);
  color: #eef3f8;
  clip-path: inset(0 0 0 100%);
  pointer-events: none;
}

.flow-final-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.flow-final-kicker {
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #f7c66b;
}

.flow-final-head h3 {
  margin-top: 3px;
  font-size: clamp(1.15rem, 1.7vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #fff;
}

.flow-final-head p { margin-top: 3px; max-width: 46ch; font-size: 9.5px; line-height: 1.4; color: #b9cbe0; }

.flow-total { text-align: right; flex: none; }
.flow-total b { display: block; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: .85; letter-spacing: -.055em; color: #fff; font-variant-numeric: tabular-nums; }
.flow-total span { display: block; margin-top: 3px; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f7c66b; }
.flow-total em { display: block; margin-top: 1px; font-style: normal; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; color: #8fa6bb; }

.flow-final-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .45fr);
  gap: 12px;
}

.flow-table-wrap {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.flow-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  font-size: clamp(10px, .8vw, 13px);
}

.flow-table th {
  padding: 8px 11px;
  text-align: left;
  font-size: clamp(7.5px, .55vw, 9px);
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fa6bb;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.flow-table td {
  padding: 8px 11px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #dce7f1;
  vertical-align: middle;
}

.flow-table tr:first-child td { border-top: 0; }
.flow-table td b { display: block; font-weight: 650; color: #fff; }
.flow-table td small { display: block; margin-top: 1px; font-size: clamp(7px, .45vw, 8.5px); letter-spacing: .06em; color: #8fa6bb; }

.flow-table-foot {
  margin: auto 0 0;
  padding: 7px 11px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(7px, .48vw, 8.5px);
  letter-spacing: .04em;
  color: #8fa6bb;
}

.flow-ok {
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid rgba(54, 201, 143, .35);
  border-radius: 4px;
  background: rgba(54, 201, 143, .1);
  font-size: clamp(7px, .5vw, 8.5px);
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7ee2b8;
  white-space: nowrap;
}

.flow-store {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  padding: 10px;
}

.flow-store svg {
  width: clamp(34px, 3vw, 48px);
  height: auto;
  fill: none;
  stroke: #f7c66b;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.flow-store b { font-size: 9px; letter-spacing: .14em; color: #fff; }
.flow-store > span { font-size: 7px; letter-spacing: .06em; color: #8fa6bb; text-align: center; }

.flow-store-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  margin-top: 4px;
}

.flow-store-bars i {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #f7c66b, #c37d10);
  transform: scaleY(.18);
  transform-origin: bottom;
}

.flow-store-years {
  display: grid;
  gap: 3px;
  width: 100%;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.flow-store-years span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 7px;
  letter-spacing: .05em;
  color: #8fa6bb;
}

.flow-store-years i { font-style: normal; }
.flow-store-years b { font-size: 8px; font-weight: 700; color: #dce7f1; font-variant-numeric: tabular-nums; }

.flow-final-note {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 7px;
  font-size: 7.5px;
  letter-spacing: .02em;
  color: #8fa6bb;
}

/* moving record */

.flow-flight {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: var(--navy);
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .7);
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.flow-flight-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.flow-flight b { font-size: 8px; letter-spacing: .08em; }
.flow-flight i { font-style: normal; font-size: 7px; color: #9fb3c8; }

/* ---------- statistics ---------- */

.stats-layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
}

.stats-copy { max-width: 520px; }

.stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.stat-row:last-of-type { border-bottom: 1px solid var(--line); }

.stat-label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stat-label > span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }

.stat-flag {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff2dc;
  color: var(--amber-ink);
}

.is-excluded .stat-flag { background: #efe9dd; color: #6b6252; }

.stat-value {
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.meter {
  grid-column: 1 / -1;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}

.meter i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform-origin: left;
}

.is-excluded { opacity: .62; }
.is-excluded .meter i {
  background: repeating-linear-gradient(90deg, #726a5c 0 5px, transparent 5px 9px);
}

.stat-source { margin-top: 9px; font-size: 11.5px; letter-spacing: .02em; color: #8a8171; }

.stats-copy .facts { margin-top: 16px; }

/* ---------- closing ---------- */

.panel--closing {
  align-items: stretch;
  background: var(--paper);
  color: var(--ink);
}

.panel--closing::before,
.panel--closing::after { display: none; }

.closing {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: clamp(18px, 2.4vh, 28px);
}

.closing-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  padding-bottom: clamp(16px, 2.2vh, 24px);
  border-bottom: 1px solid var(--line);
}

.closing-eyebrow { color: var(--amber-ink); }

.closing-headline {
  max-width: 24ch;
  margin: 10px 0 0;
  font-size: clamp(3rem, 4.6vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.05em;
  color: var(--ink);
}

.closing-sub {
  max-width: 36ch;
  padding-bottom: 6px;
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  line-height: 1.6;
  color: var(--muted);
}

.closing-flow {
  --flow-gap: clamp(20px, 3vw, 46px);
  background: var(--navy);
  color: #f4efe5;
  padding: clamp(15px, 2.2vh, 24px) clamp(18px, 2.4vw, 34px);
}

.closing-flow-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.closing-flow-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-2);
}

.closing-flow-note {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8fa8bf;
}

.closing-flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--flow-gap);
  margin-top: clamp(8px, 1.4vh, 14px);
  padding-top: 38px;
}

.closing-flow-stage { position: relative; }

.closing-flow-stage:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  right: calc(-1 * var(--flow-gap) - 14px);
  height: 1px;
  background: rgba(255, 255, 255, .22);
}

.closing-flow-stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 11px;
  right: calc(var(--flow-gap) * -.5);
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(255, 255, 255, .35);
  border-right: 1px solid rgba(255, 255, 255, .35);
  transform: rotate(45deg);
}

.closing-flow-index {
  position: absolute;
  top: -38px;
  left: 0;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.closing-flow-kicker {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fa8bf;
}

.closing-flow-stage h3 {
  margin-top: 4px;
  font-size: clamp(1rem, 1.12vw, 1.15rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}

.closing-flow-stage > p:last-child {
  margin-top: 5px;
  max-width: 30ch;
  font-size: clamp(.82rem, .85vw, .9rem);
  line-height: 1.45;
  color: #a9bdd3;
}

.closing-functions {
  border-top: 1px solid var(--line);
  padding-top: clamp(12px, 1.8vh, 18px);
}

.closing-functions-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.closing-functions-head h3 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.closing-functions-head span {
  font-size: 10.5px;
  letter-spacing: .03em;
  color: var(--muted);
}

.closing-functions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: clamp(12px, 1.8vh, 20px);
  margin-top: clamp(10px, 1.5vh, 16px);
}

.closing-function {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.closing-function > span {
  padding-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  color: var(--amber-ink);
}

.closing-function strong {
  display: block;
  font-size: clamp(.95rem, 1vw, 1.05rem);
  line-height: 1.3;
  color: var(--ink);
}

.closing-function p {
  margin-top: 3px;
  max-width: 36ch;
  font-size: clamp(.85rem, .92vw, .95rem);
  line-height: 1.45;
  color: var(--muted);
}

.closing-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding-top: clamp(10px, 1.6vh, 16px);
  border-top: 1px solid var(--line);
}

.closing-footer img {
  width: auto;
  height: clamp(26px, 2.2vw, 34px);
}

.closing-footer span {
  font-size: clamp(.7rem, .76vw, .78rem);
  letter-spacing: .04em;
  color: var(--muted);
  text-align: left;
}

/* ---------- pager ---------- */

.pager {
  position: fixed;
  right: clamp(14px, 3vw, 36px);
  bottom: clamp(14px, 3vh, 26px);
  z-index: 40;
  display: flex;
  gap: 7px;
}

.pager button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px -16px rgba(11, 18, 32, .55);
  transition: background .2s, color .2s, border-color .2s, transform .2s, opacity .2s;
}

.pager button:hover:not(:disabled) { background: var(--navy-2); border-color: var(--navy-2); color: #fff; transform: translateY(-1px); }
.pager button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.pager button:disabled { opacity: .32; cursor: default; }

/* ---------- short viewports ---------- */

@media (max-height: 800px) {
  :root { --chrome-h: 56px; }

  .panel { padding-top: calc(var(--chrome-h) + 20px); padding-bottom: 44px; }
  h2 { font-size: clamp(2.35rem, 4.3vw, 4rem); margin-top: 9px; }
  .eyebrow { font-size: 10.5px; }
  .lead { font-size: 1rem; line-height: 1.5; }
  .section-head { gap: 28px; }
  .stack { gap: 17px; }

  .cover-logo { margin-bottom: 14px; }
  .cover-logo img { height: 46px; }
  .cover-title { font-size: clamp(2.7rem, 5.6vw, 5rem); margin: 10px 0 16px; }
  .cover-sub { font-size: 1.1rem; }
  .cover-meta { margin: 18px 0 14px; padding-top: 12px; font-size: 12.5px; }

  .role-grid li { padding: 18px; min-height: 150px; }
  .role-tag { margin-bottom: 12px; }
  .role-grid strong { font-size: 1.2rem; }
  .role-grid p { font-size: 13.5px; }
  .role-grid li::before { font-size: 3.4rem; }

  .steps li { padding-top: 47px; }
  .steps span { width: 44px; height: 44px; box-shadow: 0 0 0 6px var(--paper); }
  .steps::before { top: 22px; }
  .steps p { font-size: 13px; }

  .facts { gap: 8px; margin-top: 14px; }
  .facts li, .facts--tight li { font-size: 13.5px; }
  .check { gap: 7px 14px; margin-top: 14px; }
  .check li { font-size: 12.8px; }

  .status { padding: 11px 14px; }
  .status-list { margin-top: 16px; gap: 8px; }
  .status span { font-size: 12.5px; }

  .ratio { margin-top: 12px; padding: 7px 13px; }

  .stat-row { padding: 9px 0; }
  .stat-value { font-size: 1.6rem; }
  .stat-source { margin-top: 6px; }
  .stats-copy .facts { margin-top: 12px; }

  .shot img { max-height: 52vh; }

  .ref-list { margin-top: 16px; }
  .ref-list li { padding: 10px 0; }
  .ref-list p { font-size: 14px; }

  .closing { gap: 14px; }
  .closing-head { padding-bottom: 12px; }
  .closing-headline { font-size: clamp(2.55rem, 4.1vw, 4.2rem); }
  .closing-sub { font-size: .96rem; line-height: 1.5; }
  .closing-flow { padding: 12px 18px; }
  .closing-flow-track { margin-top: 8px; padding-top: 34px; }
  .closing-flow-stage:not(:last-child)::before { top: 12px; }
  .closing-flow-index { top: -34px; width: 24px; height: 24px; font-size: 9.5px; }
  .closing-flow-stage h3 { font-size: 1rem; }
  .closing-flow-stage > p:last-child { font-size: .8rem; }
  .closing-functions { padding-top: 10px; }
  .closing-functions-grid { row-gap: 10px; margin-top: 8px; }
  .closing-function p { font-size: .8rem; }
  .closing-footer { padding-top: 10px; }
}

/* ---------- large presentation displays ---------- */

@media (min-width: 1900px) {
  .chrome-brand img { height: 38px; }
  .chrome-count { font-size: 14px; padding: 8px 16px; }
  .chrome-full { width: 44px; height: 44px; }
  .dots button { width: 22px; height: 22px; }
  .dots button::after { inset: 10px 0; }
  .dots button[aria-current="true"]::after { inset: 8px 0; }
  .panel-inner, .cover-grid { width: min(1600px, 100%); max-width: 1600px; }
  h2 { font-size: clamp(4rem, 4.7vw, 5.8rem); }
  .lead { font-size: 1.4rem; }
  .eyebrow { font-size: 12.5px; }
  .role-grid strong { font-size: 1.6rem; }
  .role-grid p, .steps p, .facts li, .ref-list p { font-size: 16px; }
  .status dt { font-size: 15px; }
  .status span { font-size: 14.5px; }
  .stat-value { font-size: 2.2rem; }
  .stat-row { padding: 14px 0; }
  .stat-label > span { font-size: 14px; }
  .cover-title { font-size: clamp(4rem, 5.9vw, 7rem); }
  .cover-sub { font-size: 1.6rem; }
  .cover-meta { font-size: 15px; }
  .closing-headline { font-size: clamp(3.6rem, 4.6vw, 6rem); }
  .closing-sub { font-size: 1.18rem; }
  .closing-flow-stage h3 { font-size: 1.2rem; }
  .closing-flow-stage > p:last-child { font-size: .92rem; }
  .closing-function strong { font-size: 1.06rem; }
  .closing-function p { font-size: .94rem; }
  .shot-bar span { font-size: 11.5px; }
}

/* ---------- narrow screens ---------- */

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .steps::before { display: none; }
  .steps li { padding-top: 0; padding-left: 62px; min-height: 54px; }
  .steps span { width: 46px; height: 46px; box-shadow: none; }
  .steps strong { margin-top: 2px; }
  .check { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .split, .cover-grid, .section-head, .stats-layout { grid-template-columns: 1fr; gap: 20px; }

  .panel { height: 100svh; overflow-y: auto; align-items: flex-start; padding-bottom: 78px; }
  .panel-inner { padding-top: 6px; }
  .panel::after { display: none; }

  .panel--cover::before {
    inset: auto 0 0 0;
    width: 100%;
    height: 46%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    opacity: .7;
  }

  .panel--cover::after {
    background: linear-gradient(180deg, rgba(0, 29, 56, .92), rgba(0, 29, 56, .64) 55%, rgba(0, 29, 56, .35));
  }

  h2 { font-size: clamp(2.25rem, 8.2vw, 3.2rem); max-width: 14ch; }
  .lead { font-size: 1.02rem; }
  .section-head .lead { padding-bottom: 0; }

  .cover-logo img { height: 42px; }
  .cover-title { font-size: clamp(2.4rem, 10vw, 3.8rem); }
  .cover-devices { margin-top: 4px; }
  .device--laptop { padding: 8px 8px 0; border-radius: 12px 12px 5px 5px; }
  .device-base { margin: 0 -16px; height: 10px; }
  .device--phone { left: -12px; bottom: -10px; width: 96px; padding: 5px; border-radius: 16px; }
  .device--phone .device-screen { border-radius: 12px; }
  .cover-devices::before { display: none; }
  .cover-meta { gap: 8px 18px; }

  .role-grid { grid-template-columns: 1fr; gap: 10px; }
  .role-grid li { min-height: 0; }
  .role-grid li::before { font-size: 3rem; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .steps li { padding-left: 54px; }
  .steps span { width: 40px; height: 40px; }

  .split--reverse > .shot { order: 0; }
  .split--reverse > .shot--paper { margin-left: 0; }

  .check { grid-template-columns: 1fr; }
  .shot img { max-height: 30vh; }
  .panel--verify .shot img { max-height: 22vh; }
  .panel--stats .shot img { max-height: 21vh; }
  .panel--stats .stat-row { padding: 7px 0; }
  .panel--stats .stat-value { font-size: 1.35rem; }
  .panel--stats .stats-copy .facts { gap: 6px; margin-top: 10px; }
  .panel--stats .stat-source { margin-top: 4px; }
  .shot--paper { margin-right: 12px; }

  .stats-layout { gap: 18px; }
  .stats-copy { max-width: none; }

  .closing-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .closing-headline { font-size: clamp(2.3rem, 8vw, 3.4rem); max-width: 18ch; }
  .closing-sub { max-width: 46ch; padding-bottom: 0; font-size: 1rem; }
  .panel--closing { align-items: flex-start; }
  .closing { height: auto; gap: 16px; }
  .closing-flow { padding: 14px 16px; }
  .closing-flow-track {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 10px;
    padding-top: 0;
  }
  .closing-flow-track::before {
    top: 14px;
    right: auto;
    bottom: 14px;
    left: 14px;
    width: 1px;
    height: auto;
  }
  .closing-flow-stage { padding: 16px 0 16px 44px; }
  .closing-flow-stage:first-child { padding-top: 0; }
  .closing-flow-stage:last-child { padding-bottom: 0; }
  .closing-flow-index { top: 16px; }
  .closing-flow-stage:first-child .closing-flow-index { top: 0; }
  .closing-flow-stage::before, .closing-flow-stage::after { display: none; }
  .closing-flow-stage > p:last-child { max-width: 48ch; }
  .closing-functions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closing-function p { max-width: none; }
  .closing-footer { flex-wrap: wrap; gap: 12px 20px; }
  .closing-footer span { text-align: left; }

  .dots { display: none; }
  .chrome-track { display: none; }
  .chrome-count { margin-left: auto; }
  .pager { bottom: 10px; }
  .pager button { width: 38px; height: 38px; }
}

@media (max-width: 560px) {
  :root { --pad: 18px; }

  h2 { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .eyebrow { font-size: 9.5px; letter-spacing: .16em; }
  .eyebrow::before { width: 18px; }

  .chrome { gap: 10px; padding: 0 12px; }
  .chrome-brand img { height: 26px; }
  .chrome-count { padding: 5px 10px; font-size: 11.5px; }
  .chrome-full { width: 34px; height: 34px; }

  .cover-title { font-size: clamp(2.15rem, 10.5vw, 3rem); }
  .cover-sub { font-size: 1rem; }
  .cover-meta { font-size: 12px; margin: 16px 0 12px; }
  .cover-logo img { height: 38px; }
  .scroll-hint { font-size: 11px; }

  .role-grid li { padding: 16px; }
  .role-grid strong { font-size: 1.1rem; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps li { padding-left: 50px; min-height: 40px; }
  .steps span { width: 38px; height: 38px; }

  .ratio { gap: 8px; padding: 7px 12px; }
  .ratio-node strong { font-size: 1rem; }
  .ratio-node--many strong { font-size: .72rem; }

  .closing-headline { font-size: clamp(2rem, 9vw, 2.7rem); max-width: 20ch; }
  .closing-flow { padding: 12px 14px; }
  .closing-flow-label, .closing-flow-note { font-size: 8.5px; }
  .closing-functions-head { display: block; }
  .closing-functions-head span { display: block; margin-top: 4px; }
  .closing-functions-grid { grid-template-columns: 1fr; row-gap: 12px; }
  .closing-footer { gap: 10px; }
  .closing-footer img { height: 26px; }
  .closing-footer span { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .chrome-track span, .dots button::after { transition: none; }
  .panel--cover::before { animation: none; transition: none; }
  .hint-line { animation: none; }
}

/* ---------- slide 8 responsive ---------- */

@media (max-height: 800px) {
  .flow-head h2 { font-size: clamp(2rem, 3.1vw, 2.9rem); }
  .flow-head .lead { font-size: .98rem; line-height: 1.45; }
  .flow-context { font-size: 9px; }
  .flow-board { border-radius: 16px; }
  .flow-stage { padding: 11px 13px; }
  .flow-stage-head { padding-bottom: 6px; }
  .flow-step { width: 23px; height: 23px; font-size: 8.5px; }
  .flow-form { margin-top: 8px; }
  .flow-field { min-height: 26px; padding: 4px 0; }
  .flow-value { font-size: 11px; }
  .flow-completion { margin-top: 7px; }
  .flow-save { height: 28px; margin-top: auto; }
  .flow-record { margin-top: 7px; padding: 6px 8px 7px; }
  .flow-checks { margin-top: 5px; }
  .flow-checks li { padding: 3px 0; }
  .flow-warning { padding: 4px 6px; }
  .flow-progress { padding-top: 5px; }
  .flow-summary { margin-top: 7px; padding: 6px 8px; }
  .flow-verify { margin-top: 5px; }
  .flow-verify li { padding: 3px 0; }
  .flow-reviewer { margin-top: 5px; padding-top: 5px; }
  .flow-result { padding-top: 6px; min-height: 42px; }
  .flow-final { padding: 16px 20px; gap: 8px; }
  .flow-final-head h3 { font-size: 1.25rem; }
  .flow-final-head p { font-size: 9px; }
  .flow-table th { padding: 6px 9px; }
  .flow-table td { padding: 6px 9px; }
  .flow-final-note { font-size: 7px; }
}

@media (max-width: 1100px) {
  .flow-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 26px; }
  .flow-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
  .flow-board {
    grid-template-columns:
      minmax(0, 1.02fr) 22px
      minmax(0, .98fr) 22px
      minmax(0, 1.04fr);
  }
  .flow-stage { padding: 12px; }
  .flow-field { grid-template-columns: 66px minmax(0, 1fr); gap: 6px; }
  .flow-record-grid { gap: 4px 7px; }
  .flow-final-body { grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); }
}

@media (max-width: 900px) {
  .panel--flow { align-items: flex-start; }
  .panel--flow .panel-inner.flow { height: auto; min-height: 0; }
  .flow-head { grid-template-columns: 1fr; gap: 8px; }
  .flow-head h2 { font-size: clamp(2.2rem, 8.2vw, 3.2rem); max-width: 14ch; }
  .flow-head-side { padding-bottom: 0; }
  .flow-head .lead { font-size: 1rem; max-width: none; }
  .flow-context { font-size: 9px; }

  .flow-board {
    display: block;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .flow-stage {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 18px 36px -34px rgba(11, 18, 32, .45);
  }

  .flow-stage--check { border-color: rgba(255, 255, 255, .12); }

  .flow-connector {
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flow-connector::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
  }

  .flow-connector svg {
    width: 26px;
    height: 26px;
    transform: rotate(90deg);
  }

  .flow-stage-head h3 { font-size: 14px; }
  .flow-stage-head p { font-size: 10px; }
  .flow-value { font-size: 12.5px; }
  .flow-label { font-size: 8.5px; }
  .flow-checks li, .flow-verify li { font-size: 11px; }
  .flow-record-grid b { font-size: 11px; }
  .flow-stage { min-height: 0; }

  .flow-final {
    position: relative;
    inset: auto;
    display: none;
    opacity: 0;
    clip-path: none !important;
    border-radius: 14px;
    padding: 18px;
  }

  .flow-board.is-final > .flow-stage,
  .flow-board.is-final > .flow-connector,
  .flow-board.is-final > .flow-flight { display: none; }

  .flow-board.is-final > .flow-final { display: flex; opacity: 1; }

  .flow-final-body { grid-template-columns: 1fr; }
  .flow-table-wrap { display: block; }
  .flow-table { height: auto; }
  .flow-table-foot { margin: 0; }
  .flow-store { flex-direction: row; justify-content: flex-start; gap: 8px; padding: 8px 10px; }
  .flow-store svg { width: 30px; }
  .flow-store-bars { margin: 0 0 0 auto; height: 20px; }
  .flow-final-note { font-size: 8px; }
  .flow-final-head { align-items: flex-start; }
  .flow-final-head h3 { font-size: 1.35rem; }
  .flow-total b { font-size: 2rem; }
}

@media (max-width: 560px) {
  .flow { gap: 12px; }
  .flow-head h2 { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .flow-head .lead { font-size: .95rem; }
  .flow-stage { padding: 12px; }
  .flow-stage-head { grid-template-columns: auto minmax(0, 1fr) auto; gap: 5px 8px; }
  .flow-state { grid-column: auto; justify-self: end; }
  .flow-field { grid-template-columns: 62px minmax(0, 1fr); }
  .flow-save { margin-top: auto; }
  .flow-total { text-align: left; }
  .flow-final-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .flow-final-head p { display: none; }
  .flow-final-head > div > p.flow-final-kicker { display: block; }
  .flow-final-head h3 { font-size: 1.2rem; }
  .flow-final { gap: 7px; padding: 14px; }
  .flow-table th, .flow-table td { padding: 5px 8px; }
  .flow-table td b { font-size: 9px; }
  .flow-table th:nth-child(2), .flow-table td:nth-child(2),
  .flow-table th:nth-child(3), .flow-table td:nth-child(3) { display: none; }
  .flow-store { flex-wrap: wrap; padding: 6px 8px; gap: 6px; }
  .flow-store svg { width: 24px; }
  .flow-store-bars { height: 18px; }
  .flow-store-years { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 2px; padding-top: 4px; }
  .flow-store-years span { flex-direction: column; gap: 1px; }
  .flow-final-note { font-size: 7px; }
}
