/* The hero film. Generated by docs/release/teaser/build.py – edit that. */

    .selica-film {
      --canvas: #161920; --panel: #1E222B; --well: #13161C;
      --line: rgba(206,218,245,0.14); --ink: #FFFFFF; --dim: rgba(208,218,240,0.58);
      --grid-minor: rgba(150,180,255,0.065); --grid-major: rgba(150,180,255,0.15);
      --edge: rgba(200,214,245,0.55);
      --blue: #00A0FF; --orange: #FFA032; --indigo: #8296FF; --green: #3CF064;
      --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
      --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    }
    .selica-film * { box-sizing: border-box; }
    .selica-film .film {
      container-type: inline-size; position: relative; width: 100%; aspect-ratio: 16 / 10;
      overflow: hidden; border-radius: 14px; background: var(--canvas); color: var(--ink);
      font-family: var(--sans);
    }
    .selica-film .stage {
      position: absolute; top: 0; left: 0; width: 1600px; height: 1000px;
      transform-origin: top left;
      /* length / length gives a number; the `px` is what makes it valid. */
      transform: scale(calc(100cqw / 1600px));
      opacity: 0; animation: sh-curtain 30.0s linear infinite;
    }
    /* Everything arrives together, and everything goes before the replay. */
    @keyframes sh-curtain {
      0% { opacity: 0; }
      2.500% { opacity: 1; }
      94.667% { opacity: 1; }
      97.333%, 100% { opacity: 0; }
    }
    .selica-film .canvas {
      position: absolute; inset: -40px;
      background:
        repeating-linear-gradient(to right, var(--grid-major) 0 1px, transparent 1px 60px),
        repeating-linear-gradient(to bottom, var(--grid-major) 0 1px, transparent 1px 60px),
        repeating-linear-gradient(to right, var(--grid-minor) 0 1px, transparent 1px 10px),
        repeating-linear-gradient(to bottom, var(--grid-minor) 0 1px, transparent 1px 10px),
        var(--canvas);
      animation: sh-grid 30.0s linear infinite;
    }
    @keyframes sh-grid {
      0% { opacity: 1; transform: translate3d(0,0,0); }
      16.000% { opacity: 1; transform: translate3d(-12px, -7px, 0); }
      17.667% { opacity: 0.4; }
      32.333% { opacity: 0.4; transform: translate3d(8px, -12px, 0); }
      50.667% { opacity: 0.14; }
      67.000% { opacity: 0.16; }
      69.667%, 100% { opacity: 0; transform: translate3d(0,0,0); }
    }

    /* ---- section 1: the graph, which holds still ---- */
    /* Above the panels, so the dragged layer leaves the Add menu over it rather
       than from under it. It is never clicked. */
    .selica-film .lens { position: absolute; inset: 0; perspective: 2200px;
      perspective-origin: 800px 450px; z-index: 1; pointer-events: none; }
    .selica-film .graph {
      position: absolute; inset: 0; transform-origin: 800px 450px;
      transform-style: preserve-3d;
      animation: sh-graph 30.0s cubic-bezier(.4,0,.6,1) infinite;
    }
    @keyframes sh-graph {
      /* A background layer: centred, dimmed, and barely turning. */
      0%   { opacity: 0.74; transform: translate3d(0, 4px, 0) rotateY(-3deg) rotateX(1.4deg) scale(0.88); }
      15.667% { opacity: 0.74; transform: translate3d(0, -4px, 16px) rotateY(2.4deg) rotateX(-1deg) scale(0.902); }
      16.833% { opacity: 0; transform: translate3d(0, -6px, 24px) rotateY(3deg) scale(0.911); }
      100% { opacity: 0; transform: translate3d(0, -6px, 24px) rotateY(3deg) scale(0.911); }
    }
    .selica-film .node {
      position: absolute; width: 235px; height: 108px; border-radius: 12px;
      background: color-mix(in srgb, var(--hue) 14%, var(--canvas));
      border: 1.5px solid color-mix(in srgb, var(--hue) 60%, transparent);
      opacity: 0; animation: land 30.0s linear infinite;
    }
    .selica-film .body { padding: 9px 11px; }
    .selica-film .row.title { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 600;
      letter-spacing: -0.2px; }
    .selica-film .ic { width: 17px; height: 17px; flex: none; }
    .selica-film .op { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 5px; }
    .selica-film .shape { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 3px; }
    .selica-film .live { font-family: var(--mono); font-size: 11px; margin-top: 4px; opacity: 0;
      animation: sh-live-in 30.0s linear infinite; }
    .selica-film .result { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 4px;
      opacity: 0; animation: sh-result-in 30.0s linear infinite; }
    @keyframes sh-result-in {
      0%, 11.667% { opacity: 0; }
      12.667% { opacity: 1; }
      16.000% { opacity: 1; }
      16.667%, 100% { opacity: 0; }
    }
    .selica-film .result b { color: #fff; font-family: var(--sans); font-size: 13px; }
    .selica-film .port { position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
      border-radius: 50%; background: rgba(255,255,255,0.45); }
    .selica-film .port.in { top: -4.5px; }
    .selica-film .port.out { bottom: -4.5px; background: rgba(255,255,255,0.65); }
    @keyframes sh-live-in {
      0%, 7.000% { opacity: 0; }
      8.000% { opacity: 1; }
      16.000% { opacity: 1; }
      16.667%, 100% { opacity: 0; }
    }
    .selica-film .slot {
      position: absolute; width: 235px; height: 108px; border-radius: 12px;
      border: 1.5px dashed rgba(255,255,255,0.22); background: rgba(255,255,255,0.02);
      animation: sh-slot 30.0s linear infinite, sh-slot-pulse 1.0s ease-in-out infinite;
    }
    @keyframes sh-slot {
      0% { opacity: 1; }
      5.600% { opacity: 1; }
      5.867%, 100% { opacity: 0; }
    }
    @keyframes sh-slot-pulse {
      0%, 100% { border-color: rgba(255,255,255,0.22); }
      50% { border-color: rgba(160,200,255,0.8); }
    }
    .selica-film .drag {
      position: absolute; width: 235px; height: 108px; border-radius: 12px;
      background: color-mix(in srgb, #A0C8FF 14%, var(--canvas));
      border: 1.5px dashed rgba(160,200,255,0.9); opacity: 0;
      box-shadow: 0 26px 60px rgba(0,0,0,0.6);
      animation: sh-drag 30.0s linear infinite;
    }
    @keyframes sh-drag {
      0%, 1.500% { opacity: 0; transform: translate3d(-520px, -34px, 160px) scale(0.86) rotate(4deg); }
      2.067% { opacity: 1; transform: translate3d(-520px, -34px, 160px) scale(0.86) rotate(4deg);
        animation-timing-function: cubic-bezier(.3,1.02,.3,1); }
      5.667% { opacity: 1; transform: translate3d(0,0,0) scale(1) rotate(0deg); }
      5.733%, 100% { opacity: 0; transform: translate3d(0,0,0) scale(1); }
    }
    .selica-film .edge { position: absolute; width: 2px; background: var(--edge); transform-origin: top center;
      animation: sh-edge-in 30.0s linear infinite; }
    .selica-film .edge.across { width: auto; transform-origin: left center; }
    .selica-film .e2, .selica-film .e3 { animation-name: sh-edge-late; }
    @keyframes sh-edge-late {
      0%, 5.733% { transform: scaleY(1); opacity: 0.25; }
      6.333% { transform: scaleY(1); opacity: 0.85;
        animation-timing-function: cubic-bezier(.22,1.1,.36,1); }
      17.000% { transform: scaleY(1); opacity: 0.85; }
      17.333%, 100% { transform: scaleY(0); opacity: 0; }
    }
    @keyframes sh-edge-in {
      0%, 17.000% { transform: scaleY(1); opacity: 0.85; }
      17.333%, 100% { transform: scaleY(0); opacity: 0; }
    }

    /* ---- section 2: the network ---- */
    .selica-film .net { position: absolute; inset: 0; opacity: 0;
      animation: sh-net 30.0s cubic-bezier(.4,0,.6,1) infinite; }
    /* In through scene 2 as the subject; behind scene 3, dimmed, so the
       templates and panels read over it; gone as the name arrives, so the
       lockup comes up over an emptying stage. Its turn runs across all of it. */
    @keyframes sh-net {
      0%, 16.167% { opacity: 0; transform: rotateY(5deg) rotateX(2deg) scale(1.0); }
      17.833% { opacity: 1; transform: rotateY(4deg) rotateX(1.4deg) scale(1.01);
        animation-timing-function: linear; }
      32.500% { opacity: 1; transform: rotateY(0.5deg) rotateX(0.2deg) scale(1.03);
        animation-timing-function: cubic-bezier(.4,0,.6,1); }
      34.333% { opacity: 0.34; transform: rotateY(0deg) rotateX(0deg) scale(1.03);
        animation-timing-function: linear; }
      49.833% { opacity: 0.34; transform: rotateY(-3.5deg) rotateX(-1.2deg) scale(1.05);
        animation-timing-function: cubic-bezier(.4,0,.6,1); }
      52.667%, 100% { opacity: 0; transform: rotateY(-4deg) rotateX(-1.4deg) scale(1.06); }
    }
    .selica-film .net svg { width: 1600px; height: 1000px; display: block; }
    .selica-film .wires line { stroke: #7FB4FF; stroke-width: 1; stroke-opacity: 0.075; }
    .selica-film .wires { animation: sh-wire-wave 1.25s linear infinite; }
    .selica-film .w0 { animation-delay: 0s; } .selica-film .w1 { animation-delay: 0.11s; } .selica-film .w2 { animation-delay: 0.22s; }
    @keyframes sh-wire-wave {
      0%, 100% { opacity: 0.55; }
      14% { opacity: 1; }
      34% { opacity: 0.55; }
    }
    .selica-film .u { fill: #1E2530; stroke: #7FB4FF; stroke-opacity: 0.34; stroke-width: 1.2;
      transform-box: fill-box; transform-origin: center; }
    .selica-film .units { animation: sh-fire 1.25s linear infinite; }
    .selica-film .l0 { animation-delay: 0s; } .selica-film .l1 { animation-delay: 0.11s; }
    .selica-film .l2 { animation-delay: 0.22s; } .selica-film .l3 { animation-delay: 0.33s; }
    @keyframes sh-fire {
      0%, 100% { fill: #1E2530; }
      12% { fill: #24384E; }
      30% { fill: #1E2530; }
    }

    /* The signal itself. A connection lifts as a small glowing signal crosses
       it; the node it reaches flashes with the pass's colour and fades. Blue
       going forward, orange coming back. */
    .selica-film .hop line, .selica-film .flash circle { opacity: 0; animation-duration: 30.0s; animation-delay: var(--at);
      animation-timing-function: linear; animation-iteration-count: infinite; }
    .selica-film .hl { stroke-width: 1.4; animation-name: sh-hop-line; }
    .selica-film .hs { stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 16 84;
      stroke-dashoffset: 100; animation-name: sh-hop-sig; }
    .selica-film .hs.halo { stroke-width: 8; }
    .selica-film .fc, .selica-film .fg { animation-name: sh-hop-flash; transform-box: fill-box; transform-origin: center; }
    .selica-film .fwd .hl { stroke: rgba(140,200,255,0.75); }
    .selica-film .fwd .hs { stroke: #DCEEFF; }
    .selica-film .fwd .hs.halo { stroke: rgba(0,160,255,0.3); }
    .selica-film .fwd .fc { fill: #36B4FF; }
    .selica-film .fwd .fg { fill: rgba(0,160,255,0.22); }
    .selica-film .bwd .hl { stroke: rgba(255,170,70,0.75); }
    .selica-film .bwd .hs { stroke: #FFE6C4; }
    .selica-film .bwd .hs.halo { stroke: rgba(255,150,40,0.3); }
    .selica-film .bwd .fc { fill: #FFAE45; }
    .selica-film .bwd .fg { fill: rgba(255,150,40,0.22); }

    @keyframes sh-hop-line {
      0% { opacity: 0; }
      0.167% { opacity: calc(var(--w) * 0.7); }
      0.767% { opacity: calc(var(--w) * 0.3); }
      2.100%, 100% { opacity: 0; }
    }
    @keyframes sh-hop-sig {
      0% { stroke-dashoffset: 100; opacity: 0; }
      0.133% { opacity: var(--w); }
      0.433% { stroke-dashoffset: 0; opacity: var(--w); }
      0.633%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    @keyframes sh-hop-flash {
      0% { opacity: 0; transform: scale(0.8); }
      0.233% { opacity: var(--w); transform: scale(1.06); }
      0.733% { opacity: calc(var(--w) * 0.75); transform: scale(1); }
      2.000%, 100% { opacity: 0; transform: scale(1); }
    }

    .selica-film .n0 { animation: sh-land0 30.0s linear infinite; }
    @keyframes sh-land0 {
      0%, 0.000% { opacity: 1; transform: translateY(0) scale(1); }
      0.033% { opacity: 1; transform: translateY(0) scale(1);
        animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
      0.067%, 17.000% { opacity: 1; transform: translateY(0) scale(1); }
      17.333%, 100% { opacity: 0; transform: translateY(-14px) scale(0.96); }
    }
    .selica-film .n1 { animation: sh-land1 30.0s linear infinite; }
    @keyframes sh-land1 {
      0%, 0.000% { opacity: 1; transform: translateY(0) scale(1); }
      0.033% { opacity: 1; transform: translateY(0) scale(1);
        animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
      0.067%, 17.000% { opacity: 1; transform: translateY(0) scale(1); }
      17.333%, 100% { opacity: 0; transform: translateY(-14px) scale(0.96); }
    }
    .selica-film .n2 { animation: sh-land2 30.0s linear infinite; }
    @keyframes sh-land2 {
      0%, 0.000% { opacity: 1; transform: translateY(0) scale(1); }
      0.033% { opacity: 1; transform: translateY(0) scale(1);
        animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
      0.067%, 17.000% { opacity: 1; transform: translateY(0) scale(1); }
      17.333%, 100% { opacity: 0; transform: translateY(-14px) scale(0.96); }
    }
    .selica-film .n3 { animation: sh-land3 30.0s linear infinite; }
    @keyframes sh-land3 {
      0%, 5.733% { opacity: 0; transform: translateY(0) scale(1); }
      5.800% { opacity: 1; transform: translateY(0) scale(1.04);
        animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
      6.667%, 17.000% { opacity: 1; transform: translateY(0) scale(1); }
      17.333%, 100% { opacity: 0; transform: translateY(-14px) scale(0.96); }
    }
    .selica-film .n4 { animation: sh-land4 30.0s linear infinite; }
    @keyframes sh-land4 {
      0%, 0.000% { opacity: 1; transform: translateY(0) scale(1); }
      0.033% { opacity: 1; transform: translateY(0) scale(1);
        animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
      0.067%, 17.000% { opacity: 1; transform: translateY(0) scale(1); }
      17.333%, 100% { opacity: 0; transform: translateY(-14px) scale(0.96); }
    }
    .selica-film .n5 { animation: sh-land5 30.0s linear infinite; }
    @keyframes sh-land5 {
      0%, 0.000% { opacity: 1; transform: translateY(0) scale(1); }
      0.033% { opacity: 1; transform: translateY(0) scale(1);
        animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
      0.067%, 17.000% { opacity: 1; transform: translateY(0) scale(1); }
      17.333%, 100% { opacity: 0; transform: translateY(-14px) scale(0.96); }
    }

    /* ---- scene three: templates, two runs compared, checkpoints, exports ---- */
    .selica-film .after { position: absolute; inset: 0; opacity: 0; animation: sh-after 30.0s linear infinite; }
    @keyframes sh-after {
      0%, 32.833% { opacity: 0; transform: scale(0.99); }
      34.500% { opacity: 1; transform: scale(1); }
      48.667% { opacity: 1; transform: scale(1.012); }
      50.000%, 100% { opacity: 0; transform: scale(1.018); }
    }
    /* The templates: three pieces of canvas side by side, each a run of five
       nodes drawn as scene 1 draws them, smaller: the family's tint over the
       canvas, its outline, its icon and plain name, ports on the top and
       bottom edges, a thin edge between. No panel: the net shows between them.
       Each builds from the top down, the second and third a beat behind. */
    .selica-film .tgs { position: absolute; left: 326.7px; top: 80px; width: 946.7px;
      height: 328px; }
    .selica-film .tg-col { position: absolute; top: 0; width: 288.9px; height: 100%; }
    .selica-film .tg-node { position: absolute; left: 50%; width: 210px; height: 40px; margin-left: -105px;
      border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 0 12px;
      background: color-mix(in srgb, var(--hue) 14%, var(--canvas));
      border: 1.5px solid color-mix(in srgb, var(--hue) 60%, transparent);
      font-size: 15px; font-weight: 600; letter-spacing: -0.1px; white-space: nowrap;
      opacity: 0; animation: sh-tg-node 30.0s linear infinite; }
    .selica-film .tg-node .ic { width: 15px; height: 15px; }
    .selica-film .tg-node .tp { position: absolute; left: 50%; width: 7px; height: 7px; margin-left: -3.5px;
      border-radius: 50%; background: rgba(255,255,255,0.45); }
    .selica-film .tg-node .tp.in { top: -4px; }
    .selica-film .tg-node .tp.out { bottom: -4px; background: rgba(255,255,255,0.65); }
    .selica-film .tg-node .te { position: absolute; left: 50%; top: -23.5px; width: 2px; height: 22px;
      margin-left: -1px; background: var(--edge); }
    .selica-film .tg-cap { position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
      font-size: 17px; font-weight: 500; color: var(--dim); opacity: 0;
      animation: sh-tg-node 30.0s linear infinite; }
    @keyframes sh-tg-node {
      0%, 33.833% { opacity: 0; transform: translateY(-8px); }
      34.833% { opacity: 1; transform: translateY(0);
        animation-timing-function: cubic-bezier(.2,.8,.3,1); }
      100% { opacity: 1; transform: translateY(0); }
    }

    /* Under the chart, in the same panel: the checkpoints the runs left. */
    .selica-film .snaps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
    .selica-film .snaps .title { flex-basis: 100%; font-size: 13px; letter-spacing: 1.6px; color: var(--dim);
      text-transform: uppercase; }
    .selica-film .snap { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px;
      background: var(--well); border: 1px solid var(--line); font-family: var(--mono);
      font-size: 14px; color: #fff; opacity: 0; white-space: nowrap;
      animation: sh-snap 30.0s linear infinite; }
    .selica-film .snap svg { width: 14px; height: 14px; }
    @keyframes sh-snap {
      0%, 36.667% { opacity: 0; transform: translateY(12px) scale(0.94); }
      37.667% { opacity: 1; transform: translateY(0) scale(1.04);
        animation-timing-function: cubic-bezier(.34,1.5,.64,1); }
      38.500% { opacity: 1; transform: translateY(0) scale(1); }
      48.667% { opacity: 1; transform: translateY(0) scale(1); }
      49.667%, 100% { opacity: 0; }
    }
    /* The title is the row's first div, so the chips are its second to fourth. */
    .selica-film .snap:nth-of-type(3) { animation-delay: 0.28s; }
    .selica-film .snap:nth-of-type(4) { animation-delay: 0.56s; }

    .selica-film .compare { left: 326.7px; top: 448px; width: 453.3px; height: 352px;
      padding: 26px 28px; animation: sh-compare 30.0s linear infinite; }
    @keyframes sh-compare {
      0%, 33.667% { opacity: 0; transform: translateY(20px) scale(0.985); }
      35.000% { opacity: 1; transform: translateY(0) scale(1.01);
        animation-timing-function: cubic-bezier(.34,1.5,.64,1); }
      35.833% { opacity: 1; transform: translateY(0) scale(1); }
      48.667% { opacity: 1; transform: translateY(0) scale(1); }
      49.833%, 100% { opacity: 0; transform: translateY(12px); }
    }
    .selica-film .legend { display: flex; gap: 24px; margin-top: 16px; font-family: var(--mono); font-size: 15px;
      color: var(--dim); }
    .selica-film .legend span { display: flex; align-items: center; gap: 8px; }
    .selica-film .legend i { width: 16px; height: 3px; border-radius: 2px; background: currentColor; }
    .selica-film .runA { stroke-dasharray: 470; stroke-dashoffset: 470; animation: sh-drawA 30.0s linear infinite; }
    .selica-film .runB { stroke-dasharray: 470; stroke-dashoffset: 470; animation: sh-drawB 30.0s linear infinite; }
    @keyframes sh-drawA {
      0%, 35.333% { stroke-dashoffset: 470; }
      42.000% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.25,.6,.3,1); }
      100% { stroke-dashoffset: 0; }
    }
    @keyframes sh-drawB {
      0%, 38.000% { stroke-dashoffset: 470; }
      44.667% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.25,.6,.3,1); }
      100% { stroke-dashoffset: 0; }
    }

    /* Not `.exports`: the site has a class of that name, and it reached in. */
    .selica-film .xmenu { left: 820.0px; top: 448px; width: 453.3px; height: 352px;
      padding: 26px 0 18px; animation: sh-exports 30.0s linear infinite; }
    .selica-film .xmenu .head { padding: 0 28px 16px; }
    .selica-film .xmenu .item { height: 54px; display: flex; align-items: center; gap: 14px;
      padding: 0 28px; font-size: 19px; position: relative; }
    .selica-film .xmenu .mic { width: 19px; height: 19px; flex: none; }
    .selica-film .xmenu .cursor { position: absolute; left: 14px; right: 14px; height: 54px;
      border-radius: 9px; background: rgba(255,255,255,0.07); top: 0;
      animation: sh-ex-cursor 30.0s linear infinite; }
    @keyframes sh-exports {
      0%, 34.333% { opacity: 0; transform: translateY(20px) scale(0.985); }
      35.667% { opacity: 1; transform: translateY(0) scale(1.01);
        animation-timing-function: cubic-bezier(.34,1.5,.64,1); }
      36.500% { opacity: 1; transform: translateY(0) scale(1); }
      48.667% { opacity: 1; transform: translateY(0) scale(1); }
      49.833%, 100% { opacity: 0; transform: translateY(12px); }
    }
    @keyframes sh-ex-cursor {
      0%, 37.333% { transform: translateY(0); }
      38.667% { transform: translateY(54px); }
      40.667% { transform: translateY(108px); }
      43.000% { transform: translateY(162px); }
      45.333%, 100% { transform: translateY(0); }
    }

    /* ---- the connection layer: on the grid, under everything else ---- */
    .selica-film .tracers { position: absolute; inset: -120px; pointer-events: none;
      animation: sh-tracer-cam 30.0s ease-in-out infinite, sh-tracer-out 30.0s linear infinite; }
    @keyframes sh-tracer-out {
      0%, 66.667% { opacity: 1; }
      69.000%, 100% { opacity: 0; }
    }
    .selica-film .tracers svg { width: 100%; height: 100%; display: block; overflow: visible; }
    /* A slow pan and push across the whole loop. */
    @keyframes sh-tracer-cam {
      0%   { transform: translate3d(0, 0, 0) scale(1); }
      26%  { transform: translate3d(-34px, -20px, 0) scale(1.05); }
      52%  { transform: translate3d(22px, -34px, 0) scale(1.08); }
      78%  { transform: translate3d(-14px, 16px, 0) scale(1.04); }
      100% { transform: translate3d(0, 0, 0) scale(1); }
    }
    /* The routes are transparent white; what travels them is a white with
       blue in it, a narrow bright stroke over a wide soft one. */
    .selica-film .wire, .selica-film .lead, .selica-film .pass, .selica-film .bound {
      fill: none; stroke-linecap: round; stroke-linejoin: round;
      animation-timing-function: linear; animation-iteration-count: infinite;
      animation-duration: 30.0s;
    }
    .selica-film .wire { stroke: rgba(255,255,255,0.07); stroke-width: 16px;
      stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: 0; }
    .selica-film .lead { stroke: rgba(205,228,255,0.6); stroke-width: 10px;
      stroke-dasharray: 90 910; stroke-dashoffset: 1000; opacity: 0; }
    .selica-film .pass { stroke: rgba(195,222,255,0.45); stroke-width: 10px;
      stroke-dasharray: 54 946; stroke-dashoffset: 1000; opacity: 0; }
    .selica-film .lead.halo, .selica-film .pass.halo { stroke: rgba(80,160,255,0.22); stroke-width: 32px; }
    /* The dashed one reads as a boundary, the way a pass is drawn on the
       canvas: thinner, longer dashes, square ends. It carries no signal. */
    .selica-film .bound { stroke: rgba(255,255,255,0.11); stroke-width: 10px;
      stroke-linecap: butt; stroke-dasharray: 44 30; opacity: 0; }
    /* ---- panels, type and the close ---- */
    .selica-film .ui { position: absolute; inset: 0; pointer-events: none; }
    .selica-film .scrim {
      position: absolute; left: 0; right: 0; bottom: 0; height: 300px;
      background: linear-gradient(to top, rgba(10,12,17,0.97) 32%, rgba(10,12,17,0.8) 58%, transparent);
      animation: sh-scrim 30.0s linear infinite;
    }
    @keyframes sh-scrim {
      0%, 49.500% { opacity: 1; }
      50.833%, 100% { opacity: 0; }
    }
    .selica-film .slogan {
      position: absolute; left: 50%; transform: translateX(-50%); width: 1300px; bottom: 54px;
      text-align: center;
      font-size: 50px; font-weight: 600; letter-spacing: -0.9px; line-height: 1.1;
      opacity: 0; animation-duration: 30.0s; animation-iteration-count: infinite;
      animation-timing-function: linear;
    }
    @keyframes sh-slogan {
      0% { opacity: 0; transform: translate(-50%, 18px); }
      1.2% { opacity: 1; transform: translate(-50%, 0);
        animation-timing-function: cubic-bezier(.22,1.2,.36,1); }
      6.3% { opacity: 1; transform: translate(-50%, 0); }
      7.5%, 100% { opacity: 0; transform: translate(-50%, -10px); }
    }
    .selica-film .s0 { animation-name: sh-slogan; animation-delay: 0.25s; }
    .selica-film .s1 { animation-name: sh-slogan; animation-delay: 2.55s; }
    .selica-film .s2 { animation-name: sh-slogan; animation-delay: 5.35s; }
    .selica-film .s3 { animation-name: sh-slogan; animation-delay: 7.65s; font-size: 42px; }
    .selica-film .s4 { animation-name: sh-slogan; animation-delay: 10.35s; }
    .selica-film .s5 { animation-name: sh-slogan; animation-delay: 12.65s; }

    .selica-film .panel { position: absolute; background: var(--panel); border: 1px solid var(--line);
      box-shadow: 0 24px 60px rgba(0,0,0,0.45);
      border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,0.55); opacity: 0; }
    .selica-film .panel .head { font-size: 13px; letter-spacing: 1.6px; color: var(--dim); text-transform: uppercase; }
    .selica-film .tag { margin-left: 10px; padding: 3px 8px; border-radius: 5px; letter-spacing: 1px;
      background: rgba(255,255,255,0.08); color: var(--dim); }

    /* The loss curve */
    /* The right four columns, level with the Add menu on the left. */
    .selica-film .chart { left: 1066.7px; top: 305px; width: 453.3px; height: 290px;
      padding: 24px 28px; animation: sh-chart 30.0s linear infinite; }
    @keyframes sh-chart {
      0%, 2.333% { opacity: 0; transform: translateY(20px) scale(0.98); }
      3.500% { opacity: 1; transform: translateY(0) scale(1.01);
        animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
      4.167% { opacity: 1; transform: translateY(0) scale(1); }
      15.833% { opacity: 1; transform: translateY(0) scale(1); }
      16.833%, 100% { opacity: 0; transform: translateY(12px); }
    }
    .selica-film .readout { height: 30px; overflow: hidden; margin-top: 12px; }
    .selica-film .readout .r { height: 30px; line-height: 30px; font-family: var(--mono); font-size: 16px;
      color: var(--dim); }
    .selica-film .readout .roll { animation: sh-readout 30.0s linear infinite; }
    @keyframes sh-readout {
      0%, 4.333% { transform: translateY(0); animation-timing-function: steps(8, end); }
      15.000%, 100% { transform: translateY(-240px); }
    }
    .selica-film .curve { stroke-dasharray: 470; stroke-dashoffset: 470; animation: sh-draw 30.0s linear infinite; }
    @keyframes sh-draw {
      0%, 4.333% { stroke-dashoffset: 470; }
      15.000% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.25,.6,.3,1); }
      100% { stroke-dashoffset: 0; }
    }

    /* The Add menu */
    /* The left four columns, level with the loss chart on the right; the
       graph's nodes stay in the four between. */
    .selica-film .add { left: 80.0px; top: 305px; width: 453.3px; height: 290px;
      padding: 24px 0 0; animation: sh-add 30.0s linear infinite; }
    .selica-film .add .head { height: 24px; padding: 0 24px; }
    .selica-film .add .window { height: 230px; overflow: hidden; position: relative; }
    .selica-film .add .list { animation: sh-add-scroll 30.0s linear infinite; }
    .selica-film .add .item { height: 46px; display: flex; align-items: center; gap: 12px;
      padding: 0 24px; font-size: 18px; white-space: nowrap; }
    .selica-film .add .mic { width: 18px; height: 18px; flex: none; }
    .selica-film .add .item span { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--dim); }
    /* The highlight rests on the row the Dense layer is dragged from. */
    .selica-film .add .cursor { position: absolute; left: 12px; right: 12px; height: 46px;
      border-radius: 9px; background: rgba(255,255,255,0.07); top: 184px; }
    @keyframes sh-add {
      0%, 0.333% { opacity: 1; transform: translateY(0) scale(1); }
      15.833% { opacity: 1; transform: translateY(0) scale(1); }
      16.833%, 100% { opacity: 0; transform: translateY(12px); }
    }
    @keyframes sh-add-scroll {
      0%, 2.667% { transform: translateY(0); animation-timing-function: linear; }
      15.667%, 100% { transform: translateY(-644px); }
    }

    /* The inputs, one at a time */
    /* Centred above the net, on the four middle columns. */
    .selica-film .incard { position: absolute; left: 573.3px; top: 80px; width: 453.3px;
      height: 130px; padding: 0 26px; justify-content: center;
      background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
      box-shadow: 0 30px 70px rgba(0,0,0,0.55); display: flex; align-items: center; gap: 22px;
      opacity: 0; animation-duration: 30.0s; animation-iteration-count: infinite;
      animation-timing-function: linear; }
    .selica-film .incard .art { width: 94px; height: 94px; flex: none; background: var(--well);
      border-radius: 12px; padding: 0; }
    .selica-film .incard .art svg { width: 94px; height: 94px; display: block; }
    .selica-film .incard .meta b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.4px; }
    .selica-film .incard .meta span { font-family: var(--mono); font-size: 15px; color: var(--dim); }
    /* One card at a time: the four are 1.1 s apart, so each is gone before
       the next arrives. */
    @keyframes sh-incard {
      0% { opacity: 0; transform: translateY(14px) scale(0.96); }
      1.0% { opacity: 1; transform: translateY(0) scale(1.03);
        animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
      1.5% { opacity: 1; transform: translateY(0) scale(1); }
      2.9% { opacity: 1; transform: translateY(0) scale(1); }
      3.6%, 100% { opacity: 0; transform: translateY(-10px); }
    }

    /* The close is the name: the loss-curve mark and "Selica", one lockup. It
       arrives as the closing lines did, the mark drawing itself in as the loss
       curve does, holds, and then rises and shrinks to become the end card's
       title. (On the site it gives way to the page's headline instead.) */
    .selica-film .lockup { position: absolute; left: 50%; top: 50%;
      --rise: 84px; opacity: 0; transform: translate(-50%, -50%) scale(0.95);
      animation: sh-lockup 30.0s linear infinite; }
    .selica-film .lockup-row { display: flex; align-items: center; gap: 30px; }
    .selica-film .lockup svg { width: 132px; height: 88px; flex: none; overflow: visible; }
    .selica-film .lockup path { stroke-dasharray: 1 1; stroke-dashoffset: -1;
      animation: sh-lockup-draw 30.0s linear infinite; }
    .selica-film .lockup span { font-size: 92px; font-weight: 600; letter-spacing: -2.4px; line-height: 1; }
    @keyframes sh-lockup {
      0%, 50.667% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
      52.000% { opacity: 1; transform: translate(-50%, -50%) scale(1);
        animation-timing-function: cubic-bezier(.2,1.05,.3,1); }
      64.667% { opacity: 1; transform: translate(-50%, -50%) scale(1.03);
        animation-timing-function: cubic-bezier(.6,0,.2,1); }
      67.000% { opacity: 1; transform: translate(-50%, calc(-50% - var(--rise))) scale(0.5); }
      95.333% { opacity: 1; transform: translate(-50%, calc(-50% - var(--rise))) scale(0.51); }
      97.333%, 100% { opacity: 0; transform: translate(-50%, calc(-50% - var(--rise))) scale(0.51); }
    }
    /* The curve draws from its high left end down to the right, as a loss does. */
    @keyframes sh-lockup-draw {
      0%, 51.000% { stroke-dashoffset: -1; animation-timing-function: cubic-bezier(.45,0,.25,1); }
      55.667%, 100% { stroke-dashoffset: 0; }
    }
    .selica-film .endcard { position: absolute; inset: 0; display: grid; place-items: center; align-content: center;
      gap: 10px; text-align: center; opacity: 0; animation: sh-endcard 30.0s linear infinite; }
    /* The lockup is the card's title; this keeps its place in the column. */
    .selica-film .endcard .mark { height: 46px; }
    .selica-film .endcard .what { font-size: 23px; color: var(--dim); max-width: 860px; margin-top: 12px;
      line-height: 1.45; }
    .selica-film .endcard .cta { font-size: 30px; font-weight: 500; margin-top: 30px; letter-spacing: -0.1px;
      color: var(--blue); }
    @keyframes sh-endcard {
      0%, 65.333% { opacity: 0; transform: translateY(14px) scale(0.995); }
      67.000% { opacity: 1; transform: translateY(0) scale(1);
        animation-timing-function: linear; }
      95.333% { opacity: 1; transform: translateY(0) scale(1.018); }
      97.333%, 100% { opacity: 0; transform: scale(1.02); }
    }

    @container (max-width: 760px) {
      .selica-film .slogan { font-size: 62px; width: 92%; }
      .selica-film .s3 { font-size: 54px; }
      .selica-film .lockup { --rise: 95px; }
      .selica-film .lockup-row { transform: scale(1.4); }
      .selica-film .endcard .mark { height: 64px; }
      .selica-film .endcard .what { font-size: 28px; }
      .selica-film .endcard .cta { font-size: 38px; }
      /* At phone width the side panels would be too small to read: scene 1
         keeps the graph, scene 3 the three templates, larger, in the middle of
         the band; the input card grows in place over the net. */
      .selica-film .chart, .selica-film .add, .selica-film .compare, .selica-film .xmenu { display: none; }
      .selica-film .lens { transform: scale(1.15); transform-origin: 800px 430px; }
      .selica-film .incard { left: 330px; width: 940px; top: 40px; height: 220px; gap: 36px; }
      .selica-film .incard .art, .selica-film .incard .art svg { width: 150px; height: 150px; }
      .selica-film .incard .meta b { font-size: 60px; }
      .selica-film .incard .meta span { font-size: 32px; }
      .selica-film .tgs { transform: translateY(206px) scale(1.55);
        transform-origin: 50% 50%; }
      .selica-film .tg-cap { font-size: 22px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .selica-film .stage, .selica-film .canvas, .selica-film .graph, .selica-film .node, .selica-film .edge, .selica-film .net, .selica-film .units, .selica-film .wires, .selica-film .u, .selica-film .slogan, .selica-film .panel, .selica-film .incard, .selica-film .lockup, .selica-film .lockup path, .selica-film .endcard, .selica-film .curve, .selica-film .readout .roll, .selica-film .add .list, .selica-film .live, .selica-film .scrim, .selica-film .tracers, .selica-film .wire, .selica-film .lead, .selica-film .pass, .selica-film .bound, .selica-film .after, .selica-film .tg-node, .selica-film .tg-cap, .selica-film .snap, .selica-film .slot, .selica-film .drag {
        animation: none !important;
      }
      /* The finished graph, scaled as it stands, with both its panels. */
      .selica-film .graph { transform: scale(0.88); }
      .selica-film .stage, .selica-film .node, .selica-film .edge, .selica-film .graph, .selica-film .scrim, .selica-film .add { opacity: 1; }
      .selica-film .net, .selica-film .incard, .selica-film .lockup, .selica-film .endcard, .selica-film .after, .selica-film .slot, .selica-film .drag { opacity: 0; }
      .selica-film .lead, .selica-film .pass { opacity: 0; }
      /* Only the first scene's wiring, as it stands in that scene. */
      .selica-film .wire, .selica-film .bound { opacity: 0; stroke-dashoffset: 0; }
      .selica-film .b0, .selica-film .w00, .selica-film .w01 { opacity: 1; }
      .selica-film .readout .roll { transform: translateY(-240px); }
      .selica-film .chart { opacity: 1; }
      .selica-film .s0 { opacity: 1; }
      .selica-film .curve { stroke-dashoffset: 0; }
    }

    .selica-film .b0 { animation-name: sh-bound0, sh-march; animation-duration: 30.0s, 16s; }
    @keyframes sh-bound0 {
      0%, 3.574% { opacity: 0; }
      6.574% { opacity: 1; }
      14.300% { opacity: 1; }
      16.967%, 100% { opacity: 0; }
    }
    .selica-film .w00 { animation-name: sh-draw00; }
    @keyframes sh-draw00 {
      0%, 4.078% { stroke-dashoffset: 1000; opacity: 0; }
      4.112% { stroke-dashoffset: 1000; opacity: 1; }
      4.870% { stroke-dashoffset: 982; }
      5.662% { stroke-dashoffset: 954; }
      6.453% { stroke-dashoffset: 911; }
      7.245% { stroke-dashoffset: 846; }
      8.037% { stroke-dashoffset: 745; }
      8.828% { stroke-dashoffset: 592; }
      9.620% { stroke-dashoffset: 358; }
      10.412% { stroke-dashoffset: 0; opacity: 1; }
      14.808% { stroke-dashoffset: 0; opacity: 1; }
      16.475%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l00 { animation-name: sh-lead00; }
    @keyframes sh-lead00 {
      0%, 4.078% { stroke-dashoffset: 1000; opacity: 0; }
      4.870% { stroke-dashoffset: 982; opacity: 0.56; }
      5.662% { stroke-dashoffset: 954; opacity: 0.81; }
      6.453% { stroke-dashoffset: 911; opacity: 0.95; }
      7.245% { stroke-dashoffset: 846; opacity: 1.00; }
      8.037% { stroke-dashoffset: 745; opacity: 0.95; }
      8.828% { stroke-dashoffset: 592; opacity: 0.81; }
      9.620% { stroke-dashoffset: 358; opacity: 0.56; }
      10.412%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p000 { opacity: 0; animation: none; }
    .selica-film .p001 { opacity: 0; animation: none; }
    .selica-film .p002 { opacity: 0; animation: none; }
    .selica-film .w01 { animation-name: sh-draw01; }
    @keyframes sh-draw01 {
      0%, 3.830% { stroke-dashoffset: 1000; opacity: 0; }
      3.863% { stroke-dashoffset: 1000; opacity: 1; }
      4.621% { stroke-dashoffset: 982; }
      5.413% { stroke-dashoffset: 954; }
      6.205% { stroke-dashoffset: 911; }
      6.996% { stroke-dashoffset: 846; }
      7.788% { stroke-dashoffset: 745; }
      8.580% { stroke-dashoffset: 592; }
      9.371% { stroke-dashoffset: 358; }
      10.163% { stroke-dashoffset: 0; opacity: 1; }
      14.741% { stroke-dashoffset: 0; opacity: 1; }
      16.408%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l01 { animation-name: sh-lead01; }
    @keyframes sh-lead01 {
      0%, 3.830% { stroke-dashoffset: 1000; opacity: 0; }
      4.621% { stroke-dashoffset: 982; opacity: 0.56; }
      5.413% { stroke-dashoffset: 954; opacity: 0.81; }
      6.205% { stroke-dashoffset: 911; opacity: 0.95; }
      6.996% { stroke-dashoffset: 846; opacity: 1.00; }
      7.788% { stroke-dashoffset: 745; opacity: 0.95; }
      8.580% { stroke-dashoffset: 592; opacity: 0.81; }
      9.371% { stroke-dashoffset: 358; opacity: 0.56; }
      10.163%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p010 { opacity: 0; animation: none; }
    .selica-film .p011 { opacity: 0; animation: none; }
    .selica-film .p012 { opacity: 0; animation: none; }
    .selica-film .w02 { animation-name: sh-draw02; }
    @keyframes sh-draw02 {
      0%, 0.631% { stroke-dashoffset: 1000; opacity: 0; }
      0.664% { stroke-dashoffset: 1000; opacity: 1; }
      1.422% { stroke-dashoffset: 982; }
      2.214% { stroke-dashoffset: 954; }
      3.006% { stroke-dashoffset: 911; }
      3.797% { stroke-dashoffset: 846; }
      4.589% { stroke-dashoffset: 745; }
      5.381% { stroke-dashoffset: 592; }
      6.172% { stroke-dashoffset: 358; }
      6.964% { stroke-dashoffset: 0; opacity: 1; }
      13.219% { stroke-dashoffset: 0; opacity: 1; }
      14.885%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l02 { animation-name: sh-lead02; }
    @keyframes sh-lead02 {
      0%, 0.631% { stroke-dashoffset: 1000; opacity: 0; }
      1.422% { stroke-dashoffset: 982; opacity: 0.56; }
      2.214% { stroke-dashoffset: 954; opacity: 0.81; }
      3.006% { stroke-dashoffset: 911; opacity: 0.95; }
      3.797% { stroke-dashoffset: 846; opacity: 1.00; }
      4.589% { stroke-dashoffset: 745; opacity: 0.95; }
      5.381% { stroke-dashoffset: 592; opacity: 0.81; }
      6.172% { stroke-dashoffset: 358; opacity: 0.56; }
      6.964%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p020 { animation-name: sh-pass020; }
    @keyframes sh-pass020 {
      0%, 7.886% { stroke-dashoffset: 1000; opacity: 0; }
      8.563% { stroke-dashoffset: 982; opacity: 0.56; }
      9.240% { stroke-dashoffset: 954; opacity: 0.81; }
      9.917% { stroke-dashoffset: 911; opacity: 0.95; }
      10.594% { stroke-dashoffset: 846; opacity: 1.00; }
      11.271% { stroke-dashoffset: 745; opacity: 0.95; }
      11.947% { stroke-dashoffset: 592; opacity: 0.81; }
      12.624% { stroke-dashoffset: 358; opacity: 0.56; }
      13.301%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p021 { opacity: 0; animation: none; }
    .selica-film .p022 { opacity: 0; animation: none; }
    .selica-film .b1 { animation-name: sh-bound1, sh-march; animation-duration: 30.0s, 16s; }
    @keyframes sh-bound1 {
      0%, 17.862% { opacity: 0; }
      20.862% { opacity: 1; }
      29.876% { opacity: 1; }
      32.543%, 100% { opacity: 0; }
    }
    .selica-film .w10 { animation-name: sh-draw10; }
    @keyframes sh-draw10 {
      0%, 18.276% { stroke-dashoffset: 1000; opacity: 0; }
      18.310% { stroke-dashoffset: 1000; opacity: 1; }
      19.068% { stroke-dashoffset: 982; }
      19.860% { stroke-dashoffset: 954; }
      20.651% { stroke-dashoffset: 911; }
      21.443% { stroke-dashoffset: 846; }
      22.235% { stroke-dashoffset: 745; }
      23.026% { stroke-dashoffset: 592; }
      23.818% { stroke-dashoffset: 358; }
      24.610% { stroke-dashoffset: 0; opacity: 1; }
      30.146% { stroke-dashoffset: 0; opacity: 1; }
      31.813%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l10 { animation-name: sh-lead10; }
    @keyframes sh-lead10 {
      0%, 18.276% { stroke-dashoffset: 1000; opacity: 0; }
      19.068% { stroke-dashoffset: 982; opacity: 0.56; }
      19.860% { stroke-dashoffset: 954; opacity: 0.81; }
      20.651% { stroke-dashoffset: 911; opacity: 0.95; }
      21.443% { stroke-dashoffset: 846; opacity: 1.00; }
      22.235% { stroke-dashoffset: 745; opacity: 0.95; }
      23.026% { stroke-dashoffset: 592; opacity: 0.81; }
      23.818% { stroke-dashoffset: 358; opacity: 0.56; }
      24.610%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p100 { animation-name: sh-pass100; }
    @keyframes sh-pass100 {
      0%, 24.619% { stroke-dashoffset: 1000; opacity: 0; }
      25.172% { stroke-dashoffset: 982; opacity: 0.56; }
      25.724% { stroke-dashoffset: 954; opacity: 0.81; }
      26.277% { stroke-dashoffset: 911; opacity: 0.95; }
      26.830% { stroke-dashoffset: 846; opacity: 1.00; }
      27.383% { stroke-dashoffset: 745; opacity: 0.95; }
      27.936% { stroke-dashoffset: 592; opacity: 0.81; }
      28.489% { stroke-dashoffset: 358; opacity: 0.56; }
      29.041%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p101 { opacity: 0; animation: none; }
    .selica-film .p102 { opacity: 0; animation: none; }
    .selica-film .w11 { animation-name: sh-draw11; }
    @keyframes sh-draw11 {
      0%, 18.424% { stroke-dashoffset: 1000; opacity: 0; }
      18.458% { stroke-dashoffset: 1000; opacity: 1; }
      19.216% { stroke-dashoffset: 982; }
      20.008% { stroke-dashoffset: 954; }
      20.799% { stroke-dashoffset: 911; }
      21.591% { stroke-dashoffset: 846; }
      22.383% { stroke-dashoffset: 745; }
      23.174% { stroke-dashoffset: 592; }
      23.966% { stroke-dashoffset: 358; }
      24.758% { stroke-dashoffset: 0; opacity: 1; }
      31.388% { stroke-dashoffset: 0; opacity: 1; }
      33.054%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l11 { animation-name: sh-lead11; }
    @keyframes sh-lead11 {
      0%, 18.424% { stroke-dashoffset: 1000; opacity: 0; }
      19.216% { stroke-dashoffset: 982; opacity: 0.56; }
      20.008% { stroke-dashoffset: 954; opacity: 0.81; }
      20.799% { stroke-dashoffset: 911; opacity: 0.95; }
      21.591% { stroke-dashoffset: 846; opacity: 1.00; }
      22.383% { stroke-dashoffset: 745; opacity: 0.95; }
      23.174% { stroke-dashoffset: 592; opacity: 0.81; }
      23.966% { stroke-dashoffset: 358; opacity: 0.56; }
      24.758%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p110 { animation-name: sh-pass110; }
    @keyframes sh-pass110 {
      0%, 25.007% { stroke-dashoffset: 1000; opacity: 0; }
      25.632% { stroke-dashoffset: 982; opacity: 0.56; }
      26.258% { stroke-dashoffset: 954; opacity: 0.81; }
      26.883% { stroke-dashoffset: 911; opacity: 0.95; }
      27.509% { stroke-dashoffset: 846; opacity: 1.00; }
      28.134% { stroke-dashoffset: 745; opacity: 0.95; }
      28.760% { stroke-dashoffset: 592; opacity: 0.81; }
      29.385% { stroke-dashoffset: 358; opacity: 0.56; }
      30.011%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p111 { animation-name: sh-pass111; }
    @keyframes sh-pass111 {
      0%, 25.044% { stroke-dashoffset: 1000; opacity: 0; }
      25.581% { stroke-dashoffset: 982; opacity: 0.56; }
      26.117% { stroke-dashoffset: 954; opacity: 0.81; }
      26.654% { stroke-dashoffset: 911; opacity: 0.95; }
      27.190% { stroke-dashoffset: 846; opacity: 1.00; }
      27.727% { stroke-dashoffset: 745; opacity: 0.95; }
      28.263% { stroke-dashoffset: 592; opacity: 0.81; }
      28.800% { stroke-dashoffset: 358; opacity: 0.56; }
      29.336%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p112 { animation-name: sh-pass112; }
    @keyframes sh-pass112 {
      0%, 26.190% { stroke-dashoffset: 1000; opacity: 0; }
      26.704% { stroke-dashoffset: 982; opacity: 0.56; }
      27.218% { stroke-dashoffset: 954; opacity: 0.81; }
      27.732% { stroke-dashoffset: 911; opacity: 0.95; }
      28.245% { stroke-dashoffset: 846; opacity: 1.00; }
      28.759% { stroke-dashoffset: 745; opacity: 0.95; }
      29.273% { stroke-dashoffset: 592; opacity: 0.81; }
      29.787% { stroke-dashoffset: 358; opacity: 0.56; }
      30.301%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .w12 { animation-name: sh-draw12; }
    @keyframes sh-draw12 {
      0%, 21.088% { stroke-dashoffset: 1000; opacity: 0; }
      21.121% { stroke-dashoffset: 1000; opacity: 1; }
      21.880% { stroke-dashoffset: 982; }
      22.671% { stroke-dashoffset: 954; }
      23.463% { stroke-dashoffset: 911; }
      24.255% { stroke-dashoffset: 846; }
      25.046% { stroke-dashoffset: 745; }
      25.838% { stroke-dashoffset: 592; }
      26.630% { stroke-dashoffset: 358; }
      27.421% { stroke-dashoffset: 0; opacity: 1; }
      29.088% { stroke-dashoffset: 0; opacity: 1; }
      30.755%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l12 { animation-name: sh-lead12; }
    @keyframes sh-lead12 {
      0%, 21.088% { stroke-dashoffset: 1000; opacity: 0; }
      21.880% { stroke-dashoffset: 982; opacity: 0.56; }
      22.671% { stroke-dashoffset: 954; opacity: 0.81; }
      23.463% { stroke-dashoffset: 911; opacity: 0.95; }
      24.255% { stroke-dashoffset: 846; opacity: 1.00; }
      25.046% { stroke-dashoffset: 745; opacity: 0.95; }
      25.838% { stroke-dashoffset: 592; opacity: 0.81; }
      26.630% { stroke-dashoffset: 358; opacity: 0.56; }
      27.421%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p120 { opacity: 0; animation: none; }
    .selica-film .p121 { opacity: 0; animation: none; }
    .selica-film .p122 { opacity: 0; animation: none; }
    .selica-film .b2 { animation-name: sh-bound2, sh-march; animation-duration: 30.0s, 16s; }
    @keyframes sh-bound2 {
      0%, 35.006% { opacity: 0; }
      38.006% { opacity: 1; }
      48.596% { opacity: 1; }
      51.263%, 100% { opacity: 0; }
    }
    .selica-film .w20 { animation-name: sh-draw20; }
    @keyframes sh-draw20 {
      0%, 37.759% { stroke-dashoffset: 1000; opacity: 0; }
      37.793% { stroke-dashoffset: 1000; opacity: 1; }
      38.551% { stroke-dashoffset: 982; }
      39.343% { stroke-dashoffset: 954; }
      40.134% { stroke-dashoffset: 911; }
      40.926% { stroke-dashoffset: 846; }
      41.718% { stroke-dashoffset: 745; }
      42.509% { stroke-dashoffset: 592; }
      43.301% { stroke-dashoffset: 358; }
      44.093% { stroke-dashoffset: 0; opacity: 1; }
      45.964% { stroke-dashoffset: 0; opacity: 1; }
      47.631%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l20 { animation-name: sh-lead20; }
    @keyframes sh-lead20 {
      0%, 37.759% { stroke-dashoffset: 1000; opacity: 0; }
      38.551% { stroke-dashoffset: 982; opacity: 0.56; }
      39.343% { stroke-dashoffset: 954; opacity: 0.81; }
      40.134% { stroke-dashoffset: 911; opacity: 0.95; }
      40.926% { stroke-dashoffset: 846; opacity: 1.00; }
      41.718% { stroke-dashoffset: 745; opacity: 0.95; }
      42.509% { stroke-dashoffset: 592; opacity: 0.81; }
      43.301% { stroke-dashoffset: 358; opacity: 0.56; }
      44.093%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p200 { opacity: 0; animation: none; }
    .selica-film .p201 { opacity: 0; animation: none; }
    .selica-film .p202 { opacity: 0; animation: none; }
    .selica-film .w21 { animation-name: sh-draw21; }
    @keyframes sh-draw21 {
      0%, 38.160% { stroke-dashoffset: 1000; opacity: 0; }
      38.193% { stroke-dashoffset: 1000; opacity: 1; }
      38.952% { stroke-dashoffset: 982; }
      39.743% { stroke-dashoffset: 954; }
      40.535% { stroke-dashoffset: 911; }
      41.327% { stroke-dashoffset: 846; }
      42.118% { stroke-dashoffset: 745; }
      42.910% { stroke-dashoffset: 592; }
      43.702% { stroke-dashoffset: 358; }
      44.493% { stroke-dashoffset: 0; opacity: 1; }
      46.797% { stroke-dashoffset: 0; opacity: 1; }
      48.464%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l21 { animation-name: sh-lead21; }
    @keyframes sh-lead21 {
      0%, 38.160% { stroke-dashoffset: 1000; opacity: 0; }
      38.952% { stroke-dashoffset: 982; opacity: 0.56; }
      39.743% { stroke-dashoffset: 954; opacity: 0.81; }
      40.535% { stroke-dashoffset: 911; opacity: 0.95; }
      41.327% { stroke-dashoffset: 846; opacity: 1.00; }
      42.118% { stroke-dashoffset: 745; opacity: 0.95; }
      42.910% { stroke-dashoffset: 592; opacity: 0.81; }
      43.702% { stroke-dashoffset: 358; opacity: 0.56; }
      44.493%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p210 { opacity: 0; animation: none; }
    .selica-film .p211 { opacity: 0; animation: none; }
    .selica-film .p212 { opacity: 0; animation: none; }
    .selica-film .w22 { animation-name: sh-draw22; }
    @keyframes sh-draw22 {
      0%, 36.884% { stroke-dashoffset: 1000; opacity: 0; }
      36.917% { stroke-dashoffset: 1000; opacity: 1; }
      37.675% { stroke-dashoffset: 982; }
      38.467% { stroke-dashoffset: 954; }
      39.259% { stroke-dashoffset: 911; }
      40.050% { stroke-dashoffset: 846; }
      40.842% { stroke-dashoffset: 745; }
      41.634% { stroke-dashoffset: 592; }
      42.425% { stroke-dashoffset: 358; }
      43.217% { stroke-dashoffset: 0; opacity: 1; }
      45.683% { stroke-dashoffset: 0; opacity: 1; }
      47.349%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l22 { animation-name: sh-lead22; }
    @keyframes sh-lead22 {
      0%, 36.884% { stroke-dashoffset: 1000; opacity: 0; }
      37.675% { stroke-dashoffset: 982; opacity: 0.56; }
      38.467% { stroke-dashoffset: 954; opacity: 0.81; }
      39.259% { stroke-dashoffset: 911; opacity: 0.95; }
      40.050% { stroke-dashoffset: 846; opacity: 1.00; }
      40.842% { stroke-dashoffset: 745; opacity: 0.95; }
      41.634% { stroke-dashoffset: 592; opacity: 0.81; }
      42.425% { stroke-dashoffset: 358; opacity: 0.56; }
      43.217%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p220 { opacity: 0; animation: none; }
    .selica-film .p221 { opacity: 0; animation: none; }
    .selica-film .p222 { opacity: 0; animation: none; }
    .selica-film .b3 { animation-name: sh-bound3, sh-march; animation-duration: 30.0s, 16s; }
    @keyframes sh-bound3 {
      0%, 55.058% { opacity: 0; }
      58.058% { opacity: 1; }
      64.096% { opacity: 1; }
      66.763%, 100% { opacity: 0; }
    }
    .selica-film .w30 { animation-name: sh-draw30; }
    @keyframes sh-draw30 {
      0%, 54.850% { stroke-dashoffset: 1000; opacity: 0; }
      54.883% { stroke-dashoffset: 1000; opacity: 1; }
      55.641% { stroke-dashoffset: 982; }
      56.433% { stroke-dashoffset: 954; }
      57.225% { stroke-dashoffset: 911; }
      58.016% { stroke-dashoffset: 846; }
      58.808% { stroke-dashoffset: 745; }
      59.600% { stroke-dashoffset: 592; }
      60.391% { stroke-dashoffset: 358; }
      61.183% { stroke-dashoffset: 0; opacity: 1; }
      64.646% { stroke-dashoffset: 0; opacity: 1; }
      66.312%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l30 { animation-name: sh-lead30; }
    @keyframes sh-lead30 {
      0%, 54.850% { stroke-dashoffset: 1000; opacity: 0; }
      55.641% { stroke-dashoffset: 982; opacity: 0.56; }
      56.433% { stroke-dashoffset: 954; opacity: 0.81; }
      57.225% { stroke-dashoffset: 911; opacity: 0.95; }
      58.016% { stroke-dashoffset: 846; opacity: 1.00; }
      58.808% { stroke-dashoffset: 745; opacity: 0.95; }
      59.600% { stroke-dashoffset: 592; opacity: 0.81; }
      60.391% { stroke-dashoffset: 358; opacity: 0.56; }
      61.183%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p300 { opacity: 0; animation: none; }
    .selica-film .p301 { opacity: 0; animation: none; }
    .selica-film .p302 { opacity: 0; animation: none; }
    .selica-film .w31 { animation-name: sh-draw31; }
    @keyframes sh-draw31 {
      0%, 51.845% { stroke-dashoffset: 1000; opacity: 0; }
      51.878% { stroke-dashoffset: 1000; opacity: 1; }
      52.636% { stroke-dashoffset: 982; }
      53.428% { stroke-dashoffset: 954; }
      54.220% { stroke-dashoffset: 911; }
      55.011% { stroke-dashoffset: 846; }
      55.803% { stroke-dashoffset: 745; }
      56.595% { stroke-dashoffset: 592; }
      57.386% { stroke-dashoffset: 358; }
      58.178% { stroke-dashoffset: 0; opacity: 1; }
      62.871% { stroke-dashoffset: 0; opacity: 1; }
      64.537%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l31 { animation-name: sh-lead31; }
    @keyframes sh-lead31 {
      0%, 51.845% { stroke-dashoffset: 1000; opacity: 0; }
      52.636% { stroke-dashoffset: 982; opacity: 0.56; }
      53.428% { stroke-dashoffset: 954; opacity: 0.81; }
      54.220% { stroke-dashoffset: 911; opacity: 0.95; }
      55.011% { stroke-dashoffset: 846; opacity: 1.00; }
      55.803% { stroke-dashoffset: 745; opacity: 0.95; }
      56.595% { stroke-dashoffset: 592; opacity: 0.81; }
      57.386% { stroke-dashoffset: 358; opacity: 0.56; }
      58.178%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p310 { opacity: 0; animation: none; }
    .selica-film .p311 { opacity: 0; animation: none; }
    .selica-film .p312 { opacity: 0; animation: none; }
    .selica-film .w32 { animation-name: sh-draw32; }
    @keyframes sh-draw32 {
      0%, 51.247% { stroke-dashoffset: 1000; opacity: 0; }
      51.280% { stroke-dashoffset: 1000; opacity: 1; }
      52.038% { stroke-dashoffset: 982; }
      52.830% { stroke-dashoffset: 954; }
      53.622% { stroke-dashoffset: 911; }
      54.413% { stroke-dashoffset: 846; }
      55.205% { stroke-dashoffset: 745; }
      55.997% { stroke-dashoffset: 592; }
      56.788% { stroke-dashoffset: 358; }
      57.580% { stroke-dashoffset: 0; opacity: 1; }
      62.152% { stroke-dashoffset: 0; opacity: 1; }
      63.819%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .l32 { animation-name: sh-lead32; }
    @keyframes sh-lead32 {
      0%, 51.247% { stroke-dashoffset: 1000; opacity: 0; }
      52.038% { stroke-dashoffset: 982; opacity: 0.56; }
      52.830% { stroke-dashoffset: 954; opacity: 0.81; }
      53.622% { stroke-dashoffset: 911; opacity: 0.95; }
      54.413% { stroke-dashoffset: 846; opacity: 1.00; }
      55.205% { stroke-dashoffset: 745; opacity: 0.95; }
      55.997% { stroke-dashoffset: 592; opacity: 0.81; }
      56.788% { stroke-dashoffset: 358; opacity: 0.56; }
      57.580%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }
    .selica-film .p320 { opacity: 0; animation: none; }
    .selica-film .p321 { opacity: 0; animation: none; }
    .selica-film .p322 { opacity: 0; animation: none; }
    @keyframes sh-march { to { stroke-dashoffset: -64; } }

    .selica-film .in0 { animation-name: sh-incard; animation-delay: 5.35s; }
    .selica-film .in1 { animation-name: sh-incard; animation-delay: 6.45s; }
    .selica-film .in2 { animation-name: sh-incard; animation-delay: 7.55s; }
    .selica-film .in3 { animation-name: sh-incard; animation-delay: 8.65s; }


/* ---- the website hero ----
   The page shows through: the film brings no plate of its own, so the hero's
   blue gradient underneath mixes into the picture. */
.selica-film { display: block; }
.selica-film .film { background: transparent; }
.selica-film .canvas { background-color: transparent; }

/* It loops, as the standalone film does: the last scene holds for ten seconds
   and the film starts again. The dots under it (main.ts) move it to a scene. */
.selica-film .endcard { pointer-events: none; }

/* The lockup does not become the end card here: the page's own headline is
   the end card, so the name gives way to it, as the closing lines once did. */
.selica-film .lockup { animation-name: sh-lockup-site; }
@keyframes sh-lockup-site {
  0%, 50.667% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  52.000% { opacity: 1; transform: translate(-50%, -50%) scale(1);
    animation-timing-function: cubic-bezier(.2,1.05,.3,1); }
  63.333% { opacity: 1; transform: translate(-50%, -50%) scale(1.025); }
  65.000%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.05); }
}

/* The hero copy, sized in the stage's own 1600-wide coordinates so it scales
   with the picture. The buttons are the page's own, and they are clickable. */
.selica-film .hero-final .hero-copy { width: 100%; text-align: center; display: grid;
  justify-items: center; }
.selica-film .hero-final h1 { font-size: 76px; font-weight: 600; letter-spacing: -2px;
  line-height: 1.07; max-width: none; margin: 0; }
.selica-film .hero-final h1 .accent { color: var(--blue); }
.selica-film .hero-final .lede { font-size: 25px; line-height: 1.45; color: var(--dim);
  max-width: 780px; margin-top: 24px; }
.selica-film .hero-final .hero-ctas { display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px; margin-top: 40px; pointer-events: auto; }
.selica-film .hero-final .btn { font-size: 19px; padding: 16px 30px; }
.selica-film .hero-final .hero-note { font-size: 16px; color: var(--dim); margin-top: 22px; }

/* Narrow: the headline and the buttons alone, large enough in stage pixels to
   read and to hit once the stage is scaled down to a phone's width. */
@container (max-width: 760px) {
  .selica-film .hero-final h1 { font-size: 150px; letter-spacing: -4px; }
  .selica-film .hero-final .lede, .selica-film .hero-final .hero-note { display: none; }
  .selica-film .hero-final .hero-ctas { gap: 36px; margin-top: 70px; }
  .selica-film .hero-final .btn { font-size: 62px; padding: 40px 72px; }
}

/* ---- the canvas is the page's ----
   The grid and the connection layer leave the film's 16:10 box and become the
   page's own background: one grid behind everything, the wirings across the
   full width, both over the hero's glow and under every word on the page. */
.selica-film.selica-page { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none; }
.selica-film.selica-page .page-grid { position: absolute; inset: -80px;
  background:
    repeating-linear-gradient(to right, var(--grid-major) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(to bottom, var(--grid-major) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(to right, var(--grid-minor) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(to bottom, var(--grid-minor) 0 1px, transparent 1px 10px);
  opacity: 0.34; animation: sh-page-drift 96s linear infinite;
}
/* One cell, so the loop has no seam. */
@keyframes sh-page-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-60px, -60px, 0); }
}
/* The connection layer is tiled down the page, one band per screenful, each
   with its own routes, so nothing repeats as you scroll. A band is stretched
   to its share of the page, which is close enough to its own shape that only
   the corners notice; the strokes are told not to scale with it. */
.selica-film.selica-page .band { position: absolute; left: 0; right: 0;
  height: calc(100% / 9); inset-inline: 0; animation: none; opacity: 1; }
.selica-film.selica-page .band svg { opacity: 0.42; }
.selica-film.selica-page .band path { vector-effect: non-scaling-stroke; }
/* A phone has bands of its own (`.band-stack`): a landscape band stretched
   down a narrow page turns its jogs into tall columns, so below 820px the
   wide bands give way to portrait ones, 4:9 to the page's width and stacked
   one under the next, drawn in their own proportions. Their strokes are
   thinner by the same measure as the page is narrower, so the layer is as
   faint on a phone as it is on the Mac. */
.selica-film.selica-page .band-stack { display: none; position: absolute; top: 0; left: 0;
  right: 0; }
@media (max-width: 820px), (pointer: coarse) and (max-height: 500px) {
  /* Still on a phone: the drift made the grid a layer as tall as the page. */
  .selica-film.selica-page .page-grid { animation: none; }
  .selica-film.selica-page .band { display: none; }
  .selica-film.selica-page .band-stack { display: block; }
  .selica-film.selica-page .band.phone { display: block; position: relative; inset: auto;
    height: auto; aspect-ratio: 400 / 900; }
  .selica-film.selica-page .band.phone .wire { stroke-width: 6px; }
  .selica-film.selica-page .band.phone .lead,
  .selica-film.selica-page .band.phone .pass { stroke-width: 4px; }
  .selica-film.selica-page .band.phone .halo { stroke-width: 12px; }
  .selica-film.selica-page .band.phone .bound { stroke-width: 4px;
    stroke-dasharray: 18 12; }
}
/* Out of view nothing in the layer or the film exists as an animation:
   `wireIdle` in main.ts marks a band, or the film, `offscreen` while it is
   more than half a screen away. Pausing is not enough: a paused animation
   still holds its compositing layer, so a band or a film scrolled past kept
   every layer it had. With no animation there is no layer; the film starts
   again from its first scene when it comes back, and a band from where its
   routes began. */
.selica-film.selica-page .band.offscreen path,
.selica-film.selica-hero.offscreen, .selica-film.selica-hero.offscreen * {
  animation: none !important; }

/* The film is no longer a plate on a page, so it carries no edge of its own:
   the scrim the slogans are read against is a band the width of the picture,
   and a band is a frame. The slogans sit centred over the canvas instead. */
.selica-film .film { border-radius: 0; }
.selica-film .scrim { display: none; }

/* Nothing to settle for: the film holds its last frame, which is the copy over
   the canvas and nothing else. */
@media (prefers-reduced-motion: reduce) {
  .selica-film.selica-page .page-grid { animation: none; }
  /* The page's routes stay, still: each band shows its first scene's
     routes and dashed step, drawn and without a signal on them. */
  .selica-film.selica-page .w02 { opacity: 1; }
  /* The network is not shown here, so its three thousand hops are stopped
     rather than left ticking behind an opacity of nought. */
  .selica-film .net * { animation: none !important; }
  .selica-film .stage > *, .selica-film .ui > * { opacity: 0; }
  .selica-film .stage, .selica-film .ui, .selica-film .endcard { opacity: 1; }
  .selica-film .canvas { opacity: 0.25; }
}


/* ---- the phone film: one SVG on a 400 x 540 stage (see build.py) ---- */
.selica-film .m-film { display: none; position: relative; container-type: inline-size; margin-inline: auto;
  width: min(100%, 460px);
  width: min(100%, 460px, max(300px, calc((100svh - 7.5rem) * 400 / 540)));
  aspect-ratio: 400 / 540; color: var(--ink); font-family: var(--sans); }
.selica-film .m-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible;
  fill: #fff; font-family: var(--sans); }
.selica-film .m-stage { opacity: 0; animation: sh-m-curtain 30.0s linear infinite; }
@keyframes sh-m-curtain {
  0% { opacity: 0; }
  2.500% { opacity: 1; }
  94.667% { opacity: 1; }
  97.333%, 100% { opacity: 0; }
}
.selica-film .m-panel { fill: var(--panel); stroke: var(--line); stroke-width: 1; }
.selica-film .m-well { fill: var(--well); }
.selica-film .m-head { font-size: 12px; letter-spacing: 1.6px; fill: var(--dim); }
.selica-film .m-cursor { fill: rgba(255,255,255,0.07); }
.selica-film .m-item { font-size: 15px; }
.selica-film .m-id { font-family: var(--mono); font-size: 11px; fill: var(--dim); text-anchor: end; }
.selica-film .m-title { font-size: 16.5px; font-weight: 600; letter-spacing: -0.2px; }
.selica-film .m-op { font-family: var(--mono); font-size: 12px; fill: var(--dim); }
.selica-film .m-port { fill: rgba(255,255,255,0.45); }
.selica-film .m-port.out { fill: rgba(255,255,255,0.65); }
.selica-film .m-edge { stroke: var(--edge); stroke-width: 2; }

/* Scene one: the Dense layer leaves the Add menu and lands in its slot. */
.selica-film .m-s1 { animation: sh-m-s1 30.0s linear infinite; }
@keyframes sh-m-s1 {
  0%, 16.500% { opacity: 1; transform: translateY(0); }
  17.500%, 100% { opacity: 0; transform: translateY(-10px); }
}
.selica-film .m-add-list { animation: sh-m-add-scroll 30.0s linear infinite; }
@keyframes sh-m-add-scroll {
  0%, 2.667% { transform: translateY(0); animation-timing-function: cubic-bezier(.45,0,.25,1); }
  15.667%, 100% { transform: translateY(-204px); }
}
.selica-film .m-slot { fill: rgba(255,255,255,0.02); stroke: rgba(255,255,255,0.22); stroke-width: 1.5;
  stroke-dasharray: 6 4; animation: sh-m-slot 30.0s linear infinite; }
@keyframes sh-m-slot {
  0% { opacity: 1; stroke: rgba(255,255,255,0.22); }
  1.667% { stroke: rgba(160,200,255,0.8); }
  3.333% { stroke: rgba(255,255,255,0.22); }
  5.000% { stroke: rgba(160,200,255,0.8); }
  5.600% { opacity: 1; }
  5.867%, 100% { opacity: 0; stroke: rgba(255,255,255,0.22); }
}
.selica-film .m-drag { opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: sh-m-drag 30.0s linear infinite; }
@keyframes sh-m-drag {
  0%, 1.500% { opacity: 0; transform: translate(0, -203px) scale(0.84) rotate(3deg); }
  2.067% { opacity: 1; transform: translate(0, -203px) scale(0.84) rotate(3deg);
    animation-timing-function: cubic-bezier(.3,1.02,.3,1); }
  5.667% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  5.733%, 100% { opacity: 0; transform: translate(0, 0) scale(1) rotate(0deg); }
}
.selica-film .m-dense { opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: sh-m-land 30.0s linear infinite; }
@keyframes sh-m-land {
  0%, 5.733% { opacity: 0; transform: scale(1); }
  5.800% { opacity: 1; transform: scale(1.04); animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
  6.667%, 100% { opacity: 1; transform: scale(1); }
}
.selica-film .m-late { animation: sh-m-late 30.0s linear infinite; }
@keyframes sh-m-late {
  0%, 5.733% { opacity: 0.25; }
  6.333%, 100% { opacity: 0.85; }
}
.selica-film .m-live, .selica-film .m-result { font-family: var(--mono); font-size: 11px; text-anchor: end; opacity: 0; }
.selica-film .m-result { fill: var(--dim); }
.selica-film .m-result tspan { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: #fff; }
.selica-film .m-live { fill: #A0C8FF; animation: sh-m-live 30.0s linear infinite; }
@keyframes sh-m-live {
  0%, 7.000% { opacity: 0; }
  8.000%, 100% { opacity: 1; }
}
.selica-film .m-result { animation: sh-m-result 30.0s linear infinite; }
@keyframes sh-m-result {
  0%, 11.667% { opacity: 0; }
  12.667%, 100% { opacity: 1; }
}

/* Scene two: the net, and the inputs it eats, one card at a time. */
.selica-film .m-net { opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: sh-m-net 30.0s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes sh-m-net {
  0%, 16.167% { opacity: 0; transform: scale(0.985); }
  17.833% { opacity: 1; transform: scale(1); animation-timing-function: linear; }
  32.500% { opacity: 1; transform: scale(1.02); animation-timing-function: cubic-bezier(.4,0,.6,1); }
  34.333%, 100% { opacity: 0; transform: scale(1.03); }
}
.selica-film .m-wires line { stroke: rgba(127,180,255,0.1); stroke-width: 1.1; }
.selica-film .m-wires { stroke-opacity: 0.55; animation: sh-m-wire-wave 1.25s linear infinite; }
@keyframes sh-m-wire-wave {
  0%, 100% { stroke-opacity: 0.55; }
  14% { stroke-opacity: 1; }
  34% { stroke-opacity: 0.55; }
}
.selica-film .m-units { fill: #1E2530; stroke: rgba(127,180,255,0.34); stroke-width: 1.2;
  animation: sh-m-fire 1.25s linear infinite; }
@keyframes sh-m-fire {
  0%, 100% { fill: #1E2530; }
  12% { fill: #24384E; }
  30% { fill: #1E2530; }
}
.selica-film .m-hl, .selica-film .m-sig, .selica-film .m-flash { animation-duration: 30.0s; animation-timing-function: linear;
  animation-iteration-count: infinite; }
.selica-film .m-hl { stroke-opacity: 0; stroke-width: 1.6; animation-name: sh-m-hop-line; }
.selica-film .m-sig { stroke-opacity: 0; stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 16 84;
  stroke-dashoffset: 100; animation-name: sh-m-hop-sig; }
.selica-film .m-sig .m-halo { stroke-width: 8; }
.selica-film .m-flash { fill-opacity: 0; animation-name: sh-m-hop-flash; }

@keyframes sh-m-hop-line {
  0% { stroke-opacity: 0; }
  0.167% { stroke-opacity: 0.7; }
  1.000% { stroke-opacity: 0.3; }
  2.333%, 100% { stroke-opacity: 0; }
}
@keyframes sh-m-hop-sig {
  0% { stroke-dashoffset: 100; stroke-opacity: 0; }
  0.133% { stroke-opacity: 1; }
  0.667% { stroke-dashoffset: 16; stroke-opacity: 1; }
  0.933%, 100% { stroke-dashoffset: 16; stroke-opacity: 0; }
}
@keyframes sh-m-hop-flash {
  0% { fill-opacity: 0; }
  0.233% { fill-opacity: 1; }
  0.733% { fill-opacity: 0.75; }
  2.000%, 100% { fill-opacity: 0; }
}
.selica-film .m-card { opacity: 0; animation-duration: 30.0s; animation-iteration-count: infinite;
  animation-timing-function: linear; animation-name: sh-m-card; }
.selica-film .m-card-label { font-size: 24px; font-weight: 600; letter-spacing: -0.4px; }
.selica-film .m-card-kind { font-family: var(--mono); font-size: 13.5px; fill: var(--dim); }
@keyframes sh-m-card {
  0% { opacity: 0; transform: translateY(12px); }
  1.0% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(.2,.8,.3,1); }
  2.9% { opacity: 1; transform: translateY(0); }
  3.6%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* Scene three: two templates, built from the top down, and the Export menu. */
.selica-film .m-s3 { opacity: 0; animation: sh-m-s3 30.0s linear infinite; }
@keyframes sh-m-s3 {
  0%, 32.833% { opacity: 0; }
  34.500% { opacity: 1; }
  48.667% { opacity: 1; }
  50.000%, 100% { opacity: 0; }
}
.selica-film .m-tg { opacity: 0; animation: sh-m-tg 30.0s linear infinite; }
.selica-film .m-tg-name { font-size: 13px; font-weight: 600; letter-spacing: -0.1px; }
.selica-film .m-tg-cap { font-size: 13.5px; font-weight: 500; fill: var(--dim); text-anchor: middle; }
@keyframes sh-m-tg {
  0%, 33.833% { opacity: 0; transform: translateY(-6px); }
  34.833% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(.2,.8,.3,1); }
  100% { opacity: 1; transform: translateY(0); }
}
.selica-film .m-xmenu { opacity: 0; animation: sh-m-xmenu 30.0s linear infinite; }
@keyframes sh-m-xmenu {
  0%, 34.333% { opacity: 0; transform: translateY(14px); }
  35.667% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(.2,.8,.3,1); }
  100% { opacity: 1; transform: translateY(0); }
}
.selica-film .m-xcur { animation: sh-m-xcur 30.0s linear infinite; }
@keyframes sh-m-xcur {
  0%, 37.333% { transform: translateY(0); }
  38.667% { transform: translateY(40px); }
  40.667% { transform: translateY(80px); }
  43.000% { transform: translateY(120px); }
  45.333%, 100% { transform: translateY(0); }
}

/* The close: the lockup, which gives way to the page's headline. */
.selica-film .m-lockup { opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: sh-m-lockup 30.0s linear infinite; }
.selica-film .m-name { font-size: 48px; font-weight: 600; letter-spacing: -1.2px; }
@keyframes sh-m-lockup {
  0%, 50.667% { opacity: 0; transform: scale(0.95); }
  52.000% { opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(.2,1.05,.3,1); }
  63.333% { opacity: 1; transform: scale(1.025); }
  65.000%, 100% { opacity: 0; transform: scale(1.05); }
}
.selica-film .m-mark { stroke-dasharray: 1 1; stroke-dashoffset: -1; animation: sh-m-mark 30.0s linear infinite; }
@keyframes sh-m-mark {
  0%, 51.000% { stroke-dashoffset: -1; animation-timing-function: cubic-bezier(.45,0,.25,1); }
  55.667%, 100% { stroke-dashoffset: 0; }
}

/* The line of text, under the band, centred. */
.selica-film .m-slogan { font-size: 19px; font-weight: 600; letter-spacing: -0.3px; text-anchor: middle;
  opacity: 0; animation: sh-m-slogan 30.0s linear infinite; }
@keyframes sh-m-slogan {
  0% { opacity: 0; transform: translateY(10px); }
  1.2% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(.22,1.2,.36,1); }
  6.3% { opacity: 1; transform: translateY(0); }
  7.5%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* The end card: the page's headline and buttons, in HTML over the picture,
   sized to the film's width (cqw) with a floor that keeps them readable and
   large enough to press on the narrowest phone. */
.selica-film .m-final { position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 0 5cqw; opacity: 0; pointer-events: none; animation: sh-m-final 30.0s linear infinite; }
@keyframes sh-m-final {
  0%, 65.333% { opacity: 0; transform: translateY(10px); }
  67.000% { opacity: 1; transform: translateY(0); animation-timing-function: linear; }
  95.333% { opacity: 1; transform: translateY(0); }
  97.333%, 100% { opacity: 0; transform: translateY(0); }
}
.selica-film .m-final .hero-copy { width: 100%; padding: 0; display: grid; justify-items: center; }
.selica-film .m-final h1 { font-size: max(26px, 8cqw); font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.1; max-width: none; margin: 0; text-wrap: balance; }
.selica-film .m-final h1 .accent { color: var(--blue); }
.selica-film .m-final .lede { font-size: max(14px, 3.9cqw); line-height: 1.45; color: var(--dim);
  max-width: 34ch; margin-top: max(10px, 3.4cqw); }
.selica-film .m-final .hero-ctas { display: flex; flex-wrap: wrap; justify-content: center;
  gap: max(10px, 2.6cqw); margin-top: max(16px, 5.4cqw); pointer-events: auto; }
.selica-film .m-final .btn { font-size: max(15px, 4cqw); padding: max(11px, 3cqw) max(18px, 5.6cqw);
  min-height: 44px; }
.selica-film .m-final .hero-note { font-size: max(13px, 3.4cqw); color: var(--dim); margin-top: max(12px, 3.6cqw); }
@container (max-width: 300px) {
  .selica-film .m-final .lede { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .selica-film .m-film * { animation: none !important; }
  .selica-film .m-stage { opacity: 0; }
  .selica-film .m-final { opacity: 1; }
}

/* ---- which film ----
   Below 820px wide, or on a phone held on its side, the phone film plays and
   the Mac's is not rendered at all: `display: none` makes no layers and runs
   no animations, and turning the phone swaps them without a reload. */
@media (max-width: 820px), (pointer: coarse) and (max-height: 500px) {
  .selica-film .film { display: none; }
  .selica-film .m-film { display: block; }
}
