/* A station page: one tool, told in full. Loads after lab-shell.css and lab-sections.css.
   The media slots on these pages are the shot list: each one says which clip or screenshot belongs there. */

  .mhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; border-top: 0 !important; padding-block: calc(var(--hdr) + 40px) 72px !important; }
  .mhero .crumb { display: inline-flex; align-items: center; gap: 10px; color: var(--graphite); font-size: .92rem; text-decoration: none; }
  .mhero .crumb:hover { color: var(--ink); }
  .mhero .no { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; font: 700 clamp(4.4rem, 9vw, 8rem)/.82 var(--display); letter-spacing: -.05em; color: var(--ink); }
  .mhero .no small { font: 600 1rem var(--body); letter-spacing: 0; color: var(--graphite); }
  .mhero .wm { height: 30px; width: auto; margin-top: 22px; }
  .mhero h1 { margin-top: 14px; font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1; font-weight: 700; }
  .mhero .lede { margin-top: 18px; max-width: 46ch; }
  .mhero .retires { margin-top: 16px; color: var(--graphite); }
  .mhero .retires s { color: var(--ink); text-decoration-color: var(--you); text-decoration-thickness: 2px; }
  .mhero .cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
  .mhero .slot, .mhero .shot { justify-self: end; width: 100%; max-width: 720px; }

  #tour .feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: clamp(24px, 4vw, 64px); align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
  #tour .feat:first-of-type { margin-top: 36px; }
  #tour .feat:nth-of-type(even) .copy { order: 2; }
  #tour .feat h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.08; margin-top: 12px; }
  #tour .feat p { margin-top: 12px; color: var(--graphite); font-size: 1.05rem; max-width: 52ch; }
  #tour .feat .tags { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
  #tour .feat .tags .st { font-size: .84rem; color: var(--graphite); }
  #tour .feat .aside { margin-top: 12px; padding-left: 14px; border-left: 3px solid var(--line-2); color: var(--graphite-2); font-size: .93rem; max-width: 50ch; }

  #fiveapps .versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
  #fiveapps .col { padding: 24px; border-radius: var(--r-card); }
  #fiveapps .col.old { background: var(--panel); border: 1px solid var(--line); }
  #fiveapps .col h3 { font-size: 1.2rem; }
  #fiveapps .col ol { margin: 14px 0 0; padding: 0 0 0 1.3em; display: grid; gap: 9px; font-size: .98rem; }
  #fiveapps .col.old ol { color: var(--graphite); } #fiveapps .col.porcelain ol { color: var(--p-bone); }
  #fiveapps .col .sum { margin-top: 16px; font: 600 1rem var(--display); }
  #fiveapps .col.porcelain .sum { color: var(--p-ember); }

  #odd ul, #notyet ul { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
  #odd li { padding: 18px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--graphite); font-size: .98rem; }
  #odd li b { display: block; margin-bottom: 4px; color: var(--ink); font: 700 1.5rem/1 var(--display); letter-spacing: -.02em; }
  #notyet li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--graphite); }
  #notyet li .st { color: var(--ink); font-weight: 600; font-size: 1rem; }
  #notyet li span.d { display: block; margin: 4px 0 0 16px; font-size: .93rem; }

  .pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 44px !important; }
  .pager a { display: grid; gap: 4px; padding: 20px 22px; text-decoration: none; }
  .pager a small { color: var(--p-dust); font-size: .84rem; }
  .pager a b { font: 700 1.3rem var(--display); }
  .pager a.next { text-align: right; }

  @media (max-width: 1100px) { .mhero, #tour .feat, #fiveapps .versus { grid-template-columns: 1fr; } #tour .feat:nth-of-type(even) .copy { order: 0; } }
  @media (max-width: 760px) { .pager { grid-template-columns: 1fr; } }
  /* with the rail showing (tablets and phones) the station header starts below the orb's cutout, so the big number
     never sits behind the ring */
  @media (max-width: 1099px) { body.sb-open .mhero { padding-block: calc(var(--hdr) + var(--c0x-sidebar-cutout-bottom) + 14px) 48px !important; } body:not(.sb-open) .mhero { padding-block: calc(var(--hdr) + 26px) 48px !important; } }
