:root {
  --navy-950: #06101c;
  --navy-900: #081522;
  --navy-800: #0d2033;
  --accent: #2d7df6;
  --accent-light: #61b7ff;
  --success: #4bd197;
  --white: #ffffff;
  --muted: #91a3b6;
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(12, 29, 47, .78);
  --shell: min(1200px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: linear-gradient(180deg, #07111e 0%, #081522 46%, #06101c 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { position: relative; z-index: 2; width: var(--shell); margin-inline: auto; }
.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.page-glow { position: fixed; z-index: 0; width: 430px; height: 430px; border-radius: 50%; filter: blur(120px); pointer-events: none; opacity: .13; }
.page-glow--one { top: 18%; right: -120px; background: var(--accent); }
.page-glow--two { bottom: 8%; left: -180px; background: #36c2e9; }

.site-header { position: relative; z-index: 10; }
.site-header__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { position: relative; width: 36px; height: 36px; display: grid; place-content: center; gap: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; }
.brand-mark span { width: 18px; height: 2px; border-radius: 999px; background: rgba(255,255,255,.88); }
.brand-mark::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 20px rgba(45,125,246,.8); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font: 700 15px/1 Manrope, sans-serif; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; color: #8799ac; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.header-link { display: inline-flex; align-items: center; gap: 8px; color: #bcc9d7; text-decoration: none; font-size: 13px; font-weight: 600; }
.header-link:hover, .header-link:focus-visible { color: white; }

.intro { min-height: calc(100svh - 88px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 96px; }
.back-link { position: absolute; top: 32px; display: inline-flex; align-items: center; gap: 9px; color: #9eb0c2; text-decoration: none; font-size: 13px; font-weight: 600; }
.back-link:hover, .back-link:focus-visible { color: white; }
.context-label { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 9px 13px; color: #a8c8e6; border: 1px solid rgba(97,183,255,.18); border-radius: 999px; background: rgba(45,125,246,.07); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.context-label span { color: var(--success); }
.intro h1 { max-width: 930px; margin: 0; font: 600 clamp(3.8rem, 7.3vw, 7.2rem)/.98 Manrope, Inter, sans-serif; letter-spacing: -.055em; }
.intro__lede { max-width: 680px; margin: 30px 0 0; color: #aebdcb; font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.7; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; margin-top: 50px; color: #80c4fb; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue i { position: relative; width: 28px; height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }
.scroll-cue i::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 99px; background: var(--accent-light); transform: translateX(-50%); animation: scrollCue 2s ease-in-out infinite; }

.workflow { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .78fr); gap: clamp(60px, 8vw, 120px); align-items: start; padding-block: 100px 180px; border-top: 1px solid var(--line); }
.workflow__visual-column { position: sticky; top: 6vh; min-width: 0; height: 88vh; display: flex; align-items: center; }
.visual-stage { position: relative; width: 100%; min-height: min(680px, 82vh); padding: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: linear-gradient(155deg, rgba(20,42,66,.84), rgba(7,20,34,.97)); box-shadow: 0 35px 110px rgba(0,0,0,.38); }
.visual-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 32%); }
.visual-stage::after { content: ""; position: absolute; right: -140px; bottom: -180px; width: 380px; height: 380px; border-radius: 50%; background: rgba(45,125,246,.09); filter: blur(80px); }
.visual-stage__head { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.visual-stage__head > div { display: grid; gap: 5px; }
.visual-stage__head small { color: #6e8aa5; font-size: 9px; letter-spacing: .16em; }
.visual-stage__head strong { font-size: 14px; }
.visual-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: #9fd9bd; border: 1px solid rgba(75,209,151,.18); border-radius: 999px; background: rgba(75,209,151,.08); font-size: 10px; white-space: nowrap; }
.visual-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px rgba(75,209,151,.7); }
.stage-progress { position: absolute; z-index: 4; top: 78px; left: 26px; right: 26px; height: 2px; overflow: hidden; background: rgba(255,255,255,.075); }
.stage-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--success)); transform: scaleX(.1); transform-origin: left; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.stage-count { position: absolute; z-index: 4; right: 26px; bottom: 22px; display: flex; align-items: baseline; gap: 5px; color: #50677d; }
.stage-count span { color: #7991a9; font: 600 26px/1 Manrope, sans-serif; }
.stage-count small { font-size: 9px; }
.visual-scenes { position: absolute; z-index: 2; inset: 98px 26px 62px; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .38s ease, transform .45s ease, visibility 0s linear .45s; }
.scene.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.scene-kicker { margin-bottom: 20px; color: #7891a9; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-align: center; }
.human-note { margin: 15px 0 0; color: #758ba0; font-size: 10px; text-align: center; }

.building-card, .node-card, .incident-card, .ack-card, .approval-card, .contractor-card { border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.04); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.building-card { width: min(390px, 86%); display: flex; align-items: center; gap: 20px; margin-inline: auto; padding: 18px; border-radius: 16px; }
.building-icon { width: 60px; height: 68px; flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; padding: 12px; border: 1px solid rgba(97,183,255,.25); border-radius: 10px 10px 3px 3px; background: rgba(45,125,246,.08); }
.building-icon i { border-radius: 2px; background: rgba(97,183,255,.56); box-shadow: 0 0 8px rgba(97,183,255,.22); }
.building-card > div:last-child { display: grid; gap: 7px; }
.building-card small, .incident-card small, .ack-card small, .contractor-card small, .work-order small { color: #7891aa; font-size: 9px; letter-spacing: .13em; }
.building-card strong { font: 600 16px/1.35 Manrope, sans-serif; }
.route { position: relative; width: 2px; height: 65px; margin: 6px auto; overflow: hidden; background: repeating-linear-gradient(to bottom, rgba(97,183,255,.55) 0 3px, transparent 3px 9px); }
.route span { position: absolute; top: -8px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #9bd5ff; box-shadow: 0 0 14px var(--accent-light); animation: routeDown 2s linear infinite; }
.node-card { position: relative; width: min(290px, 70%); display: grid; grid-template-columns: auto 1fr; gap: 3px 11px; margin-inline: auto; padding: 15px 18px; border-radius: 13px; }
.node-card--blue { border-color: rgba(97,183,255,.26); }
.node-card .node-dot { grid-row: 1 / 3; align-self: center; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 14px rgba(97,183,255,.7); }
.node-card strong { font-size: 12px; }
.node-card small { color: #71879b; font-size: 9px; }

.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.channel-grid div { display: grid; place-items: center; gap: 9px; min-height: 108px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.035); }
.channel-grid span { width: 34px; height: 34px; display: grid; place-items: center; color: #99d5ff; border: 1px solid rgba(97,183,255,.26); border-radius: 9px; background: rgba(45,125,246,.08); font-weight: 600; }
.channel-grid small { color: #9cadbd; font-size: 10px; }

.source-message { margin: 0 auto 22px; padding: 14px 20px; border: 1px solid rgba(97,183,255,.18); border-radius: 12px; color: #c8d7e5; background: rgba(45,125,246,.05); font-size: 14px; }
.source-message mark { padding: 2px 3px; color: white; border-radius: 4px; background: rgba(45,125,246,.28); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.field-grid div { display: grid; gap: 5px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.075); border-radius: 10px; background: rgba(255,255,255,.025); }
.field-grid small { color: #668097; font-size: 8px; letter-spacing: .1em; }
.field-grid strong { color: #d9e4ed; font-size: 10px; }
.text-high { color: #ffc77a !important; }
.confidence { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; margin-top: 13px; color: #869cb1; font-size: 9px; }
.confidence strong { color: var(--success); }
.confidence i { grid-column: 1 / 3; height: 3px; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.08); }
.confidence b { display: block; width: 94%; height: 100%; background: var(--success); }

.report-stack { width: 78%; display: grid; gap: 7px; margin-inline: auto; }
.report-stack span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; color: #a8b8c8; background: rgba(255,255,255,.03); font-size: 10px; }
.report-stack span:nth-child(even) { transform: translateX(9%); }
.merge-lines { height: 36px; display: flex; justify-content: center; gap: 22px; }
.merge-lines i { width: 1px; height: 30px; background: linear-gradient(var(--accent-light), transparent); transform-origin: top; }
.merge-lines i:first-child { transform: rotate(-27deg); }
.merge-lines i:last-child { transform: rotate(27deg); }
.incident-card { padding: 18px; border-color: rgba(97,183,255,.25); border-radius: 15px; }
.incident-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.incident-card > strong { display: block; margin-top: 11px; font: 600 16px/1.3 Manrope, sans-serif; }
.incident-card p { margin: 11px 0 0; color: #8499ad; font-size: 10px; }
.incident-card p b { color: white; }
.incident-card p span { margin-inline: 5px; color: var(--success); }
.pill { padding: 5px 8px; color: #a8d8c1; border: 1px solid rgba(75,209,151,.2); border-radius: 999px; background: rgba(75,209,151,.08); font-size: 8px; font-weight: 700; }

.ack-card { width: 88%; margin-inline: auto; padding: 26px; border-radius: 17px; text-align: center; }
.checkmark { width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto 13px; color: #051810; border-radius: 50%; background: var(--success); box-shadow: 0 0 24px rgba(75,209,151,.25); font-weight: 800; }
.ack-card p { margin: 14px 0; color: #a9b9c8; font-size: 11px; line-height: 1.65; }
.ack-card > strong { color: #dbe8f2; font-size: 11px; }
.ack-signals { display: flex; justify-content: space-around; width: 70%; margin: 18px auto 0; }
.ack-signals i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 12px rgba(97,183,255,.7); animation: signal 1.8s ease-in-out infinite; }
.ack-signals i:nth-child(2) { animation-delay: .2s; }.ack-signals i:nth-child(3) { animation-delay: .4s; }.ack-signals i:nth-child(4) { animation-delay: .6s; }

.queue-table { overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; }
.queue-row { display: grid; grid-template-columns: 62px 1fr 1.35fr 62px; gap: 8px; align-items: center; padding: 10px 12px; color: #788ea3; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 8px; }
.queue-row:last-child { border-bottom: 0; }
.queue-row b { font-size: 8px; }.queue-row .critical { color: #ff8e8e; }.queue-row .high { color: #ffc77a; }.queue-row .medium { color: #8ecbff; }.queue-row .low { color: #91a3b6; }
.queue-row strong { color: #afbfcd; font-size: 9px; }
.queue-row small { color: #71879b; font-size: 8px; text-align: right; }
.queue-row.is-selected { position: relative; color: #b7cce0; background: rgba(45,125,246,.11); box-shadow: inset 3px 0 var(--accent); }
.queue-row.is-selected strong { color: white; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.summary-grid div { padding: 13px; border: 1px solid rgba(255,255,255,.075); border-radius: 10px; background: rgba(255,255,255,.025); }
.summary-grid small { color: var(--accent-light); font-size: 8px; letter-spacing: .1em; }
.summary-grid p { margin: 7px 0 0; color: #9eafbe; font-size: 9px; line-height: 1.5; }

.approval-card { padding: 20px; border-radius: 17px; }
.approval-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.approval-head small { color: #7690a8; font-size: 8px; letter-spacing: .12em; }
.approval-head span { color: #ffc77a; font-size: 8px; }
.approval-card > strong { display: block; margin: 18px 0 13px; font: 600 15px Manrope, sans-serif; }
.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.action-grid span { min-height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; color: #8498ab; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(255,255,255,.025); font-size: 8px; }
.action-grid .is-approved { color: #d9ffec; border-color: rgba(75,209,151,.35); background: rgba(75,209,151,.1); }
.action-grid .is-approved b { width: 17px; height: 17px; display: grid; place-items: center; color: #062016; border-radius: 50%; background: var(--success); }
.decision-line { display: flex; align-items: center; gap: 13px; margin-top: 20px; color: #71869a; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.decision-line i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), var(--success)); }
.decision-line strong { color: #a9e8ca; }

.contractor-card { padding: 22px; border-radius: 17px; }
.contractor-head { display: flex; align-items: center; gap: 13px; }
.contractor-head > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(97,183,255,.25); border-radius: 11px; color: #a8d9ff; background: rgba(45,125,246,.09); font: 700 13px Manrope, sans-serif; }
.contractor-head div { display: grid; gap: 5px; }.contractor-head strong { font-size: 12px; }
.work-order { display: grid; gap: 7px; margin-top: 17px; padding: 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); }
.work-order strong { font-size: 12px; }.work-order span { color: #8499ac; font-size: 9px; }
.contractor-actions { display: flex; gap: 8px; margin-top: 11px; }
.contractor-actions span { padding: 7px 9px; color: #8ebfdf; border: 1px solid rgba(97,183,255,.14); border-radius: 7px; font-size: 8px; }
.accepted { display: flex; align-items: center; gap: 11px; margin-top: 17px; padding: 12px; border: 1px solid rgba(75,209,151,.2); border-radius: 10px; background: rgba(75,209,151,.08); }
.accepted > span { width: 29px; height: 29px; display: grid; place-items: center; color: #061b12; border-radius: 50%; background: var(--success); }
.accepted div { display: grid; gap: 3px; }.accepted strong { color: #baf2d5; font-size: 11px; }.accepted small { color: #79b99a; }

.audit-timeline { width: 86%; margin-inline: auto; }
.audit-timeline div { display: grid; grid-template-columns: 38px 10px 1fr; gap: 11px; align-items: center; min-height: 38px; color: #93a5b6; font-size: 9px; }
.audit-timeline time { color: #687f94; font-variant-numeric: tabular-nums; }
.audit-timeline i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 12px rgba(97,183,255,.55); }
.audit-timeline i::after { content: ""; position: absolute; top: 7px; left: 3px; width: 1px; height: 31px; background: rgba(97,183,255,.18); }
.audit-timeline div:last-child i { background: var(--success); box-shadow: 0 0 12px rgba(75,209,151,.6); }
.audit-timeline div:last-child i::after { display: none; }
.audit-timeline div:last-child span { color: #bdeed5; }

.final-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; }
.final-flow span { padding: 8px 10px; color: #a8b9c9; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: rgba(255,255,255,.03); font-size: 8px; }
.final-flow i { color: #649cca; font-style: normal; transform: rotate(-90deg); }
.final-flow .final-flow__human { color: #c1f3db; border-color: rgba(75,209,151,.3); background: rgba(75,209,151,.08); }
.mcl-loop { display: grid; place-items: center; width: 70%; margin: 42px auto 0; padding: 28px; border: 1px solid rgba(97,183,255,.3); border-radius: 18px; background: radial-gradient(circle at 50% 0, rgba(45,125,246,.2), transparent 64%), rgba(6,19,32,.78); box-shadow: 0 0 60px rgba(45,125,246,.1); }
.mcl-loop small { color: #6e8ba6; font-size: 8px; letter-spacing: .17em; }.mcl-loop strong { margin-top: 5px; font: 700 22px Manrope, sans-serif; }.mcl-loop span { margin-top: 8px; color: #79a9cc; font-size: 8px; }

.workflow__steps { min-width: 0; }
.story-step { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 90px 42px; opacity: .36; transition: opacity .35s ease; }
.story-step::before { content: ""; position: absolute; top: 50%; left: 0; width: 1px; height: 76%; background: var(--line); transform: translateY(-50%); }
.story-step::after { content: ""; position: absolute; top: 50%; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: #3b5871; transform: translateY(-50%); transition: background .3s ease, box-shadow .3s ease; }
.story-step.is-active { opacity: 1; }
.story-step.is-active::after { background: var(--accent-light); box-shadow: 0 0 16px rgba(97,183,255,.8); }
.step-number { color: #45617a; font: 600 13px Manrope, sans-serif; }
.step-eyebrow { margin: 20px 0 10px; color: var(--accent-light); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.story-step h2 { margin: 0; font: 600 clamp(2rem, 3.4vw, 3.25rem)/1.1 Manrope, sans-serif; letter-spacing: -.04em; }
.story-step > p:not(.step-eyebrow):not(.principle) { margin: 22px 0 0; color: #9daebf; font-size: 15px; line-height: 1.75; }
.story-step blockquote { margin: 23px 0 0; padding: 16px 18px; color: #d8e7f4; border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0; background: rgba(45,125,246,.07); font: 500 17px/1.5 Manrope, sans-serif; }
.story-step ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 19px 0 0; padding: 0; list-style: none; }
.story-step li { padding: 7px 10px; color: #8eabc4; border: 1px solid rgba(255,255,255,.09); border-radius: 7px; font-size: 10px; }
.principle { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; color: #a3b7c9; font-size: 12px; line-height: 1.55; }
.principle i { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px rgba(75,209,151,.5); }
.principle--strong { color: #c7f2dd; }
.step-stat { display: grid; grid-template-columns: auto 1fr; gap: 4px 11px; margin-top: 24px; }
.step-stat strong { color: var(--success); font: 700 20px Manrope, sans-serif; }.step-stat span { align-self: center; color: #8da0b2; font-size: 10px; }

.closing { padding-block: 180px; border-top: 1px solid var(--line); text-align: center; }
.closing__eyebrow { margin: 0 0 20px; color: var(--accent-light); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.closing h2 { max-width: 1040px; margin: 0 auto; font: 600 clamp(2.8rem, 5.6vw, 5.7rem)/1.05 Manrope, sans-serif; letter-spacing: -.05em; }
.closing h2 span { color: #8198ad; }
.closing > p:not(.closing__eyebrow) { margin: 30px 0 0; color: #879bad; font-size: 14px; }
.closing__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }.button--primary { color: var(--navy-950); background: white; box-shadow: 0 12px 35px rgba(0,0,0,.24); }.button--secondary { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding-block: 26px 36px; color: #53677a; border-top: 1px solid rgba(255,255,255,.07); font-size: 10px; }
.site-footer a { color: #71869b; text-decoration: none; }.site-footer a:hover { color: white; }

@keyframes routeDown { from { top: -8px; } to { top: calc(100% + 8px); } }
@keyframes signal { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes scrollCue { 0%, 100% { opacity: .35; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 12px); } }

@media (max-width: 1024px) {
  :root { --shell: min(100% - 40px, 960px); }
  .workflow { grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr); gap: 46px; }
  .visual-stage { min-height: min(620px, 80vh); padding: 21px; }
  .visual-scenes { inset-inline: 21px; }
  .queue-row { grid-template-columns: 52px 1fr 1.2fr; }
  .queue-row small { display: none; }
  .story-step { padding-left: 32px; }
}

@media (max-width: 768px) {
  :root { --shell: min(100% - 32px, 720px); }
  .intro { min-height: auto; padding-block: 110px 120px; }
  .intro h1 { font-size: clamp(3.35rem, 12vw, 5.4rem); }
  .workflow { display: block; padding-block: 80px 120px; }
  .workflow__visual-column { display: none; }
  .story-step { min-height: auto; margin-bottom: 20px; padding: 30px 28px 32px 54px; opacity: 1; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: linear-gradient(145deg, rgba(17,37,58,.72), rgba(8,23,38,.82)); box-shadow: 0 14px 40px rgba(0,0,0,.14); }
  .story-step::before { top: 32px; bottom: 32px; left: 28px; width: 1px; height: auto; transform: none; background: linear-gradient(var(--accent), rgba(97,183,255,.08)); }
  .story-step::after { top: 37px; left: 25px; transform: none; background: var(--accent-light); box-shadow: 0 0 14px rgba(97,183,255,.6); }
  .story-step h2 { font-size: clamp(1.8rem, 7vw, 2.7rem); }
  .closing { padding-block: 120px; }
  .site-footer { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  :root { --shell: min(100% - 28px, 440px); }
  .site-header__inner { min-height: 72px; }
  .header-link { font-size: 0; }
  .header-link span { font-size: 18px; }
  .intro { padding-block: 105px 92px; }
  .back-link { top: 24px; }
  .context-label { gap: 5px; border-radius: 10px; font-size: 8px; line-height: 1.5; }
  .intro h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .intro__lede { font-size: 1rem; }
  .story-step { padding: 27px 20px 29px 46px; }
  .story-step::before { left: 23px; }.story-step::after { left: 20px; }
  .story-step > p:not(.step-eyebrow):not(.principle) { font-size: 14px; }
  .closing { padding-block: 100px; text-align: left; }
  .closing h2 { font-size: clamp(2.65rem, 13vw, 3.7rem); }
  .closing__actions { display: grid; justify-content: stretch; }
  .button { width: 100%; }
}

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