/* ============================================================
   Station Line · inner pages, version 2 of 3 for the s3eliteai.org facelift.
   The homepage's orbit carried through every page: one line that draws itself as the reader scrolls, with the still
   Telescope Glint head and its comet trail, and every section a numbered station on it, like the homepage's five.
   On Accessibility, Privacy and Terms the line straightens into a reading rail down the left whose stations are the
   policy headings: it shows how far you have read and takes you to any heading.
   Loaded after orbit-path/style.css and kit/chrome.css. Tokens from orbit-path/style.css only; no hex in this file.
   ============================================================ */

/* One stacking context per page, as the homepage's .voyage: sky ground (z 0) < the line (z 1) < every plate (z 2).
   The kit's sky band isolates itself, which would lift its whole ground above the line; here it joins the page's
   context instead, so the line starts on the sky under the lockup exactly as it starts under the homepage's sun. */
.sl-voyage { position: relative; isolation: isolate; }
.sl-voyage > .sl-head { isolation: auto; }

/* ---------- the page head: a compact sky band; the lockup is the sun the line leaves from ---------- */
.sl-head-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; }
.sl-sun { --sun-w: min(24vw, 330px); position: relative; display: grid; place-items: center; min-height: calc(var(--sun-w) * 1.02); pointer-events: none; }
.sl-sun-img { position: relative; z-index: 1; width: var(--sun-w); filter: drop-shadow(0 0 22px var(--glow)) drop-shadow(0 0 60px var(--glow)); }
/* the homepage's single ring, in its proportions to the lockup (850 x 612 around 560) */
.sl-ring { position: absolute; left: 50%; top: 50%; width: calc(var(--sun-w) * 1.52); height: calc(var(--sun-w) * 1.09); transform: translate(-50%, -50%); overflow: visible; }
.sl-ring ellipse { fill: none; stroke: var(--path); stroke-width: 1.5px; opacity: 0.8; vector-effect: non-scaling-stroke; }
/* Combo (owner, 2026-10-27: no plain oval around the logo). The drawn ring is gone from About and Services; this empty
   host has the ring's exact box, so the ring she picks mounts here in the same place and size. */
.ring-host { position: absolute; left: 50%; top: 50%; width: calc(var(--sun-w) * 1.52); height: calc(var(--sun-w) * 1.09); transform: translate(-50%, -50%); overflow: visible; }
/* The ring's canvas (shared/rings) takes the logo's z-index, 1, beside the logo, and a wide ring reaches under the
   title plate (beside the logo at 1440; on a phone the plate rises over the sun's foot), so the plate stacks above it. */
.sl-plate { position: relative; z-index: 2; }
/* About wears Sky Header's plain star instead of the lockup: the icy star on the dark sky, the navy one on the light
   sky, as sky-header.css swaps them. The two images have one box (959 x 698 each, the same width rule). */
.sl-sun .sh-on-light { display: none; }
html[data-theme="light"] .sl-sun .sh-on-dark { display: none; }
html[data-theme="light"] .sl-sun .sh-on-light { display: block; }
/* daylight: the homepage's lit halo behind the navy lockup, so the logo floats on clear sky and not on the nebula */
html[data-theme="light"] .sl-sun::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--sun-w) * 1.7); aspect-ratio: 1 / 0.8; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--panel-solid) 90%, transparent) 0%, color-mix(in srgb, var(--panel-solid) 66%, transparent) 36%, transparent 100%);
}
.sl-plate .page-title { margin-bottom: 0.25em; }
.sl-plate > :last-child { margin-bottom: 0; }
.sl-crumb { font-size: 0.95rem; color: var(--text-dim); margin: 0 0 0.35rem; }
/* Inside a narrow plate the homepage's size-container rule replaces the lede's scaled clamp with a fixed 1.05rem
   (style.css 458-461), so the lede shrank when a reader picked 115% (statement-check r1 item 4). The homepage's own
   clamp is kept here at a specificity the container rule cannot replace; rem already carries the text size. */
.sl-plate .lede { font-size: clamp(1.08rem, calc(1.5vw * var(--ts)), 1.3rem); }
.sl-byline { font-family: var(--font-head); font-size: 0.86rem; font-weight: 500; letter-spacing: 0.04em; color: var(--text-dim); margin: 0 0 1.1rem; }

/* ---------- stations (About, Services): the homepage's station grid, copy | node | aside ---------- */
.sl-stations { position: relative; z-index: 2; padding: clamp(4rem, 11vh, 7rem) 0 0; }
.sl-station {
  position: relative; max-width: var(--maxw); margin: 0 auto clamp(6.5rem, 15vh, 11rem);
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid; grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr); gap: 1.5rem; align-items: center;
}
.sl-station.sl-full { grid-template-columns: minmax(0, 1fr); }
/* A station with only words spans the wrap with its node on the panel's top edge, as /04 Team does. Beside a narrow
   column of words the line alone could not fill the far third of a landscape canvas (critic r1 defect 1: 420 px of bare
   ground at 1440); here the words fill it themselves, the headline on the left and the paragraphs on the right. */
@media (min-width: 960px) {
  .sl-text .sl-copy { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: clamp(2rem, 4.5vw, 4.5rem); align-items: start; }
  /* the label sits above the headline and the paragraphs start level with the headline's first line */
  .sl-text-head { display: contents; }
  .sl-text-head > .label { grid-column: 1; grid-row: 1; }
  .sl-text-head > h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .sl-text-body { grid-column: 2; grid-row: 2; }
}
.sl-text-body > :last-child { margin-bottom: 0; }

.sl-copy, .sl-point, .sl-sect {
  background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px var(--plate-shadow);
}
.sl-copy { position: relative; grid-column: 1; grid-row: 1; padding: clamp(1.5rem, 3vw, 2.6rem); }
.sl-flip .sl-copy { grid-column: 3; }
.sl-copy h2 { font-size: clamp(1.8rem, calc(2.9vw * var(--ts)), 3.3rem); font-weight: 700; margin-bottom: 0.55em; }
.sl-text .body { max-width: 62ch; }
.sl-copy > :last-child { margin-bottom: 0; }
/* the node sits on the label line, as on the homepage */
.sl-node { grid-column: 2; grid-row: 1; width: 0; height: 0; justify-self: center; align-self: start; margin-top: calc(clamp(1.5rem, 3vw, 2.6rem) + 0.65rem); }
/* an absolute grid child takes its grid area as containing block, so the placement is reset or left: 50% measures an
   implicit zero-width column at the far edge */
.sl-full > .sl-node { position: absolute; left: 50%; top: -14px; margin: 0; grid-column: auto; grid-row: auto; }

/* the stops beside a station: each point of the section on its own card, the line running past them */
.sl-points { grid-column: 3; grid-row: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.sl-flip .sl-points { grid-column: 1; }
.sl-point {
  border-left: 3px solid var(--label); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.2rem 1.05rem 1.25rem; color: var(--text-dim); font-size: 1rem; line-height: 1.55;
}
.sl-point strong { display: block; font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }

/* Services /01: the three kinds of training as a branch off the line, three small stations of their own */
.sl-builds { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.1rem; padding-top: 1.7rem; }
.sl-builds::before { content: ""; position: absolute; left: 1.9rem; top: 0; height: 2px; background: var(--path-track);
  /* the branch ends at the last stop's dot (its centre is 1.3rem + 6px into the third card), not at the panel edge
     (critic r1 defect 4: 290 px of track that led to no station) */
  right: calc((100% - 2.4rem) / 3 - 1.3rem - 6px); }
.sl-build { position: relative; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.3rem 1.3rem 1.4rem; }
.sl-build::before { content: ""; position: absolute; left: 1.3rem; top: calc(-1.7rem - 5px); width: 12px; height: 12px; border-radius: 50%; background: var(--node-fill); border: 2px solid var(--path); }
.sl-build::after { content: ""; position: absolute; left: calc(1.3rem + 5px); top: calc(-1.7rem + 7px); width: 2px; height: calc(1.7rem - 7px); background: var(--path-track); }
.sl-build h3 { font-size: clamp(1.25rem, calc(1.6vw * var(--ts)), 1.6rem); font-weight: 700; line-height: 1.15; margin-bottom: 0.55em; }
.sl-build p { color: var(--text-dim); margin: 0; font-size: 1rem; }

/* About /04: the homepage's leadership block, once per person */
.sl-people { display: grid; gap: clamp(2rem, 5vw, 3.5rem); margin-top: 1.8rem; }
.sl-person { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
/* About's boxes in the Sky Header's arrangement (owner, 2026-10-27): a pair, a wide box, then each person on their own
   panel with the photo changing sides. The star passes behind them and shows in the gaps and the margins. */
.sl-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch; }
.sl-team-stack { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.sl-pair > .sl-copy, .sl-team-stack > .sl-copy { grid-column: auto; grid-row: auto; min-width: 0; }
.sl-pair .body { max-width: 62ch; }
@media (min-width: 960px) {
  .sl-person-flip { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  .sl-person-flip .sl-person-photo { order: 2; justify-self: end; }
}
.sl-person-photo img { border-radius: var(--radius-md); border: 1px solid var(--line); width: 100%; max-width: min(100%, 340px); }
.sl-person h3 { font-size: clamp(1.7rem, calc(2.6vw * var(--ts)), 3rem); font-weight: 700; margin-bottom: 0.45em; overflow-wrap: break-word; }
.sl-person .body { max-width: 52ch; }
.sl-person h3 .outline { display: block; }
.sl-person .stat { margin-bottom: 0; }
.role { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); margin: -0.15rem 0 1rem; }
.sl-team h2 { margin-bottom: 0.2em; }

/* the closing is the homepage's own closing band; its node is the line's last station */
.sl-voyage .closing { padding-top: 0; }
.sl-node.closing-node { margin: 0; }
/* The stations' dots are not drawn on About and Services (owner, 2026-10-27: "get rid of the solid dots"); a nebula
   blooms at each one instead (shared/comet/nebula.js). The .sl-node anchors still place them; the svg's circles stay,
   unpainted, for tools that read their positions. */
.sl-voyage > .orbit .orbit-nodes { opacity: 0; }

abbr[title] { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 0.16em; cursor: help; }

/* ---------- document pages: the reading rail ---------- */
.sl-doc-cols { grid-template-columns: minmax(0, 15.5rem) minmax(0, 47rem); gap: clamp(2rem, 4vw, 3.5rem); justify-content: center; }
.sl-head-doc .sl-sun { --sun-w: min(14vw, 200px); }
.sl-head-doc .page-plate { max-width: none; }
.sl-doc {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2rem, 6vh, 3.5rem) clamp(1rem, 4vw, 2rem) clamp(3.5rem, 9vh, 6rem);
  display: grid; align-items: start;
}
.sl-gutter { display: none; }
.sl-rail-col { min-width: 0; align-self: stretch; }
/* sticky so the contents and the progress stay beside the text; scrolls inside itself when the list is taller than
   the window (large text sizes), and the script keeps the station you are at in view */
.sl-rail {
  position: sticky; top: calc(var(--nav-h) + 1.25rem);
  max-height: calc(100vh - var(--nav-h) - 2.5rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  /* room above the first station for the lead-in, so the head's long ray is never cut by the rail's own edge */
  padding: 1.6rem 0.5rem 0.75rem 0;
}
.sl-rail .sl-rail-svg { position: absolute; inset: 0 auto auto 0; width: 100%; height: auto; z-index: 0; }
.sl-stops, .sl-stops ol { list-style: none; margin: 0; padding: 0; }
.sl-stops { position: relative; z-index: 1; }
.sl-stops a {
  display: flex; align-items: center; min-height: 2rem; padding: 0.3rem 0.45rem 0.3rem 0;
  border-radius: var(--radius-sm); color: var(--text-dim); text-decoration: none; font-size: 0.9rem; line-height: 1.3;
}
.sl-stops a:hover { color: var(--text); background: var(--chip-bg); }
/* the line runs through the middle of this column; the script reads its centre for every node */
.sl-dot { flex: none; align-self: stretch; width: 3.4rem; }
.sl-group { margin-top: 0.85rem; }
.sl-group:first-child { margin-top: 0; }
.sl-group > a { font-family: var(--font-head); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.sl-group > a .label-num { letter-spacing: 0.08em; white-space: nowrap; }
.sl-sub > a > span:last-child { padding-left: 0.9rem; }
.sl-stops a[aria-current="true"] { color: var(--text); font-weight: 600; }

/* minmax(0, 1fr): an implicit auto track grows to the widest unbreakable word (the email), and took every section
   58 to 175 px past a 390 screen at text 150% (capture v1) */
.sl-doc-body { position: relative; z-index: 2; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 4vh, 2.4rem); }
.sl-sect { padding: clamp(1.5rem, 3.2vw, 2.8rem); color: var(--text-dim); }
/* long reading on white: the darker ink, 12:1 instead of 6:1 */
html[data-theme="light"] .sl-sect { color: var(--text); }
.sl-sect h2 { font-size: clamp(1.45rem, calc(2.1vw * var(--ts)), 2.15rem); font-weight: 700; line-height: 1.12; margin: 2.4rem 0 0.75rem; color: var(--text); }
.sl-sect .label + h2 { margin-top: 0.15rem; }
.sl-sect h3 { font-size: clamp(1.15rem, calc(1.5vw * var(--ts)), 1.45rem); font-weight: 700; line-height: 1.2; margin: 1.9rem 0 0.6rem; color: var(--text); }
.sl-sect p, .sl-sect li { font-size: 1.06rem; line-height: 1.72; max-width: 68ch; }
.sl-sect p { margin-bottom: 1em; }
.sl-sect strong { color: var(--text); font-weight: 600; }
.sl-sect ul { margin: 0 0 1.2em; padding-left: 1.3rem; }
.sl-sect li { margin-bottom: 0.55em; padding-left: 0.2rem; }
.sl-sect li::marker { color: var(--label); }
.sl-sect p a, .sl-sect li a { color: var(--label); text-decoration: underline; overflow-wrap: anywhere; }
.sl-sect .contact-chip span { overflow-wrap: anywhere; }
.sl-sect .contact-name { margin: 1.2rem 0 0.8rem; }
.sl-sect .contact-chip { margin-bottom: 1.3rem; }
.sl-sect .sl-byline { margin: 1.2rem 0 0; }
.sl-sect > :last-child { margin-bottom: 0; }

/* ---------- phone: everything stacks beside the line in the left gutter ---------- */
@media (max-width: 959px) {
  .page-sky.sl-head { padding-top: var(--nav-h); padding-bottom: 2.2rem; }
  .sl-head-grid { display: block; }
  .sl-sun, .sl-head-doc .sl-sun { --sun-w: min(54vw, 240px); min-height: calc(var(--sun-w) * 1.12); }
  .sl-head .page-plate { margin-top: -0.75rem; }

  .sl-stations { padding-top: 2.5rem; }
  .sl-station, .sl-station.sl-full {
    grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start;
    padding-left: calc(var(--rail-x) + 1.25rem); padding-right: 1rem; margin-bottom: 4.5rem;
  }
  .sl-copy, .sl-flip .sl-copy, .sl-points, .sl-flip .sl-points { grid-column: 1; grid-row: auto; }
  .sl-station > .sl-node, .sl-full > .sl-node { position: absolute; left: var(--rail-x); top: 2.2rem; margin: 0; grid-column: auto; grid-row: auto; justify-self: auto; }
  .sl-copy { padding: 1.3rem 1.1rem; }
  .sl-copy h2 { font-size: clamp(1.6rem, calc(7vw * var(--ts)), 2.4rem); overflow-wrap: break-word; }
  .sl-builds { grid-template-columns: minmax(0, 1fr); margin-top: 1.4rem; padding-top: 0; }
  .sl-builds::before, .sl-build::before, .sl-build::after { display: none; }
  .sl-pair { grid-template-columns: minmax(0, 1fr); }
  .sl-person { grid-template-columns: minmax(0, 1fr); }
  .sl-person-photo img { max-width: min(100%, 240px); }

  .sl-doc { display: block; padding-top: 1.75rem; }
  .sl-gutter { display: block; }
  .sl-rail { position: relative; top: auto; max-height: none; overflow: visible; padding: 0 0 0.25rem; margin-bottom: 1.75rem; }
  .sl-dot { width: 1.6rem; }
  /* the body clears the gutter the line runs in: the dot column plus a gap, so the line never sits under a word */
  .sl-doc-body { padding-left: 2.1rem; }
  .sl-sect { padding: 1.3rem 1.1rem 1.4rem; }
  .sl-sect h2 { font-size: clamp(1.35rem, calc(5.6vw * var(--ts)), 1.9rem); overflow-wrap: break-word; }
  .sl-sect p, .sl-sect li { font-size: 1.02rem; line-height: 1.68; }
}
