/* tour.html only: the centred hero, the ten-step click-through (a vertical rail of steps, dots on a phone), the film
   slot and the small engine map. Existing tokens only. */
.tr-hero .hx-top-hand{margin-bottom:0}
.tr-hero .eyebrow{justify-content:center;margin-bottom:10px}
.tr-hero .lede{text-align:center;margin:22px auto 0}
.tr-hero .lede a{color:var(--ink)}
.tr-hero .cta-row{justify-content:center;margin-top:26px}
main[data-page="tour"] .hx-top-hand .hand-line{white-space:nowrap}
@media (max-width:1000px){main[data-page="tour"] .hx-top-hand .hand-line{font-size:clamp(44px,12vw,64px)}}

/* the click-through */
.tr{display:grid;grid-template-columns:228px minmax(0,1fr);gap:clamp(28px,3.5vw,48px);align-items:start;margin-top:clamp(48px,6vw,80px);scroll-margin-top:calc(var(--head-h) + 20px)}
.tr-railcol{display:block;min-width:0}
.tr-rail{display:grid;gap:3px}
.tr-tab{display:flex;align-items:center;gap:12px;width:100%;padding:7px 12px 7px 7px;margin:0;border:0;border-radius:12px;background:none;cursor:pointer;text-align:left;
  font:inherit;font-weight:600;font-size:15px;line-height:1.25;color:var(--ink-2)}
.tr-tab:hover{background:var(--paper-2);color:var(--ink)}
.tr-tab .n{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex:none;font:500 12px/1 var(--f-mono);background:var(--et);color:var(--ei)}
.tr-tab[aria-selected="true"]{background:var(--surface);box-shadow:var(--shadow-frame);color:var(--ink)}
.tr-tab[aria-selected="true"] .n{background:var(--ei);color:var(--surface)}
.tr-tab .l{min-width:0}
@media (min-width:1101px){
  .tr-railcol{position:relative}
  .tr-railcol .hnote{left:70px;top:-84px;margin:0;max-width:none;white-space:nowrap}
  .tr-railcol .hnote .harrow{left:-56px;top:22px}
  .tr-copy .hnote{position:relative;margin:18px 0 0 auto;max-width:none;white-space:nowrap}
  .tr-copy .hnote .harrow{right:-64px;top:-22px;transform:scale(-1,-1)}
}
.tr-stage{min-width:0}
.tr-panel{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(24px,3vw,44px);align-items:start}
.tr-copy{display:grid;gap:16px;align-content:start;min-width:0;padding-top:clamp(0px,1.6vw,22px)}
.tr-h{font-size:clamp(28px,2.6vw,38px);line-height:1.08}
.tr-k{display:block;font-family:var(--f-mono);font-size:12px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;color:var(--ei);margin-bottom:10px}
.tr-copy p:not(.hnote){margin:0;font-size:16.5px;color:var(--ink-2)}
.tr-copy .more{width:max-content}
.tr-built{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}
.tr-built .bl{font-family:var(--f-mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);margin-right:2px}
.tr-built .chip{font-size:13px;padding:4px 11px;color:var(--ink)}
.tr-shot{display:grid;gap:14px;min-width:0}
.tr-cap{margin:0;font-size:13.5px;color:var(--ink-3)}
.tr-shot .spot-stage{padding:30px 0 30px 30px}
.tr-shot .spot-stage>.frame{margin-right:-16px}
.tr-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.tr-nav .prev{justify-self:start}
.tr-nav .next{justify-self:end}
.tr-nav .ctr{font-family:var(--f-mono);font-size:12.5px;letter-spacing:.04em;color:var(--ink-3);white-space:nowrap}

/* pictures inside the frames */
.tr-list{display:grid;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.tr-list>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:11px 12px;border-bottom:1px solid var(--line);font-size:12.5px;min-width:0}
.tr-list>div:last-child{border-bottom:0}
.tr-list .e-ico{width:30px;height:30px;border-radius:9px}
.tr-list .e-ico .ico{width:16px;height:16px}
.tr-list b{display:block;font-size:13px;line-height:1.3}
.tr-list small{display:block;color:var(--ink-3);font-size:11.5px}
.tr-list .hi{background:var(--surface-2)}
.tr-list .acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.tr-callout{grid-column:2/-1;justify-self:start;display:inline-flex;gap:7px;align-items:center;font-size:12px;font-weight:500;background:var(--conn-t);color:var(--conn-i);border-radius:9px;padding:7px 10px;max-width:100%}
.tr-callout .ico{width:14px;height:14px;flex:none}
.tr-app{display:flex;min-height:300px}
.tr-app .cside{width:190px}
.tr-app .conv{padding:16px}
.tr-bgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tr-bgrid .w2{grid-column:span 2}
.tr-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
.tr-q{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:9px 10px;border-bottom:1px solid var(--line);font-size:12px}
.tr-q:last-of-type{border-bottom:0}
.tr-q b{font-size:12.5px}
.tr-q small{grid-column:1;color:var(--ink-3);font-size:11.5px}
.tr-q .v{grid-row:1/3;grid-column:2;align-self:center;font-weight:600;white-space:nowrap}
.tr-big{padding:4px 10px 8px;font-size:22px;font-weight:600;letter-spacing:-.01em}
.tr-big small{display:block;font-size:11.5px;font-weight:500;color:var(--ink-3);letter-spacing:0}
.tr-fc{display:grid;gap:8px}
.tr-fc .chart{--fs:19px!important}
.tr-fc .lead{font-size:12px;font-weight:600;color:var(--anl-i);background:var(--anl-t);border-radius:8px;padding:7px 9px}
.tr-flow .node{min-width:min(330px,100%)}
.tr-flow .node .waiting{margin-left:auto}
.tr-small{font-size:11.5px;color:var(--ink-3);margin:0}
.tr .listcard-f{gap:4px 12px;flex-wrap:wrap}

/* film slot */
.tr-film{max-width:980px;margin-inline:auto;display:grid;gap:14px}
.tr-film-body{position:relative;aspect-ratio:16/9;background:var(--surface-2);overflow:hidden;border-radius:0 0 var(--r-frame) var(--r-frame)}
.tr-film-body .scrim{position:absolute;inset:0;display:grid}
.tr-play{width:clamp(60px,8vw,88px);height:clamp(60px,8vw,88px);border-radius:50%;background:var(--ink);color:var(--paper);display:grid;place-items:center;box-shadow:var(--shadow-pop)}
.tr-play .ico{width:38%;height:38%;margin-left:6%}
/* film B's poster frame (review site only; the live build plays the film) */
.tr-poster .tr-film-body{border-radius:var(--r-frame)}
.tr-poster .scrim{background:var(--surface-2);place-content:center;justify-items:center;gap:14px;padding:6%}
.tr-poster-l{font-family:var(--f-display);font-size:clamp(24px,2.6vw,36px);letter-spacing:-.015em;line-height:1.1;color:var(--ink);text-align:center}
.tr-poster-s{font-family:var(--f-mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);text-align:center}
.tr-film-cap{display:grid;gap:6px;max-width:760px;margin-inline:auto;text-align:center}
.tr-film-cap p{margin:0;font-size:15px;line-height:1.5;color:var(--ink-2)}

/* the engine map (What you saw) */
.tr-map{display:grid;justify-items:center}
.tr-map .core{width:min(380px,100%)}
.tr-map .core-h{justify-content:flex-start}
.tr-map a.eng-btn,.tr-map a.core-base{text-decoration:none}
.tr-map a.core-base:hover{box-shadow:inset 0 0 0 1.5px var(--line-2)}

@media (max-width:1000px){
  .tr{grid-template-columns:1fr;gap:18px}
  .tr-rail{display:flex;flex-wrap:wrap;justify-content:center;gap:0}
  .tr-tab{width:32px;height:32px;padding:0;justify-content:center;border-radius:50%;background:none!important;box-shadow:none!important}
  .tr-tab .n{width:10px;height:10px;font-size:0;background:var(--ec);opacity:.4}
  .tr-tab[aria-selected="true"] .n{opacity:1;width:24px;border-radius:999px;background:var(--ec)}
  .tr-tab .l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .tr-railcol .hnote{text-align:center;margin:4px auto 0}
  .tr-panel{grid-template-columns:1fr;gap:22px}
  .tr-shot{order:-1}
  .tr-copy{padding-top:0}
}
@media (max-width:760px){
  .tr-shot .spot-stage{padding:20px 0 20px 16px}
  .tr-shot .spot-stage>.frame{margin-right:-6px}
  .tr-app{flex-direction:column;min-height:0}
  .tr-app .cside{width:auto;border-right:0;border-bottom:1px solid var(--line)}
  .tr-bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tr-bgrid .w2,.tr-bgrid .w1{grid-column:1/-1}
  .tr-bgrid .tile .big{font-size:26px}
  .tr-two{grid-template-columns:1fr}
  .tr .agent-page{grid-template-columns:1fr;padding:12px}
  .tr-list .acts{grid-column:2/-1;justify-content:flex-start}
  .tr-callout{grid-column:1/-1}
  .tr .p-hist .chart{--fs:17px!important}
  .tr-film-body{aspect-ratio:4/3}
}

/* This page's inline styles, as classes (written by the build). */
.s-0ac3af6d{margin:0 !important}
.s-1f26bcc5{background:var(--s3) !important}
.s-29cb5ead{background:var(--bad-t) !important;color:var(--bad) !important}
.s-2aa63c89{background:var(--s2) !important}
.s-33ed1937{width:max-content !important}
.s-4b75e7d0{background:var(--s1) !important}
.s-57b0f808{width:16px !important;height:16px !important}
.s-59e14bb0{display:grid !important;gap:18px !important}
.s-59e14bb0[hidden]{display:none !important}
.s-75ca61d0{--fs:12px !important}
.s-95a449bb{font-size:12.5px !important}
.s-cb9a8bdb{border-radius:0 0 var(--r-frame) var(--r-frame) !important}
.s-dd0f4fcb{display:flex !important;gap:6px !important;justify-content:flex-end !important}
.s-dd0f4fcb[hidden]{display:none !important}
.s-f37bc93c{--fs:11px !important}
