/* Isometric stack story, ported from style.css and scoped to .how. */
.how .steps-head {
padding: 10vh 0 2vh; }
.how .label {
font-size: 0.9rem; font-weight: 500; color: var(--accent); margin-bottom: 14px; }
.how .steps {
list-style: none; margin: 0; padding: 0 0 18vh; }
.how .step {
min-height: 56vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; transition: opacity 600ms var(--ease-out); }
.how .step-num {
font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }
.how .step h3 {
font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.05; }
.how .step p {
color: var(--ink-2); margin-top: 14px; max-width: 24em; font-size: 1.12rem; line-height: 1.5; }
.how .step-human .step-num {
color: var(--accent); }
.how .mini {
display: none; }
.how .story-stage {
position: relative; }
.how .stage-sticky {
position: sticky; top: 68px; height: calc(100svh - 68px); display: flex; flex-direction: column; justify-content: center; }
.how .scene-caption {
margin-top: 12px; display: flex; justify-content: flex-end; align-items: center; gap: 16px; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.how .scene-toggle {
white-space: nowrap; font: inherit; color: var(--ink-2); background: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 10px; cursor: pointer; transition: color 160ms, border-color 160ms; }
.how .scene-toggle:hover {
color: var(--ink); border-color: var(--ink-2); }
@media (min-width: 1001px) {
.js .how .step h3, .js .how .step p, .js .how .step .step-num {
transition: color 500ms var(--ease-out); }
.js .how .step:not(.is-active) h3 {
color: var(--muted); }
.js .how .step:not(.is-active) p {
color: color-mix(in srgb, var(--ink-2) 72%, var(--bg)); }
.js .how .step:not(.is-active) .step-num {
color: var(--muted); }
}
/* Scene */
.how .scene {
position: relative; width: 100%; aspect-ratio: 640 / 600; --mx: 0; --my: 0; }
.how .scene-layers {
position: absolute; inset: 0; }
.how .stack {
position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.how .layer, .how .node, .how .chip, .how .thread, .how .thread-pulse {
transform: translate(calc(var(--mx) * var(--d, 2) * 2.2px), calc(var(--my) * var(--d, 2) * 1.6px)); transition: transform 120ms linear, translate 900ms var(--ease-io), opacity 500ms ease; }
.how .node-web {
--d: 3; }
.how .node-cms {
--d: 2; }
.how .node-server {
--d: 1; }
.how .thread, .how .thread-pulse {
--d: 2; }
.how .plane {
fill: var(--plane); stroke: var(--plane-line); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke 600ms ease; }
.how .slab-l {
fill: var(--slab-l); }
.how .slab-r {
fill: var(--slab-r); }
.how .pl-grid {
stroke: var(--plane-grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.how .pl-detail {
fill: none; stroke: var(--plane-line); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.7; }
.how .pl-fill {
fill: var(--plane-line); opacity: 0.55; }
.how .pl-tile {
fill: var(--plane-grid); stroke: var(--plane-line); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.6; }
.how .pl-hot {
fill: var(--plane-grid); stroke: var(--plane-line); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill 500ms ease, stroke 500ms ease; }
.how .pl-text {
font-family: var(--mono); font-size: 9px; fill: var(--muted); letter-spacing: 0.04em; }
.how .pl-name {
font-family: var(--mono); font-size: 11.5px; fill: var(--ink-2); letter-spacing: 0.18em; }
.how .beam {
stroke-width: 2; color: var(--signal); opacity: 0; transition: opacity 500ms ease; }
.how .node-ring {
fill: none; stroke: var(--signal); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.how .node-dot {
fill: var(--bg); stroke: var(--muted); stroke-width: 1.5; transition: fill 500ms ease, stroke 500ms ease; }
.how .thread {
fill: none; stroke: url(#thread-grad); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.9; transition: stroke-dashoffset 1200ms var(--ease-io), opacity 600ms ease; }
.how .thread-pulse {
fill: none; stroke: var(--hl); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.12 0.88; stroke-dashoffset: 1; opacity: 0; transition: opacity 400ms ease; }
.how .chip {
position: absolute; margin: 0; right: calc(100% - 34.84% + 18px); translate: 0 -50%;
  font-family: var(--mono); font-size: 0.7rem; line-height: 1; white-space: nowrap;
  opacity: 0; transition: opacity 500ms ease, transform 120ms linear; }
.how .chip-web {
top: 23.5%; }
.how .chip-cms {
top: 44.83%; }
.how .chip-server {
top: 78.5%; }
.how .chip {
transition: opacity 500ms ease, transform 120ms linear, translate 900ms var(--ease-io); }
.how .chip > span {
display: inline-block; padding: 6px 9px; border-radius: 3px; border: 1px solid; }
.how .chip-alert {
color: var(--signal); background: var(--bg); border-color: rgb(255 123 71 / 35%); border-color: color-mix(in srgb, var(--signal) 40%, transparent); }
.how .chip-ok {
display: none !important; color: var(--accent); background: var(--bg); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
/* Scene card */
.how .card {
position: absolute; left: 46%; top: 4%; width: 54%;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: var(--shadow);
  padding: 16px 16px 14px; font-size: 0.82rem; color: var(--ink-2);
  opacity: 0; scale: 0.94; translate: -14px 12px; transform-origin: 0 20%;
  transform: translate(calc(var(--mx) * 11px), calc(var(--my) * 8px));
  transition: opacity 600ms var(--ease-out), scale 700ms var(--ease-out), translate 700ms var(--ease-out), transform 120ms linear; }
.how .card::before {
content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--signal); transition: background 500ms ease; }
.how .card-bar {
display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.how .card-time {
margin-left: auto; }
.how .card-title {
margin: 10px 0 2px; font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.how .card-label {
font-family: var(--mono); font-size: 0.64rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 12px 0 6px; }
.how .card-text {
line-height: 1.5; }
.how .card-text code {
font-size: 0.78em; }
.how .card-evidence, .how .card-report {
list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 1px; font-family: var(--mono); font-size: 0.68rem; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.how .card-evidence li, .how .card-report li {
display: grid; grid-template-columns: 74px 1fr auto; gap: 8px; padding: 6px 9px; background: var(--surface); color: var(--ink-2); }
.how .card-evidence span, .how .card-report span {
color: var(--muted); }
.how .card-report em {
font-style: normal; color: var(--accent); }
.how .card-buttons {
display: flex; gap: 6px; margin-top: 10px; }
.how .fake-btn {
position: relative; display: inline-grid; place-items: center; height: 28px; padding: 0 10px; border-radius: 2px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.how .fake-btn-primary {
background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.how .fake-btn-primary > span {
grid-area: 1 / 1; transition: opacity 300ms ease; }
.how .fb-done {
opacity: 0; }
.how .ai-tag {
color: var(--accent); display: flex; align-items: center; gap: 7px; }
.how .ai-tag::before {
content: ""; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); flex: none; }
.how .panel {
display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 700ms var(--ease-out), opacity 450ms ease; }
.how .panel > div {
overflow: hidden; min-height: 0; }
/* Scene states */
.how .scene:is([data-state="signals"], [data-state="explain"], [data-state="confirm"]) .chip {
opacity: 1; }
.how .scene:is([data-state="signals"], [data-state="explain"]) .node-dot {
fill: var(--signal); stroke: var(--signal); }
.how .scene:is([data-state="signals"], [data-state="explain"]) .beam {
opacity: 0.85; }
.how .scene:is([data-state="signals"], [data-state="explain"]) .pl-hot {
fill: var(--signal-soft); stroke: var(--signal); }
.how .scene[data-state="signals"] .node-ring {
animation: ping 1.8s ease-out infinite; }
.how .scene[data-state="signals"] .chip-cms, .how .scene[data-state="signals"] .node-cms *, .how .scene[data-state="signals"] .layer-cms .pl-hot {
transition-delay: 450ms; }
.how .scene[data-state="signals"] .chip-server, .how .scene[data-state="signals"] .node-server *, .how .scene[data-state="signals"] .layer-server .pl-hot {
transition-delay: 900ms; }
.how .scene[data-state="signals"] .node-cms .node-ring {
animation-delay: 450ms; }
.how .scene[data-state="signals"] .node-server .node-ring {
animation-delay: 900ms; }
@keyframes ping {
0% {
scale: 0.6; opacity: 0.9; }
100% {
scale: 2.8; opacity: 0; }
}
.how .scene:is([data-state="explain"], [data-state="confirm"]) .thread {
stroke-dashoffset: 0; }
.how .scene[data-state="explain"] .thread-pulse {
opacity: 1; animation: travel 1.6s linear infinite; }
@keyframes travel {
from {
stroke-dashoffset: 1; }
to {
stroke-dashoffset: 0; }
}
.how .scene:is([data-state="explain"], [data-state="confirm"], [data-state="report"]) .card {
opacity: 1; scale: 1; translate: 0 0; }
.how .scene[data-state="explain"] .panel-ai, .how .scene[data-state="confirm"] .panel-action, .how .scene[data-state="report"] .panel-report {
grid-template-rows: 1fr; opacity: 1; }
.how .scene[data-state="confirm"] .thread {
opacity: 0.25; }
.how .scene[data-state="confirm"] .node-dot {
fill: var(--accent); stroke: var(--accent); transition-delay: 1100ms; }
.how .scene[data-state="confirm"] .node-web .node-dot {
fill: var(--bg); stroke: var(--muted); }
.how .scene[data-state="confirm"] .chip-web {
opacity: 0.35; }
.how .scene[data-state="confirm"] :is(.chip-cms, .chip-server) .chip-alert {
display: none; }
.how .scene[data-state="confirm"] :is(.chip-cms, .chip-server) .chip-ok {
display: inline-block !important; animation: chip-in 500ms var(--ease-out) 1100ms both; }
.how .scene[data-state="confirm"] :is(.layer-cms, .layer-server) .pl-hot {
fill: var(--accent-soft); stroke: var(--accent); transition-delay: 1100ms; }
.how .scene[data-state="confirm"] .fake-btn-primary {
animation: press 600ms var(--ease-out) 600ms both; }
.how .scene[data-state="confirm"] .fb-idle {
opacity: 0; transition-delay: 900ms; }
.how .scene[data-state="confirm"] .fb-done {
opacity: 1; transition-delay: 900ms; }
.how .scene:is([data-state="confirm"], [data-state="report"]) .card::before {
background: var(--accent); transition-delay: 900ms; }
.how .scene[data-state="report"] .node-dot {
fill: var(--accent-soft); stroke: var(--accent); }
@keyframes press {
0%, 100% {
scale: 1; }
45% {
scale: 0.92; box-shadow: 0 0 0 6px var(--accent-soft); }
}
@keyframes chip-in {
from {
opacity: 0; translate: 6px 0; }
to {
opacity: 1; translate: 0 0; }
}
/* Idle float, applied with the individual translate property so it composes with parallax */
/* Report: the stack collapses and the incident card becomes the report */
.how .scene[data-state="report"] :is(.layer-web, .node-web) {
translate: 0 70px; }
.how .scene[data-state="report"] :is(.layer-server, .node-server) {
translate: 0 -70px; }
.how .scene[data-state="report"] .chip-web {
translate: 0 calc(-50% + 70px); }
.how .scene[data-state="report"] .chip-server {
translate: 0 calc(-50% - 70px); }
.how .scene[data-state="report"] .plane {
opacity: 0.45; }
.how .scene[data-state="report"] :is(.thread, .thread-pulse) {
opacity: 0; }
.how .plane {
transition: stroke 600ms ease, opacity 900ms var(--ease-io); }
.how .sev-ok {
display: none; background: var(--code-bg); color: var(--muted); }
.how .sev-watch {
display: none; background: var(--code-bg); color: var(--ink-2); }
.how .t-report, .how .t-signals {
display: none; }
.how .panel-signals {
display: none; }
.how .layer-label {
display: none; }
.how .stack {
transition: translate 900ms var(--ease-io); }
.how .scene[data-state="report"] .stack {
translate: 0 -35px; }
.how .scene[data-state="report"] .sev-critical, .how .scene[data-state="report"] .t-incident {
display: none; }
.how .scene[data-state="report"] .sev-ok, .how .scene[data-state="report"] .t-report {
display: inline; }
@media (min-width: 1001px) {
.how .card {
transition: opacity 600ms var(--ease-out), scale 700ms var(--ease-out), translate 700ms var(--ease-out), transform 120ms linear, left 900ms var(--ease-io), top 900ms var(--ease-io); }
.how .scene[data-state="report"] .card {
left: 26%; top: 50%; width: 48%;
    transition: transform 120ms linear, left 0s 620ms, top 0s 620ms, width 0s 620ms;
    animation: card-swap 1400ms var(--ease-out) both; }
@keyframes card-swap {
0% {
opacity: 1; translate: 0 0; }
38% {
opacity: 0; translate: 0 0; }
46% {
opacity: 0; translate: 0 16px; }
100% {
opacity: 1; translate: 0 0; }
}
}
/* Mobile story: scene follows the hero, steps carry their own mini state */
@media (max-width: 1000px) {
.how .story-grid {
grid-template-columns: minmax(0, 1fr); gap: 0; }
.how .story-text {
display: contents; }
.how .story-stage {
order: 2; margin: 0 calc(var(--pad) * -0.5); }
.how .stage-sticky {
position: static; height: auto; }
.how .steps-head {
order: 3; padding: 72px 0 8px; }
.how .steps {
order: 4; padding-bottom: 56px; }
.how .step {
min-height: 0; padding: 32px 0; border-top: 1px solid var(--line); }
.how .step:first-child {
border-top: 0; }
.how .mini {
display: block; margin-top: 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; padding: 14px 16px; font-size: 0.86rem; color: var(--ink-2); }
.how .step .mini p {
margin: 0; max-width: none; font-size: 0.86rem; color: var(--ink-2); }
.how .step .mini p + p {
margin-top: 8px; }
.how .step .mini .mini-text {
min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.how .step .mini .mini-row {
display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); }
.how .step .mini .mini-label {
font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.how .step .mini .mini-ok {
font-family: var(--mono); font-size: 0.72rem; color: var(--accent); }
.how .mini-ok::before {
content: "✓ "; }
.how .mini .sev {
min-width: 84px; text-align: center; flex: none; }
.how .card {
position: relative; left: auto; top: auto; width: auto; margin: -8% calc(var(--pad) * 0.5) 0; }
.how .scene {
aspect-ratio: auto; }
.how .scene-layers {
position: relative; aspect-ratio: 640 / 600; }
.how .card {
min-height: 304px; }
.how .scene:is([data-state="idle"], [data-state="signals"]) .card {
opacity: 1; scale: 1; translate: 0 0; }
.how .scene:is([data-state="idle"], [data-state="signals"]) :is(.sev-critical, .t-incident) {
display: none; }
.how .scene:is([data-state="idle"], [data-state="signals"]) :is(.sev-watch, .t-signals) {
display: inline; }
.how .scene:is([data-state="idle"], [data-state="signals"]) .panel-signals {
display: grid; grid-template-rows: 1fr; opacity: 1; }
.how .scene:is([data-state="idle"], [data-state="signals"]) .card::before {
background: var(--line-2); }
.how .card-signals li {
opacity: 0.35; transition: opacity 500ms ease, color 500ms ease; }
.how .scene[data-state="signals"] .card-signals li {
opacity: 1; color: var(--signal); }
.how .scene[data-state="signals"] .card-signals li:nth-child(2) {
transition-delay: 450ms; }
.how .scene[data-state="signals"] .card-signals li:nth-child(3) {
transition-delay: 900ms; }
.how .scene-caption {
justify-content: space-between; padding: 0 calc(var(--pad) * 0.5); }
.how .chip {
right: auto; left: calc(34.84% + 14px); font-size: 0.66rem; }
.how .chip > span {
padding: 5px 7px; }
}
.how .sev {
font-family: var(--mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; white-space: nowrap; }
.how .sev-critical {
background: var(--signal-soft); color: var(--signal); }
.how .sev-high {
background: var(--high-soft); color: var(--high); }
@media (max-width: 640px) {
.how .pl-name {
display: none; }
.how .layer-label {
display: block; position: absolute; left: 2%; margin: 0; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); transform: translate(calc(var(--mx) * 2px), 0); }
.how .ll-web {
top: 13%; }
.how .ll-cms {
top: 39%; }
.how .ll-server {
top: 65%; }
}
@media (max-width: 420px) {
.how .st-obj {
position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
.how .scene *, .how .scene {
transition-duration: 0ms !important; animation: none !important; }
}
@media (forced-colors: active) {
.how .thread-pulse, .how .beam {
display: none; }
.how .plane, .how .pl-detail, .how .pl-hot, .how .pl-tile, .how .pl-grid {
stroke: CanvasText; }
.how .slab-l, .how .slab-r {
fill: Canvas; stroke: CanvasText; }
.how .pl-name, .how .pl-text {
fill: CanvasText; }
.how .thread {
stroke: Highlight; }
.how .card, .how .chip > span {
border: 1px solid CanvasText; }
}
