/*
  command.css: SAMPLE COMMAND, round 1 by SCREENSHOTS. Loaded after ../home.css (the nav, the stage, the button, the site tokens);
  every rule is scoped under body.page-command. The Forge page's grammar (../forge/forge.css), rect for rect where it can be:
    nav     home.css's markup on the 1680 column (--nav-column, STANDING for every rebuild page)
    HERO    two columns inside the 1440 column, split 45 / 55
              LEFT   the eyebrow, the headline, his body line, THE WALK (the rooms), the trial slot; --block-w wide (command.js, the
                     Forge's rule: as wide as the right square, or the room left of it)
              RIGHT  the room's screenshot in a square the size of the Forge's ring stack (714 x --z, the Forge's own fit)
  THE HEADLINE'S Y (r250): the shared slot, ../slot.css (--slot-hl: the headline's top below the hero's top, one rule for every page; this
  page's copy starts that far down less the eyebrow's line and gap). It was --cmd-top here, a line fitted through the Forge's y at his
  three screens in the page's two type sizes; retired, and with it the 3 px the classic scrollbar added to it (the line read vw).
  Black ground: no haze (the chair's ruling, Tue 2026-10-27). No grid, no pattern.
  Below lg (1024px) the column stacks: the words, the screenshot full width, the walk, the trial.
*/

:root {
  --z: 1.1; /* first paint only; command.js writes the real one */
  --hl-size: clamp(26px, 2.05vw, 54px);   /* the Forge's (b.css) */
  --walk-size: clamp(15px, 0.8vw, 20px);  /* the Forge's walkthrough reading size */
  --walk-ink: color-mix(in srgb, var(--ink) 80%, var(--bg));
  --stage-unlit: #5d6378;
}

body.page-command { --nav-column: 1680px; display: block; }
body.page-command::before { content: none; } /* black: no haze (ruled) */
html { scrollbar-gutter: stable; }
.page-command .command-screen { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr; }


/* ---------- the stage (forge.css, kept) ---------- */
.page-command .stage { justify-content: flex-start; }
.page-command .centre {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
  width: min(var(--column), 100%);
}
.page-command .hero {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  align-items: stretch;
  align-content: center;
  min-height: 0;
}

/* ---------- LEFT ---------- */
.page-command .copy {
  justify-self: start;
  min-width: 0;
  width: var(--block-w, max-content);
  display: flex;
  flex-direction: column;
  /* r250: the headline stands on the shared slot (../slot.css): its top below the hero's top, less the eyebrow's line and gap that stand above it in flow (was --cmd-top, a line fitted through the Forge's y) */
  padding-top: max(0px, calc(var(--slot-hl) - var(--slot-above)));
}
.page-command .eyebrow {
  margin: 0 0 calc(var(--hl-size) * 0.9);
  font-size: var(--eb-size);   /* slot.css: the one eyebrow size */
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.page-command .eyebrow span { display: block; }
.page-command .creed { display: block; width: 100%; }

/* the headline: the Forge's .hl, exactly */
.page-command .hl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-size: var(--hl-size);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  word-spacing: 0.09em;
  white-space: nowrap;
  color: var(--ink);
}
.page-command .hl-line { display: block; }
.page-command .lede {
  margin: calc(var(--hl-size) * 0.5) 0 0;
  font-size: var(--walk-size);
  line-height: 1.55;
  color: var(--walk-ink);
  text-wrap: pretty;
}

/* r195: the walk's layout, the arrows, the counter and the room headers are retired with the walk (the left is a static write-up). The #walk section is
   the rooms' DATA only (hidden); nothing here styles it. */

/* the trial: the Forge's DOWNLOAD slot, held on every step and shown on the last (no pop-in: visibility only) */
.page-command .cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7em; margin-top: calc(var(--walk-size) * 1.6); }
.page-command .cta[data-shown="false"] { visibility: hidden; }
.page-command .cta-note { margin: 0; font-size: clamp(13px, 0.74vw, 18px); letter-spacing: 0.04em; color: var(--accent); white-space: nowrap; }   /* r265: the house cyan on every page's note (his word: "if its on every page - probably the blue") */

/* ================= RIGHT: the screenshot =================
   ROUND 2 (his eye, Wed 2026-10-28: "spacing looks bad on the command page - the image is too tall"). The square below is still the
   Forge's .crest-stage, rect for rect; the shot no longer fills it. THE BAND: from the eyebrow's top (the shot's top aligns with it)
   to the Forge stage's bottom (the shot + its caption end inside it). The shot is a landscape crop, sized by aspect into that band
   (contain), centred in the stage column; "example data" sits under its right edge, the band's bottom-right. command.js measures
   the band and writes --band-top / --shot-max-w / --shot-max-h. */
.page-command .shot-row { display: flex; justify-content: center; align-items: center; min-width: 0; }
.page-command .shot-stage {
  position: relative;
  box-sizing: border-box;
  width: calc(714px * var(--z));
  height: calc(714px * var(--z));
  padding-top: var(--band-top, 0px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-command .shot-frame { display: grid; grid-template-columns: auto; grid-template-rows: auto auto; max-width: 100%; }
.page-command .shot {
  grid-area: 1 / 1;
  margin: 0;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s var(--ease-out), visibility 0s linear 0.22s;
}
.page-command .shot.is-current { visibility: visible; opacity: 1; transition: opacity 0.22s var(--ease-out), visibility 0s; }
.page-command .shot img {
  display: block;
  box-sizing: border-box;
  max-width: var(--shot-max-w, 100%);
  max-height: var(--shot-max-h, none);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(138, 138, 154, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
/* "example data" (his word: "example data labelled"): small, quiet, under the shot's right edge */
/* r232 (the chair's ruling): the line under the picture holds two captions: the preview cue on the left, "example data" stays on the right; both the same plain caption type, no arrow, not blue */
.page-command .shot-caps { grid-area: 2 / 1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.page-command .shot-cue { margin: 0; padding-top: 8px; font-size: clamp(11px, 0.6vw, 14px); letter-spacing: 0.06em; color: rgba(160, 175, 190, 0.7); }
.page-command .shot-note {
  margin: 0;
  padding-top: 8px;
  font-size: clamp(11px, 0.6vw, 14px);
  letter-spacing: 0.06em;
  color: rgba(160, 175, 190, 0.7);
}

/* ---- r180: CLICK TO ENLARGE (his word: "what if we use the image and we make it a click-to-enlarge?") ---- */
.page-command .shot-open { display: block; margin: 0; padding: 0; border: 0; background: none; font: inherit; line-height: 0; color: inherit; cursor: zoom-in; }
.page-command .shot-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.page-command .shot img { transition: border-color 0.2s ease; }
/* r186 (his word, Wed 2026-10-28: "a pulse with our Empire Blue around the image. That should bring people's eyes over there as something to click."):
   the preview breathes in the site's own cyan (--accent), 2.0 s (the Forge's pulse cadence, his r51-r53), starting at its LOW (his word: "Don't have this
   one start at its peak." the Forge's pulses start at their peak; this one does not); a shadow, so nothing moves. Hover holds it lit and steady; reduced motion shows the steady soft ring with no animation. */
.page-command .shot.is-current img { border-color: rgba(34, 211, 238, 0.85); animation: shot-pulse 2s ease-in-out infinite; }
.page-command .shot-open:hover img, .page-command .shot-open:focus-visible img { animation: none; border-color: var(--accent); box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.9), 0 0 34px 6px rgba(34, 211, 238, 0.5), 0 24px 60px rgba(0, 0, 0, 0.55); }
@keyframes shot-pulse {
  0%, 100% { border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.24), 0 0 16px 1px rgba(34, 211, 238, 0.22), 0 24px 60px rgba(0, 0, 0, 0.55); }   /* r282 (his words, Sat 2026-10-31 19:1x: "i just want its lows a bit higher"): the trough rests at a soft edge (ring 0.45, glow 0.22 over 16 px; was 0.3 / 0.1 over 8 px — on black, nothing); the peak and the 2 s breath unchanged */
  50% { border-color: rgba(34, 211, 238, 0.85); box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.7), 0 0 30px 5px rgba(34, 211, 238, 0.42), 0 24px 60px rgba(0, 0, 0, 0.55); }
}
/* r195: the left is a static write-up. The rooms' data section is not shown; "Click the image to enlarge" is a plain, steady button in the site's cyan
   (the old blue next-room label's look), under the paragraph; the pulsing cue under the picture (r194) is gone (his word). */
.page-command .go-pricing { display: block; width: fit-content; margin: calc(var(--walk-size) * 1.6) 0 0; padding: 0; font: inherit; font-size: var(--walk-size); /* r213: the Tools size */ font-weight: 600; letter-spacing: 0.06em; line-height: 1.5; color: var(--accent); text-decoration: none; text-align: left; cursor: pointer; transition: color 0.2s ease; }   /* r232: was the preview button's rule (.enlarge-btn); same type, same slot, steady (his r214 word removed the pulse from this slot; the Forge's walk labels do pulse: one line to add if he wants it) */
/* r214 (his word, Thu 2026-10-29: "Let's actually remove that pulse from the command blue button."): r212's pulse on the button is gone; the button is steady again, the picture keeps its own pulse (r186). */
.page-command .go-pricing:hover { color: var(--cyan-hot); }
/* r243 (his word, rulings.md 18:53: "Continue to pricing pulsing approved."): "› Continue to Pricing" breathes as the Tools' "› Sample The Forge" does (meet.css .next-label: 2 s, opacity 1 to 0.55); none under reduced motion */
.page-command .go-pricing { animation: cta-pulse 1.4s ease-in-out infinite;   /* LIVE 9: the one breath in home.css */ }
@media (prefers-reduced-motion: reduce) { .page-command .go-pricing { animation: none; } }
.page-command .go-pricing:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* r183: the enlarged picture is the whole app window, shrunk to fit the viewer's window (no scrolling at desktop widths; below lg it pans, see the media block) */
.page-command .shot-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; overflow: auto; background: rgba(2, 3, 6, 0.9); cursor: zoom-out; animation: shot-lb-in 0.18s var(--ease-out) both; }
.page-command .shot-lightbox-stage { display: flex; flex-direction: column; align-items: stretch; width: fit-content; margin: auto; padding: 0; max-width: none; cursor: default; }
/* r187: the picture is the app: the frame hugs the picture and carries the menu's invisible buttons (positions in %, set by command.js) */
.page-command .shot-lightbox-frame { position: relative; display: block; line-height: 0; }
.page-command .shot-hot { position: absolute; display: block; padding: 0; margin: 0; background: transparent; border: 1px solid transparent; border-radius: 6px; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.page-command .shot-hot:hover { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.55); }
.page-command .shot-hot:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; background: rgba(34, 211, 238, 0.1); }
.page-command .shot-hot[aria-current="page"] { cursor: default; }
/* r196 (his words, Thu 2026-10-29: "when we have the image expanded, we should have the left side menu you're currently on pulse but go from current brightness to
   brighter, not dark to current" and "lets just have the vertical line and the text doing the pulsing, dont do anything with the rectangle in the background"):
   the current menu item's bright pixels (its vertical line and its text) pulse from their picture look UP to brighter and back, 2.0 s, starting at the picture's own
   brightness. How: a copy of the picture, cut to the current item's rectangle, is pushed to full contrast and laid over the picture with `lighten` (a per-channel
   maximum): its dark ground becomes black and changes nothing, its bright line and text become brighter; its opacity is the pulse. The rectangle behind never moves.
   Reduced motion: no overlay shown. */
.page-command .shot-glow { position: absolute; left: 0; top: 0; width: 100%; height: 100%; box-sizing: border-box; border: 1px solid transparent; object-fit: fill; pointer-events: none; mix-blend-mode: lighten; filter: brightness(1.25) contrast(1.7); opacity: 0; will-change: opacity; animation: shot-glow-pulse 2s ease-in-out infinite; }
/* peak at 50 % (his word: "cut down peak brightness to 50%"); the same box as the picture itself (its 1 px border included) so the copy and the picture coincide exactly */
@keyframes shot-glow-pulse { 0%, 100% { opacity: 0; } 50% { opacity: 0.5; } }
.page-command .shot-lightbox-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.page-command .shot-lightbox-hint { margin: 0; padding-top: 8px; font-size: 13px; letter-spacing: 0.06em; color: var(--accent); }
.page-command .shot-lightbox-toast { position: absolute; left: 50%; bottom: 18px; margin: 0; padding: 9px 16px; transform: translateX(-50%); font-size: 14px; line-height: 1.3; letter-spacing: 0.02em; color: var(--ink); background: rgba(10, 12, 18, 0.94); border: 1px solid rgba(138, 138, 154, 0.35); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0s linear 0.2s; pointer-events: none; }
.page-command .shot-lightbox-toast.is-on { opacity: 1; visibility: visible; transition: opacity 0.2s ease; }
.page-command .shot-lightbox-img { display: block; flex: none; width: auto; height: auto; max-width: 94vw; max-height: calc(100dvh - 160px); object-fit: contain; border: 1px solid rgba(138, 138, 154, 0.28); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6); }
/* r184 (his word: "make it a little bit smaller so you still see the dimmed-out menus at the top"): at desktop widths the picture starts below the
   site's nav (84 px tall at his three screens) and the dim is a little lighter, so the nav still reads behind it */
@media (min-width: 1024px) {
  .page-command .shot-lightbox { padding: 100px 0 24px; background: rgba(2, 3, 6, 0.78); }
}
.page-command .shot-lightbox-note { margin: 0; padding-top: 8px; font-size: 13px; letter-spacing: 0.06em; color: rgba(160, 175, 190, 0.75); }
.page-command .shot-lightbox-x { position: fixed; top: 20px; right: 24px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; font: inherit; font-size: 16px; color: var(--ink); background: rgba(10, 12, 18, 0.7); border: 1px solid var(--line); border-radius: 0; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; }
.page-command .shot-lightbox-x:hover, .page-command .shot-lightbox-x:focus-visible { color: var(--accent); border-color: var(--accent); outline: none; }
/* below lg the preview is ~335 px wide: the enlarged picture is shown at 1000 px and the overlay pans (a press without a drag still closes) */
@media (max-width: 1023px) {
  .page-command .shot-lightbox { overflow: auto; place-items: start; -webkit-overflow-scrolling: touch; }
  .page-command .shot-lightbox-stage { max-width: none; padding: 76px 16px 24px; }
  .page-command .shot-lightbox-img { max-width: none; max-height: none; width: 1000px; }
}
@keyframes shot-lb-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .page-command .shot-lightbox { animation: none; }
  .page-command .shot-glow { display: none; }
  .page-command .shot img, .page-command .shot-lightbox-x, .page-command .shot-hot, .page-command .shot-lightbox-toast { transition: none; }
  .page-command .shot.is-current img { animation: none; border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35), 0 0 18px 2px rgba(34, 211, 238, 0.22), 0 24px 60px rgba(0, 0, 0, 0.55); }
}

/* ---------- BELOW lg: one column; the words, the screenshot full width, the enlarge button, the trial ---------- */
@media (max-width: 1023px) {
  /* m2: `.page-command .nav { overflow: hidden }` RETIRED (the nav no longer overflows; the clip hid the phone panel) */
  .page-command .stage { padding-top: 24px; }
  .page-command .hero { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .page-command .copy, .page-command .creed { display: contents; }
  .page-command .copy { padding-top: 0; }
  .page-command .eyebrow { order: 1; margin-bottom: 14px; }
  .page-command .hl { order: 2; white-space: normal; }
  .page-command .lede { order: 3; margin-top: 16px; }
  .page-command .shot-row { order: 4; margin-top: 24px; }
  .page-command .go-pricing { order: 5; margin: 14px 0 0; min-height: 44px; }
  .page-command .cta { order: 6; margin-bottom: 24px; }
  .page-command .cta-note { white-space: normal; }
  .page-command .shot-stage { width: 100%; height: auto; padding-top: 0; }
  .page-command .shot-frame { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .page-command .shot img { width: 100%; max-width: 100%; max-height: none; }
  /* stacked frames: the grid cell holds the tallest (all are the same size) */
}

@media (prefers-reduced-motion: reduce) {
  .page-command .shot, .page-command .shot.is-current, .page-command .go-pricing { transition: none; }}

/* ================= FOOTER (compliance): forge.css's copy of the live site's footer CSS, verbatim ================= */
footer {
  text-align: center;
  padding: 26px 24px 30px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(138,138,154,0.55);
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}
.compliance-footer { max-width: 1080px; margin: 22px auto; text-align: left; }
.disclosure { font-size: 0.8125rem; line-height: 1.7; letter-spacing: normal; text-transform: none; color: var(--ink-dim); margin-bottom: 16px; }
.disclosure-title { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); font-weight: 700; margin-bottom: 6px; }
.disclosure-more { font-size: 0.75rem; letter-spacing: normal; text-transform: none; text-align: center; }
.disclosure-more a,
.attribution-line a { color: var(--ink-dim); text-decoration: underline; text-decoration-color: rgba(138,138,154,0.35); text-underline-offset: 2px; }
.disclosure-more a:hover,
.attribution-line a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.attribution { max-width: 1080px; margin: 0 auto 18px; text-align: left; }
.attribution-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; font-size: 0.75rem; letter-spacing: normal; text-transform: none; color: var(--ink-dim); margin-bottom: 16px; text-align: center; }
.attribution-label { color: var(--ink-dim); }
.attribution-sep { color: rgba(138,138,154,0.4); }
.platform-logo { display: inline-flex; align-items: center; line-height: 0; }
.platform-logo img { display: block; opacity: 0.88; transition: opacity 0.2s ease; }
.platform-logo:hover img { opacity: 1; }
.platform-logo--ninjatrader img { height: 20px; width: auto; }
.platform-logo--kinetick { display: block; overflow: hidden; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.08); transition: border-color 0.2s ease; }
.platform-logo--kinetick:hover { border-color: rgba(255, 255, 255, 0.18); }
.platform-logo--kinetick img { display: block; height: 52px; width: auto; opacity: 1; }
.attribution-note { font-size: 0.75rem; line-height: 1.6; letter-spacing: normal; text-transform: none; color: var(--ink-dim); }
.footer-copyright { padding-top: 18px; border-top: 1px solid rgba(138,138,154,0.14); }
