/* The lab side's sections under the hero. Every rule is scoped to its section id or to a lab-only class,
   so nothing here can reach the shell (the network page's rule: a section stylesheet scopes itself). */

  .wrap > section { padding-block: 84px; border-top: 1px solid var(--line); position: relative; }
  .wrap > section.hero { border-top: 0; }
  .sec-head { display: grid; gap: 18px; max-width: 800px; }
  .sec-head h2 .row2 { display: block; font-size: .56em; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin-top: .3em; color: var(--graphite); }
  .sec-head .lede { max-width: 60ch; }
  .st.alpha::before { border: 2px solid var(--agent); background: transparent; }
  .plate .st.alpha::before { border-color: var(--p-signal); }
  .legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--graphite); font-size: .88rem; }
  .legend .st { font-size: .88rem; }
  .note { color: var(--graphite-2); font-size: .9rem; max-width: 70ch; }

  /* ── stations ── */
  #stations .shot.inside { margin-top: 40px; max-width: 980px; }
  #stations .film { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 40px; }
  #stations .film .slot::after { content: ""; position: absolute; left: 50%; top: 44%; width: 74px; height: 74px; translate: -50% -50%; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); }
  #stations .film .slot .tri { position: absolute; left: 50%; top: 44%; translate: -36% -50%; border-left: 22px solid var(--p-bone); border-block: 14px solid transparent; }
  #stations .film .script { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--graphite); font-size: 1.02rem; }
  #stations .film .script li { padding-left: 18px; border-left: 3px solid var(--line-2); }
  #stations .film .script li:first-child { color: var(--ink); border-left-color: var(--you); }
  #stationGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; margin-top: 30px; }
  @media (min-width: 1500px) { #stationGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
  .sign { position: relative; display: grid; align-content: start; gap: 12px; padding: 20px 18px 16px; overflow: hidden; transition: transform .35s var(--ease); }
  .sign:hover { transform: translateY(-3px); }
  .sign header { display: flex; align-items: center; justify-content: space-between; }
  .sign .no { font: 700 3.5rem/.9 var(--display); letter-spacing: -.04em; }
  .sign .disc { width: 46px; height: 46px; background: #232c3f; box-shadow: 0 1px 2px rgba(0,0,0,.55), 0 10px 20px -6px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.10); }
  .sign .disc svg { width: 31px; height: 31px; }
  .sign .wm { height: 20px; width: auto; }
  .sign .wm-text { font: 700 1.3rem/1 var(--display); letter-spacing: .01em; color: var(--tint); }
  .sign h3 { font-size: 1.22rem; line-height: 1.15; }
  .sign p { color: var(--p-dust); font-size: .93rem; line-height: 1.45; }
  .sign .retires { font-size: .84rem; }
  .sign .retires s { color: var(--p-bone); text-decoration-color: var(--p-ember); text-decoration-thickness: 2px; }
  .sign .lights { list-style: none; margin: 2px 0 0; padding: 12px 0 0; border-top: 1px solid var(--p-line); display: grid; gap: 7px; }
  .sign .lights .st { font-size: .84rem; color: var(--p-bone); align-items: baseline; }
  .sign .lights .st::before { translate: 0 1px; }
  .sign .open { margin-top: 6px; font: 600 .88rem var(--body); color: var(--p-signal); text-decoration: none; }
  .sign .open:hover { text-decoration: underline; }
  .sign .open.off { color: var(--p-dust); font-weight: 500; font-size: .8rem; }
  #stations .addons { margin-top: 22px; color: var(--graphite); font-size: .95rem; max-width: 80ch; }

  /* ── why one app: the hand-offs and the ledger ── */
  #why .pair { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 28px; align-items: start; margin-top: 40px; }
  #handList { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  #handList li { display: grid; grid-template-columns: 5.6rem 30px 5.6rem minmax(0, 1fr) auto; gap: 10px 12px; align-items: baseline; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: .98rem; }
  #handList b { font: 700 .95rem var(--display); letter-spacing: .01em; }
  #handList i { height: 2px; align-self: center; background: linear-gradient(90deg, var(--you), var(--agent)); position: relative; }
  #handList i::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 7px solid var(--agent); border-block: 5px solid transparent; }
  #handList span:not(.st) { color: var(--graphite); }
  #handList .st { font-size: .8rem; color: var(--graphite); white-space: nowrap; }
  #why .dock { padding: 22px 22px 18px; position: sticky; top: calc(var(--hdr) + 24px); }
  #why .dock h3 { font-size: 1.2rem; }
  #why .dock > p { color: var(--p-dust); font-size: .9rem; margin-top: 6px; }
  #ledger { list-style: none; margin: 16px 0 0; padding: 0; display: grid; }
  #ledger li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--p-line); font-size: .95rem; }
  #ledger s { text-decoration-color: var(--p-ember); text-decoration-thickness: 2px; }
  #ledger span { color: var(--p-dust); font: 500 .8rem var(--mono); align-self: center; white-space: nowrap; }

  /* ── the agent: four tracks ── */
  /* versus: the three desktop apps a visitor has, in their own words, and what this sidebar holds instead (checked against their pages, October 2026) */
  #versus .vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; align-items: start; margin-top: 40px; }
  #versus .them { display: grid; gap: 12px; }
  #versus .them article { display: grid; gap: 4px; padding: 16px 18px; }
  #versus .them h3 { font-size: 1.05rem; }
  #versus .them p { margin: 0; color: var(--p-dust); font-size: .93rem; }
  #versus .them .runs { color: var(--p-bone); }
  #versus .them .side { margin: 6px 2px 0; color: var(--graphite); font-size: .98rem; }
  #versus .us { padding: 24px 24px 10px; border-color: color-mix(in srgb, #ea7b2b 46%, var(--line)); }
  #versus .us h3 { font-size: 1.32rem; }
  #versus .us ul { list-style: none; margin: 14px 0 0; padding: 0; }
  #versus .us li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--p-dust); font-size: 1rem; line-height: 1.55; }
  #versus .us li b { color: var(--p-bone); font-weight: 600; }
  #versus .us li .st { margin: 0 2px 0 4px; font-size: .78rem; white-space: nowrap; color: var(--p-bone); }
  #versus .pa { margin-top: 34px; }
  @media (max-width: 979px) { #versus .vs { grid-template-columns: 1fr; } }
  #agent .pair { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 40px; }
  #agent .tracks { padding: 24px 24px 20px; display: grid; gap: 14px; }
  #agent .trk { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 14px; align-items: center; font: 600 .92rem var(--body); }
  #agent .trk .lane { position: relative; height: 26px; border-radius: 7px; background: rgba(255,255,255,.06); overflow: hidden; }
  #agent .trk .lane i { position: absolute; top: 5px; bottom: 5px; left: var(--l); width: var(--w); border-radius: 5px; background: var(--c, var(--p-signal)); }
  #agent .trk.you .lane i { --c: var(--p-ember); }
  #agent .trk .lane i.cut { background: repeating-linear-gradient(90deg, var(--p-signal) 0 4px, transparent 4px 8px); opacity: .5; }
  /* the interrupt mark sits in the lane column, at the moment the second orange bar starts */
  #agent .tracks .mark { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 14px; margin: 0; max-width: none; color: var(--p-dust); font-size: .86rem; }
  #agent .tracks .mark .at { grid-column: 2; position: relative; margin-left: 44%; padding-left: 10px; display: grid; gap: 2px; }
  #agent .tracks .mark .at::before { content: ""; position: absolute; left: 0; bottom: 0; height: 252px; border-left: 2px dashed var(--p-ember); }
  #agent .tracks .mark b { color: var(--p-ember); font-weight: 600; }
  #agent .facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
  #agent .facts li { display: grid; gap: 4px; }
  #agent .facts b { font: 600 1.12rem/1.25 var(--display); }
  #agent .facts span { color: var(--graphite); font-size: .98rem; }
  #agent .facts .st { font-size: .8rem; color: var(--graphite-2); }

  /* ── everywhere: three machines ── */
  #everywhere .os { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  #everywhere .box { padding: 20px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
  #everywhere .box h3 { font-size: 1.1rem; }
  #everywhere .box p { color: var(--graphite); font-size: .95rem; }
  #everywhere .box .st { font-size: .8rem; color: var(--graphite-2); }
  #everywhere .slot { margin-top: 16px; aspect-ratio: auto; min-height: 220px; }

  /* ── the floors: tools, game layer, C0verse ── */
  #floorDial { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
  #floorDial span { align-self: center; padding: 0 10px 0 12px; color: var(--graphite-2); font-size: .84rem; }
  #floorDial button { border: 0; border-radius: 999px; padding: 8px 14px; background: transparent; color: var(--graphite); font: 600 .88rem var(--body); cursor: pointer; }
  #floorDial button[aria-pressed="true"] { background: var(--ink); color: #0a0d12; }
  #floors .floor { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
  #floors .floor:first-of-type { margin-top: 30px; }
  #floors .lvl { font: 700 3.5rem/.9 var(--display); letter-spacing: -.04em; color: var(--ink); }
  #floors .lvl small { display: block; margin-top: 8px; font: 500 .84rem var(--body); letter-spacing: 0; color: var(--graphite-2); }
  #floors .floor h3 { font-size: 1.5rem; }
  #floors .floor h3 + p { margin-top: 8px; color: var(--graphite); max-width: 66ch; }
  #floors .more { display: none; margin-top: 20px; }
  #floors[data-aud="member"] .more.m, #floors[data-aud="insider"] .more.m, #floors[data-aud="insider"] .more.i { display: block; }
  #floors[data-aud="member"] .less.m, #floors[data-aud="insider"] .less.m, #floors[data-aud="insider"] .less.i { display: none; }
  #floors .gallery { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
  #floors .clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #floors .clips video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #07090d; }
  #floors .facts { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 24px; color: var(--graphite); font-size: .95rem; }
  #floors .facts .st { color: var(--graphite); font-size: .95rem; align-items: baseline; }
  #floors .door { display: grid; place-items: center; gap: 6px; text-align: center; min-height: 190px; padding: 26px; max-width: 520px; background: repeating-linear-gradient(-45deg, rgba(246,197,56,.16) 0 14px, transparent 14px 28px), linear-gradient(180deg, #161d2a, #0a0d12); }
  #floors .door b { font: 700 1.3rem var(--display); }
  #floors .door span { color: var(--p-dust); font-size: .92rem; max-width: 40ch; }

  /* ── open, seats, make ── */
  #open .terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  #open .term { padding: 22px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
  #open .term b { font: 700 1.15rem var(--display); }
  #open .term p { color: var(--graphite); font-size: .95rem; }
  #open .term .v { font: 700 .82rem var(--body); padding: 3px 10px; border-radius: 999px; justify-self: start; }
  #open .term .v.yes { color: #7fe0a8; background: rgba(76,209,138,.14); } #open .term .v.no { color: #ff9d85; background: rgba(255,93,60,.14); }
  #open .note { margin-top: 20px; }
  #seats .tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
  #seats .tier { padding: 22px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
  #seats .tier.porcelain { border: 0; }
  #seats .tier h3 { font-size: 1.25rem; }
  #seats .tier .price { font: 700 1.6rem/1 var(--display); letter-spacing: -.02em; }
  #seats .tier .price small { font: 500 .85rem var(--body); letter-spacing: 0; color: var(--graphite-2); }
  #seats .tier.porcelain .price small, #seats .tier.porcelain ul { color: var(--p-dust); }
  #seats .tier ul { margin: 4px 0 0; padding: 0 0 0 1.1em; display: grid; gap: 6px; color: var(--graphite); font-size: .93rem; }
  #make .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 36px; }
  #make ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: s; }
  #make ol li { counter-increment: s; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 4px 12px; color: var(--graphite); }
  #make ol li::before { content: counter(s); grid-row: span 2; font: 700 1.6rem/1 var(--display); color: var(--ink); }
  #make ol li b { color: var(--ink); font: 600 1.05rem var(--display); }
  #make ol li .st { font-size: .8rem; color: var(--graphite-2); }
  section.joinbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-block: 44px; }
  section.joinbar h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
  section.joinbar p { color: var(--graphite); margin-top: 6px; }

  @media (max-width: 1100px) {
    #stations .film, #why .pair, #agent .pair, #make .pair, #floors .gallery { grid-template-columns: 1fr; }
    #why .dock { position: static; }
    #seats .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    .wrap > section { padding-block: 56px; }
    #handList li { grid-template-columns: auto 26px auto; }
    #handList li span { grid-column: 1 / -1; }
    #everywhere .os, #open .terms, #seats .tiers { grid-template-columns: 1fr; }
    #floors .floor { grid-template-columns: 1fr; gap: 10px; }
    #agent .trk, #agent .tracks .mark { grid-template-columns: 4.2rem minmax(0, 1fr); }
  }
  /* very narrow phones (230 is tested): one column of signs, hand-offs as stacked lines, nothing wider than the screen */
  @media (max-width: 420px) {
    #stationGrid { grid-template-columns: minmax(0, 1fr); }
    #handList li { grid-template-columns: minmax(0, 1fr); gap: 4px; } #handList li i { display: none; } #handList li b + i + b::before { content: "to "; font-weight: 500; color: var(--graphite-2); }
    #floors .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sign .no { font-size: 2.8rem; }
  }
  #floors .gallery.solo { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  @media (prefers-reduced-motion: reduce) { .sign { transition: none; } }
