/* Laserglow site SHELL layer: the header and the footer, and nothing else.
   Extracted from site/index.html on 2026-09-09. Loaded after base.css.
   The markup these rules style is generated by src/shell/build_shell.py from nav.json. */

    /* ============================================================== HEADER */
    .hdr {
      position: sticky;
      top: 0;
      /* 90, raised from 80 on 2026-09-09. The Jordan launcher is fixed at 88 and its panel at 89,
         so an open mega panel was being covered by them: visible once the Your Floor panel grew
         tall enough to reach the launcher. A nav panel is something the reader just opened, so it
         wins over a floating helper. Anything fixed added later must stay below 90. */
      z-index: 90;
      background: var(--s-0);
      border-bottom: 1px solid var(--border);
      transition: box-shadow .2s var(--ease)
    }

    .hdr.stuck {
      box-shadow: var(--shadow)
    }

    .hdr-in {
      max-width: var(--maxw);
      margin: 0 auto;
      padding-inline: var(--gutter);
      display: flex;
      align-items: center;
      gap: 8px;
      height: var(--hdr-h)
    }

    .brand {
      display: flex;
      align-items: center;
      margin-right: 14px
    }

    .brand img {
      height: 28px;
      width: auto
    }

    .brand .lg-d {
      display: none
    }

    :root[data-theme="dark"] .brand .lg-l {
      display: none
    }

    :root[data-theme="dark"] .brand .lg-d {
      display: block
    }

    .mainnav {
      display: flex;
      align-items: center;
      gap: 2px;
      align-self: stretch
    }

    .navitem {
      position: static;
      display: flex;
      align-items: center;
      align-self: stretch
    }

    .navlink {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 9px 15px;
      background: none;
      border: 0;
      border-radius: var(--r-full);
      font-family: var(--display);
      font-weight: 600;
      font-size: .95rem;
      color: var(--t-1);
      cursor: pointer;
      transition: background .15s var(--ease), color .15s var(--ease)
    }

    .navlink .cv {
      width: 10px;
      height: 10px;
      opacity: .6;
      transition: transform .22s var(--ease)
    }

    .navitem:hover .navlink,
    .navitem:focus-within .navlink {
      background: var(--s-100);
      color: var(--c-hi)
    }

    .navitem:hover .navlink .cv {
      transform: rotate(180deg)
    }

    .mega {
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      background: var(--s-0);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      pointer-events: none;
      transition: opacity .22s var(--ease) .16s, transform .22s var(--ease) .16s, visibility .22s .16s;
      padding: 36px 0
    }

    .navitem:hover .mega,
    .navitem:focus-within .mega {
      opacity: 1;
      visibility: visible;
      transform: none;
      pointer-events: auto;
      transition-delay: 0s
    }

    .mega-in {
      max-width: var(--maxw);
      margin: 0 auto;
      padding-inline: var(--gutter);
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 300px;
      gap: 36px
    }

    /* The Your Floor panel puts a link column in the slot the other panels give to .mfeat.
       It takes the feature's surface so the row still reads as three columns and a panel. */
    .mcol.mnarrow {
      background: var(--s-50);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 20px
    }

    .mcol.mnarrow .mlink {
      padding-block: 6px
    }

    .mcol.mnarrow .mlink.strong .mt {
      color: var(--accent-ink);
      font-weight: 700
    }

    /* A second group inside one column: the Your Floor product panel carries the bridge
       pages and then, under its own heading, where the reader goes next. */
    .mcol h6.msub {
      margin-top: 20px
    }

    .mcol h6 {
      font-family: var(--display);
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--accent-ink);
      margin: 0 0 14px
    }

    .mlink {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      padding: 8px 0;
      border-radius: var(--r-sm)
    }

    .mlink .lgi {
      font-size: 17px;
      color: var(--c-mid);
      margin-top: 3px;
      transition: color .15s var(--ease)
    }

    .mlink .mt {
      font-family: var(--display);
      font-weight: 700;
      font-size: .94rem;
      color: var(--c-hi);
      display: block
    }

    .mlink .md {
      font-size: .78rem;
      color: var(--c-mid);
      margin-top: 2px;
      line-height: 1.45;
      display: block
    }

    .mlink:hover .mt,
    .mlink:hover .lgi {
      color: var(--accent-ink)
    }

    .mfeat {
      background: var(--s-50);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 13px;
      align-items: flex-start
    }

    .mfeat .mvis {
      aspect-ratio: 16/9;
      border-radius: var(--r-md);
      overflow: hidden;
      background: var(--s-200);
      width: 100%
    }

    .mfeat .mvis img {
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .mfeat h5 {
      font-family: var(--display);
      font-weight: 800;
      font-size: 1.05rem;
      line-height: 1.15;
      color: var(--c-hi)
    }

    .hdr-cta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: auto
    }

    .tgl {
      width: 42px;
      height: 42px;
      border-radius: var(--r-md);
      background: var(--s-0);
      border: 1.5px solid var(--rule);
      color: var(--c-mid);
      cursor: pointer;
      display: grid;
      place-items: center;
      transition: color .16s var(--ease), border-color .16s var(--ease)
    }

    .tgl:hover {
      color: var(--accent-ink);
      border-color: var(--accent-ink)
    }

    .tgl svg {
      width: 18px;
      height: 18px
    }

    .tgl .ic-sun {
      display: none
    }

    :root[data-theme="dark"] .tgl .ic-sun {
      display: block
    }

    :root[data-theme="dark"] .tgl .ic-moon {
      display: none
    }

    .hdr-cta .btn {
      height: 44px;
      padding: 0 20px;
      font-size: .94rem
    }

    .burger {
      display: none;
      width: 44px;
      height: 44px;
      border-radius: var(--r-md);
      background: var(--s-0);
      border: 1.5px solid var(--rule);
      cursor: pointer
    }

    .burger i {
      display: block;
      width: 18px;
      height: 1.6px;
      background: var(--c-hi);
      margin: 4px auto;
      border-radius: 2px
    }

    .burger i {
      transition: transform .22s var(--ease), opacity .16s var(--ease)
    }

    /* open, the three bars make the close cross: 5.6px is the distance between two bars' centres */
    .burger[aria-expanded="true"] i:nth-child(1) {
      transform: translateY(5.6px) rotate(45deg)
    }

    .burger[aria-expanded="true"] i:nth-child(2) {
      opacity: 0
    }

    .burger[aria-expanded="true"] i:nth-child(3) {
      transform: translateY(-5.6px) rotate(-45deg)
    }

    /* ======================================================= THE DRAWER (the menu below 1160px)
       Rebuilt 2026-10-19 (Gui: "the hamburger menu is not working correctly"). It sat in the page
       flow under the sticky header, so once a reader had scrolled it opened above the screen, and it
       carried the five top-level words only. Now it is a panel fixed under the header (shell.js sets
       --dw-top to the header's foot) that scrolls on its own while the page holds still, and it
       carries the desk menu: one accordion section per entry with that panel's headings and rows, the
       PULSE Project Builder as its one highlighted card (the other panels' cards stay on a desk),
       the theme switch, which leaves the header bar at these widths, and the CTA. Generated by
       build_shell.py from nav.json, like the desk menu. */
    .drawer {
      display: none;
      position: fixed;
      left: 0;
      right: 0;
      top: var(--dw-top, var(--hdr-h));
      bottom: 0;
      /* the carried-over pages' own site.css caps a .drawer at its old header's height */
      max-height: none;
      /* under the header (90), so the burger stays on screen as the close control */
      z-index: 89;
      overflow-y: auto;
      overscroll-behavior: contain;
      background: var(--s-0);
      border-top: 1px solid var(--border);
      padding: 4px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px))
    }

    .drawer.open {
      display: block
    }

    /* the page holds still under the open drawer. On html only: hidden on body as well would make
       body a scroll box of its own, and the sticky header would leave the screen with the page */
    html.dw-open {
      overflow: hidden
    }

    .dw-sec {
      border-bottom: 1px solid var(--border)
    }

    .dw-sec>summary {
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 56px;
      cursor: pointer;
      font-family: var(--display);
      font-weight: 700;
      font-size: 1.06rem;
      letter-spacing: -.01em;
      color: var(--c-hi)
    }

    .dw-sec>summary::-webkit-details-marker {
      display: none
    }

    .dw-sec>summary .cv {
      width: 12px;
      height: 12px;
      flex: none;
      color: var(--c-mid);
      transition: transform .22s var(--ease)
    }

    .dw-sec[open]>summary .cv {
      transform: rotate(180deg)
    }

    .dw-body {
      display: grid;
      gap: 20px;
      padding: 2px 0 20px
    }

    .dw-h {
      margin: 0 0 4px;
      font-family: var(--display);
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--accent-ink)
    }

    /* a second group inside one column (Your Floor: where this goes next) */
    .dw-col .dw-link+.dw-h {
      margin-top: 16px
    }

    .dw-link {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      padding: 9px 0
    }

    .dw-link .lgi {
      flex: none;
      margin-top: 2px;
      font-size: 17px;
      color: var(--c-mid)
    }

    .dw-link .mt {
      display: block;
      font-family: var(--display);
      font-weight: 700;
      font-size: .95rem;
      color: var(--c-hi)
    }

    .dw-link .md {
      display: block;
      margin-top: 2px;
      font-size: .8rem;
      line-height: 1.42;
      color: var(--c-mid)
    }

    .dw-link.strong .mt,
    .dw-link:hover .mt,
    .dw-link:hover .lgi {
      color: var(--accent-ink)
    }

    /* the one highlighted card: the whole card is the link, so its edge is a control's (--rule, 3:1) */
    .dw-feat {
      display: grid;
      grid-template-columns: minmax(0, 118px) minmax(0, 1fr);
      gap: 14px;
      align-items: center;
      margin-top: 18px;
      padding: 12px;
      background: var(--s-50);
      border: 1px solid var(--rule);
      border-radius: var(--r-lg);
      color: var(--c-hi)
    }

    .dw-feat .mvis {
      display: block;
      aspect-ratio: 4/3;
      border-radius: var(--r-md);
      overflow: hidden;
      background: var(--s-200)
    }

    .dw-feat .mvis img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .dw-ft {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
      min-width: 0
    }

    .dw-ft b {
      font-family: var(--display);
      font-weight: 800;
      font-size: 1.02rem;
      line-height: 1.15;
      letter-spacing: -.01em
    }

    .dw-ft .tlink {
      font-size: .86rem
    }

    .dw-foot {
      display: grid;
      gap: 10px;
      margin-top: 18px
    }

    /* the theme switch, as a row: the icon of the theme it switches to, and its name */
    .dw-theme {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      height: 50px;
      padding: 0 14px;
      border-radius: var(--r-md);
      background: var(--s-0);
      border: 1.5px solid var(--rule);
      cursor: pointer;
      font-family: var(--display);
      font-weight: 700;
      font-size: .95rem;
      color: var(--c-hi);
      text-align: left
    }

    .dw-theme svg {
      display: block;
      width: 18px;
      height: 18px;
      color: var(--c-mid)
    }

    .dw-theme .ic-sun,
    .dw-tl .t-d,
    :root[data-theme="dark"] .dw-theme .ic-moon,
    :root[data-theme="dark"] .dw-tl .t-l {
      display: none
    }

    :root[data-theme="dark"] .dw-theme .ic-sun {
      display: block
    }

    :root[data-theme="dark"] .dw-tl .t-d {
      display: inline
    }

    .dw-foot .btn {
      width: 100%;
      height: 50px;
      justify-content: center
    }

    @media(max-width:1160px) {
      .mainnav {
        display: none
      }

      .burger {
        display: block
      }

      /* the theme switch lives in the drawer at these widths (Gui, 2026-10-19) */
      .hdr-cta #tgl {
        display: none
      }
    }

    @media(min-width:1161px) {
      .drawer.open {
        display: none
      }
    }

    @media(prefers-reduced-motion:reduce) {

      .burger i,
      .dw-sec>summary .cv {
        transition: none
      }
    }

    /* Added 2026-09-09. Below 640 the header held a logo, two icon buttons, the CTA and the
       burger, and the CTA broke across two lines inside its own pill. The drawer carries the
       same CTA, so nothing is lost by dropping it from the bar at this width. */
    @media(max-width:640px) {
      .hdr-cta .btn {
        display: none
      }
    }


    /* ========================================================= ON THIS PAGE
       The rail that floats at the right edge once the reader is past the first screen.
       It was written into site/index.html and lived there alone until 2026-09-21, so every
       other page shipped without it. The markup is generated per page by build_shell.py from
       the `data-toc` label on each section, and the behaviour is in shell.js. Nothing about
       the rail is decided in a page any more.

       Fixed, so it sits below the header at 90 and below the Jordan launcher at 88: 70. */
    .toc {
      position: fixed;
      right: 18px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 70;
      padding: 14px 16px;
      border-radius: var(--r-md);
      border: 1px solid transparent;
      background: transparent;
      opacity: 0;
      visibility: hidden;
      transition: opacity .32s var(--ease), visibility .32s, background .2s, border-color .2s, box-shadow .2s
    }

    .toc.show {
      opacity: 1;
      visibility: visible
    }

    .toc:hover,
    .toc:focus-within {
      background: var(--s-0);
      border-color: var(--rule);
      box-shadow: var(--shadow)
    }

    .toc-head {
      display: block;
      text-align: right;
      font-family: var(--display);
      font-size: .6rem;
      font-weight: 700;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--c-mid);
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height .3s var(--ease), opacity .22s var(--ease), margin-bottom .3s var(--ease)
    }

    .toc:hover .toc-head,
    .toc:focus-within .toc-head {
      max-height: 18px;
      opacity: 1;
      margin-bottom: 12px
    }

    .toc ol {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 2px
    }

    .toc li {
      display: flex;
      justify-content: flex-end
    }

    .toc a {
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
      gap: 12px;
      padding: 5px 0
    }

    .toc a i {
      display: block;
      width: 16px;
      height: 2px;
      border-radius: 2px;
      background: var(--t-3);
      flex-shrink: 0;
      transition: width .24s var(--ease), background .24s
    }

    .toc a span {
      font-family: var(--display);
      font-size: .81rem;
      font-weight: 600;
      line-height: 1.3;
      color: var(--c-mid);
      white-space: nowrap;
      text-align: right;
      max-width: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-width .32s var(--ease), opacity .24s var(--ease), color .18s
    }

    .toc:hover a span,
    .toc:focus-within a span {
      max-width: 240px;
      opacity: 1
    }

    .toc a:hover i {
      width: 26px;
      background: var(--t-1)
    }

    .toc a:hover span {
      color: var(--c-hi)
    }

    .toc a.current i {
      width: 30px;
      background: var(--accent-fill)
    }

    .toc a.current span {
      color: var(--c-hi)
    }

    /* The rail needs a margin of its own beside the content column. Below this it would sit
       on top of the page, so it goes away and the reader scrolls. */
    @media(max-width:1340px) {
      .toc {
        display: none
      }
    }

    /* ============================================================== FOOTER */
    .dark.ft {
      border-top: 1px solid var(--ink-line);
      padding-block: 0;
      position: relative;
      overflow: hidden
    }

    .dark.ft::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background-image: linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
      background-size: 76px 76px;
      -webkit-mask-image: radial-gradient(90% 60% at 22% 0%, #000, transparent 70%);
      mask-image: radial-gradient(90% 60% at 22% 0%, #000, transparent 70%)
    }

    .dark.ft .wrap {
      position: relative;
      z-index: 1
    }

    /* the two plants are the point of this band, so they get the display type */
    .dark .ft-contact {
      display: grid;
      grid-template-columns: 1.35fr 1fr 1fr;
      gap: clamp(24px, 4vw, 54px);
      padding-block: clamp(42px, 5.4vw, 64px);
      align-items: start
    }

    .dark .ft-brand img {
      height: 28px;
      width: auto
    }

    .dark .ft-brand p {
      margin-top: 18px;
      font-size: .88rem;
      color: rgba(255, 255, 255, .74);
      line-height: 1.6
    }

    .dark .ft-loc {
      padding-left: clamp(22px, 3vw, 40px);
      border-left: 1px solid var(--ink-line)
    }

    .dark .ft-loc .lk {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--display);
      font-weight: 800;
      font-size: .68rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--accent)
    }

    .dark .ft-loc .lk .lgi {
      font-size: 14px
    }

    .dark .ft-loc b {
      display: block;
      margin-top: 12px;
      font-family: var(--display);
      font-weight: 700;
      font-size: clamp(1.16rem, 1.8vw, 1.5rem);
      letter-spacing: -.025em;
      line-height: 1.1;
      color: #ffffff
    }

    .dark .ft-loc .ls {
      display: block;
      margin-top: 8px;
      font-size: .86rem;
      line-height: 1.55;
      color: rgba(255, 255, 255, .74)
    }

    .dark .ft-loc .lp {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-top: 16px;
      font-family: var(--display);
      font-weight: 700;
      font-size: 1rem;
      color: #ffffff;
      border-bottom: 1.5px solid var(--accent);
      padding-bottom: 3px
    }

    .dark .ft-loc .lp:hover {
      color: var(--accent)
    }

    .dark.ft .ft-cols {
      display: grid;
      /* six columns since 2026-09-09: Capabilities joined the five, so the eleven
         bridge pages carry an internal link from every page of the site. */
      grid-template-columns: repeat(6, 1fr);
      gap: 26px;
      padding-block: clamp(34px, 4vw, 46px);
      border-top: 1px solid var(--ink-line)
    }

    .dark.ft h6 {
      font-family: var(--display);
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--accent);
      margin: 0 0 14px
    }

    .dark.ft .ft-cols a {
      display: block;
      font-size: .88rem;
      color: rgba(255, 255, 255, .8);
      padding: 4px 0
    }

    .dark.ft .ft-cols a:hover {
      color: #ffffff
    }

    .dark.ft .ft-legal {
      padding: 18px 0;
      border-top: 1px solid var(--ink-line);
      display: flex;
      flex-wrap: wrap;
      gap: 8px 26px;
      font-size: .82rem;
      color: rgba(255, 255, 255, .64)
    }

    @media(max-width:1000px) {
      .dark .ft-contact {
        grid-template-columns: 1fr
      }

      .dark .ft-loc {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--ink-line);
        padding-top: 22px
      }

      .dark.ft .ft-cols {
        grid-template-columns: 1fr 1fr
      }
    }

