/* Fightplan discipline pages (BJJ, MMA, boxing, Muay Thai) and the Salt Lake City page: what these five add to
   the inner-page system (2026-11-20, KD-58).
   Loaded after styles.css and inner.css, on these five pages only. Tokens come from styles.css (brand-tokens.json).
   inner.css and inner.js are used as they are: the hero (.in-hero), the pinned stage (.pin), the fight-card rows
   (.card .bout), the large link panels (.arts), the compact rows (.quiet), the FAQ and the raised-fist closing.
   Every default below is the still state: no JS and reduced motion both get it. inner.js adds the motion.
   Blocks, in page order:
     .dx-hero       the hero's crop, fade and headline size, set per page with custom properties; the breadcrumb
     .dx-stage      the pinned stage's words for longer step names, and its work: .dx-board, a first screen drawn
                    in code, one zone per step (.scr); the zone in play is lit
     .dx-sec        a full-width section with a large head (.dx-head) and rows that draw in (.dx-rows, data-seq)
     .dx-price      the same head over fight-card rows (.dx-card)
     .dx-links      a row of links to the other gym pages, inside a compact row (.quiet)
     .dx-front      Salt Lake City only: the Wasatch Front as a line drawing, with five stops */

/* ---------- Hero ---------- */
/* Per page (set on the section's second class), all plain numbers:
     --dx-s           how far right the picture sits, in hundredths of the window's width
     --dx-pos, -m     the picture's crop on wide screens and on phones
     --dx-f1 to -f3   the three stops of the fade to black under the type, in hundredths of the window's width
     --dx-lines       the headline's line count
     --dx-rest        the height in px of everything else on the first screen
     --dx-cap         the headline's largest size in px, so its widest line ends before the picture's subject */
.dx-hero{--dx-s:10;--dx-pos:50% 40%;--dx-pos-m:50% 40%;--dx-f1:30;--dx-f2:43;--dx-f3:53;--dx-lines:3;--dx-rest:560;--dx-cap:132}
.dx-bjj{--dx-s:26;--dx-pos:45% 45%;--dx-pos-m:47% 45%;--dx-f1:30;--dx-f2:44.5;--dx-f3:50;--dx-cap:124}
.dx-mma{--dx-s:18;--dx-pos:50% 42%;--dx-pos-m:55% 40%;--dx-f1:27;--dx-f2:40;--dx-f3:49;--dx-lines:2}
.dx-box{--dx-s:26;--dx-pos:45% 35%;--dx-pos-m:40% 35%;--dx-f1:30;--dx-f2:41.5;--dx-f3:47;--dx-rest:585;--dx-cap:124}
.dx-thai{--dx-s:22.5;--dx-pos:50% 12%;--dx-pos-m:50% 12%;--dx-f1:24;--dx-f2:35;--dx-f3:44;--dx-cap:120}
.dx-slc{--dx-s:24;--dx-pos:50% 50%;--dx-pos-m:70% 50%;--dx-f1:26;--dx-f2:38;--dx-f3:48;--dx-lines:4;--dx-rest:530;--dx-cap:120}
.dx-crumbs{margin:0 0 var(--space-3)}
.dx-br-wide{display:none}
.dx-hero .in-hero-zoom img{object-position:var(--dx-pos-m)}
@media (min-width:768px) and (min-aspect-ratio:1001/1000){
  /* wide screens. The picture's subject sits right of the type: the picture starts --dx-s hundredths in from the
     left edge, and the fade to black ends where the subject begins. The picture is never wider than 1811 px, so
     with the 1.06 push the 1920 px file is never enlarged. */
  .dx-hero .in-hero-zoom{right:calc(var(--dx-s) * -1vw)}
  .dx-hero .in-hero-zoom img{object-position:var(--dx-pos)}
  .dx-hero .in-hero-photo::after{background:
    linear-gradient(90deg,var(--bg) 0%,rgba(11,11,12,.94) calc(var(--dx-f1) * 1%),rgba(11,11,12,.55) calc(var(--dx-f2) * 1%),rgba(11,11,12,0) calc(var(--dx-f3) * 1%)),
    linear-gradient(180deg,var(--bg) 0%,rgba(11,11,12,0) 8%),
    linear-gradient(0deg,var(--bg) 0%,rgba(11,11,12,0) 20%)}
  /* the breadcrumb in the hero's top-left corner, on the page's left margin */
  .dx-hero .in-hero-copy{position:static}
  .dx-crumbs{position:absolute;top:var(--space-5);left:max(var(--gutter),calc((100% - var(--container)) / 2 + var(--gutter)));margin:0}
  /* the system's headline size, capped from the window's height by this page's own sum: the lines of the headline
     and the height of the rest (strip, header, breadcrumb, label, paragraph, buttons) share one screen */
  .dx-hero .display{font-size:min(clamp(52px,8.6vw,calc(var(--dx-cap) * 1px)),max(60px,calc((100vh - var(--dx-rest) * 1px) / (var(--dx-lines) * .9))));max-width:none}
  .dx-hero .lede{font-size:18px;line-height:1.5;max-width:min(27em,32vw)}
  /* three pictures bring their subject or a lit patch closer to the type, so their paragraph is narrower */
  .dx-bjj .lede{max-width:min(25em,31vw)}
  .dx-box .lede{max-width:min(22em,27vw)}
  .dx-thai .lede{max-width:min(25em,29vw)}
  /* a line break in the headline that is only taken on wide screens */
  .dx-br-wide{display:inline}
}
@media (min-width:768px) and (min-aspect-ratio:1001/1000) and (max-height:800px){
  /* short windows: a smaller paragraph and less room under the buttons leave more of the screen to the headline */
  .dx-hero{--dx-rest:500}
  .dx-box{--dx-rest:545}
  .dx-slc{--dx-rest:470}
  .dx-hero .in-hero-copy{padding-bottom:var(--space-7)}
  .dx-hero .lede{font-size:var(--text-md);margin-bottom:var(--space-5)}
}
@media (max-height:699px){
  /* under 700 px tall the breadcrumb would sit on the label under it, so it goes (it stays in the page's data for
     search engines, and Gyms is in the menu) */
  .dx-crumbs{display:none}
}
@media (min-width:768px) and (min-aspect-ratio:1001/1000) and (max-height:959px){
  /* the MMA page on a laptop: its headline is three lines since K6 chose "Don't scare off beginners."
     (2026-11-20), so its label reaches the breadcrumb sooner (it touched at 1366x768 and sat close at 1536x864).
     Under 960 px tall it goes. */
  .dx-mma .dx-crumbs{display:none}
}
@media (max-width:767px){
  /* phones: the picture gives up height first, so the button stays on the first screen */
  .dx-hero .in-hero-photo{min-height:0;height:clamp(130px,calc(100vh - 570px),min(40vh,82vw));height:clamp(130px,calc(100svh - 570px),min(40svh,82vw))}
}
@media (max-width:767px) and (max-height:699px){
  /* short phones (a phone's browser with its bars showing): a shorter picture, a smaller headline and a tighter
     paragraph, so the headline, every word of the paragraph and the button share the first screen */
  .dx-hero .in-hero-photo{height:clamp(130px,calc(100vh - 480px),250px);height:clamp(130px,calc(100svh - 480px),250px)}
  .dx-hero .in-hero-copy{margin-top:-14px}
  .dx-hero h1{margin-bottom:var(--space-3)}
  .dx-hero h1 > .label{margin-bottom:var(--space-2)}
  .dx-hero .display{font-size:clamp(44px,13.6vw,56px)}
  .dx-hero .lede{font-size:var(--text-sm);line-height:1.4;margin-bottom:var(--space-3)}
}
@media (max-width:340px) and (max-height:699px){
  /* the smallest phones (320 px wide): the paragraph wraps to more lines, so the picture and headline give a little more */
  .dx-hero .in-hero-photo{height:clamp(100px,calc(100vh - 520px),250px);height:clamp(100px,calc(100svh - 520px),250px)}
  .dx-hero .display{font-size:40px}
}
@media (min-width:1812px) and (min-aspect-ratio:1001/1000){
  /* windows wider than the picture: the type's column stops growing with the window, so the picture and its fade
     keep their place beside the type (counted from the page's left margin, as at 1811 px) until the picture
     reaches the right edge, where it stays */
  .dx-hero .in-hero-zoom{right:min(0px,calc(50vw - 905.5px - var(--dx-s) * 18.11px))}
  .dx-hero .in-hero-photo::after{background:
    linear-gradient(90deg,var(--bg) 0%,rgba(11,11,12,.94) calc(50vw - 905.5px + var(--dx-f1) * 18.11px),rgba(11,11,12,.55) calc(50vw - 905.5px + var(--dx-f2) * 18.11px),rgba(11,11,12,0) calc(50vw - 905.5px + var(--dx-f3) * 18.11px)),
    linear-gradient(180deg,var(--bg) 0%,rgba(11,11,12,0) 8%),
    linear-gradient(0deg,var(--bg) 0%,rgba(11,11,12,0) 20%)}
}

/* ---------- The pinned stage: longer step names, so each step is a name over its line ---------- */
.dx-stage .pin-title > .label{display:block;margin-bottom:var(--space-3)}
.dx-stage .pin-steps button{grid-template-columns:minmax(0,1fr);row-gap:4px}
.dx-stage .ps-name{font-size:26px}
@media (min-width:1024px){
  .dx-stage .ps-name{font-size:30px}
}
/* pinned (inner.js adds .is-pinned): sized from the window's height and width, so the label, a two-line headline,
   the four steps and the round marker share one screen from 640 px tall up */
.pin.dx-stage.is-pinned .pin-text{--nm:clamp(22px,3.5vh,32px)}
.pin.dx-stage.is-pinned .pin-title{font-size:clamp(34px,min(4.5vw,calc((100vh - 400px) / 6.6)),78px)}
.pin.dx-stage.is-pinned .pin-steps button{grid-template-columns:minmax(0,1fr);row-gap:2px;padding:clamp(7px,calc(3.6vh - 20px),14px) 0}
.pin.dx-stage.is-pinned .ps-name{font-size:var(--nm)}
/* not pinned (phones, tablets, short or narrow windows, reduced motion): the four steps pass quickly, so all four
   stay at full strength and only the line over the step in play moves */
.pin.dx-stage:not(.is-pinned) .pin-steps button{color:var(--fg)}
.pin.dx-stage:not(.is-pinned) .pin-steps .ps-desc{color:var(--fg-2)}

/* ---------- The stage's work: a first screen drawn in code. Every size inside is in em, and no type is smaller
   than 1em, so the whole board scales as one piece and its smallest type is the unit: 12 px where the page flows
   (phones, tablets, no JS), never under 11 px when the stage is pinned. A picture strip with the invented gym's
   name, then one zone (.scr) per step in step order. ---------- */
.dx-stage .pin-piece{padding-bottom:var(--space-2)}
.dx-board{display:flex;flex-direction:column;width:min(100%,44em);font-size:12px;line-height:1.35;color:var(--fg)}
/* pinned, tall windows: an upright board, 44 by 60 units, sized from the pane's height and its width. The pane is
   7 of 12 columns less its 6% side padding; its height is the window less the header, the caption and the padding. */
.pin.dx-stage.is-pinned .dx-board{width:44em;height:60em;
  font-size:min(calc((100vh - 184px) / 60),calc((50vw + 560px) * .0113),17px)}
@media (max-height:843px){
  /* pinned, short windows: the upright board would need type under 11 px, so the board lies down instead: the
     picture strip across the top, the four zones two by two, as wide as the pane, sized from the pane's width.
     If a window is too short even for that, the board scrolls inside the pane. */
  .pin.dx-stage.is-pinned .dx-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;
    width:min(100%,60em);height:auto;max-height:100%;overflow-y:auto;scrollbar-width:thin;
    font-size:clamp(11px,calc((50vw + 560px) * .0092),13px)}
  .pin.dx-stage.is-pinned .dx-board > .frame-bar,.pin.dx-stage.is-pinned .dx-board > .bz-top{grid-column:1 / -1}
  .pin.dx-stage.is-pinned .bz-top{height:6.4em}
  .pin.dx-stage.is-pinned .dx-board > .scr:nth-child(even){border-left:1px solid var(--border-strong)}
}
.dx-board .frame-bar{flex:none;height:2.7em;padding:0 1.1em;gap:.5em;font-size:1em}
.dx-board .frame-bar i{width:.6em;height:.6em}
.dx-board .frame-bar span{margin-left:.6em;font-size:1em}
/* the invented site's top: a strip of the page's own picture, cropped to the work (hands, grips, the kick) so no
   face is its subject, faded to black on the left under the gym's name; the site's one button on the right */
.bz-top{position:relative;isolation:isolate;overflow:hidden;flex:none;display:flex;justify-content:space-between;align-items:flex-end;gap:1em;
  height:9.5em;padding:1.1em 1.8em;border-top:1px solid var(--border-strong);background:var(--black)}
.bz-top img{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--bz-pos,50% 50%)}
.bz-top::before{content:"";position:absolute;inset:0;z-index:-1;background:
  linear-gradient(90deg,rgba(11,11,12,.94) 0%,rgba(11,11,12,.82) 34%,rgba(11,11,12,.25) 62%,rgba(11,11,12,0) 100%),
  linear-gradient(0deg,rgba(11,11,12,.7) 0%,rgba(11,11,12,0) 55%)}
.bz-name{font-family:var(--font-display);font-weight:700;font-size:2.4em;letter-spacing:.03em;line-height:.95;text-transform:uppercase}
@media (max-width:379px){.bz-name{font-size:2em}}   /* narrow phones: the longest name stays on one line beside the button */
.bz-btn{display:inline-flex;align-items:center;height:2.7em;padding:0 1.2em;background:var(--fg);color:var(--bg);
  font-size:1em;font-weight:700;letter-spacing:.1em;line-height:1;text-transform:uppercase;white-space:nowrap;
  clip-path:polygon(.7em 0,100% 0,100% calc(100% - .7em),calc(100% - .7em) 100%,0 100%,0 .7em)}
/* a zone: full strength by default. With inner.js running, the zone in play gets a lighter ground and a marker on
   its left edge; only while the stage is pinned, when each step holds for most of a screen, do the other three
   step back. */
.dx-board .scr{position:relative;inset:auto;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;gap:.75em;
  padding:1.25em 1.8em 1.35em;border-top:1px solid var(--border-strong);opacity:1;transform:none;
  transition:opacity 500ms var(--ease),background-color 500ms var(--ease)}
.dx-board .scr::before{content:"";position:absolute;left:-1px;top:-1px;bottom:0;width:3px;background:var(--fg);
  transform:scaleY(0);transform-origin:50% 0;transition:transform 500ms var(--ease)}
.pin.is-live.is-pinned .dx-board .scr:not(.on){opacity:.3}
.pin.is-live .dx-board .scr.on{--zbg:var(--surface);background:var(--zbg)}
.pin.is-live .dx-board .scr.on::before{transform:scaleY(1)}
.bz-head{display:flex;justify-content:space-between;align-items:baseline;gap:1em}
.bz-l{font-size:1em;font-weight:600;letter-spacing:.14em;line-height:1.3;text-transform:uppercase;color:var(--fg-2)}
.bz-k{font-family:var(--font-display);font-weight:700;font-size:1.2em;letter-spacing:.1em;line-height:1;color:var(--muted)}
.bz-h{font-family:var(--font-display);font-weight:700;font-size:2.9em;line-height:.95;text-transform:uppercase}
.bz-p{margin:0;font-size:1.3em;line-height:1.4;color:var(--fg-2)}
/* schedule rows: time, class, tag */
.bz-rows{display:grid}
.bz-row{display:grid;grid-template-columns:4.6em minmax(0,1fr) auto;align-items:center;column-gap:.9em;padding:.5em 0;border-top:1px solid var(--border)}
.bz-row:first-child{border-top:0;padding-top:0}
.bz-row:last-child{padding-bottom:0}
.bz-row b{font-family:var(--font-display);font-weight:700;font-size:2em;line-height:1;font-variant-numeric:tabular-nums}
.bz-row span{font-size:1.35em;font-weight:600;line-height:1.25}
.bz-row span small{display:block;font-size:.8em;font-weight:400;color:var(--fg-2)}
.bz-tag{display:inline-block;padding:.42em .65em .36em;border:1px solid rgba(255,255,255,.45);
  font-size:1em;font-style:normal;font-weight:700;letter-spacing:.1em;line-height:1;text-transform:uppercase;white-space:nowrap;color:var(--fg)}
.bz-tag.is-solid{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.bz-tags{display:flex;flex-wrap:wrap;gap:.5em}
/* three points on a line */
.bz-path{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:.8em;margin:0;padding:0;list-style:none}
.bz-path::before{content:"";position:absolute;left:.35em;right:calc(33.33% - .9em);top:.35em;height:1px;background:rgba(255,255,255,.45)}
.bz-path li{position:relative;padding-top:1.25em;font-size:1em}
.bz-path li::before{content:"";position:absolute;left:0;top:0;width:.7em;height:.7em;background:var(--zbg,var(--bg));border:1px solid var(--fg)}
.bz-path li:last-child::before{background:var(--fg)}
.bz-path b{display:block;font-size:1.35em;font-weight:600;line-height:1.2}
.bz-path small{display:block;font-size:1.1em;line-height:1.3;color:var(--fg-2)}
/* a chain of squares: who taught whom, ending in the head instructor */
.bz-chain{display:flex;align-items:center}
.bz-chain i{position:relative;flex:none;width:1.5em;height:1.5em;margin-right:2.4em;border:1px solid rgba(255,255,255,.45)}
.bz-chain i::after{content:"";position:absolute;left:calc(100% + 1px);top:50%;width:2.4em;height:1px;background:rgba(255,255,255,.45)}
.bz-chain i:last-of-type{margin-right:.9em;background:var(--fg);border-color:var(--fg)}
.bz-chain i:last-of-type::after{content:none}
.bz-chain span{font-size:1.3em;color:var(--fg-2)}
/* two doors, side by side */
.bz-doors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.8em}
.bz-doors > div{display:grid;gap:.35em;padding:1em 1.1em 1.05em;border:1px solid rgba(255,255,255,.45)}
.bz-doors b{font-family:var(--font-display);font-weight:700;font-size:3.2em;line-height:.95;text-transform:uppercase}
.bz-doors span{font-size:1.25em;line-height:1.3;color:var(--fg-2)}
/* three facts in a row */
.bz-cells{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.bz-cells > div{padding:0 .9em 0 0}
.bz-cells > div + div{padding-left:.9em;border-left:1px solid var(--border-strong)}
.bz-cells small{display:block;font-size:1em;font-weight:600;letter-spacing:.1em;line-height:1.3;text-transform:uppercase;color:var(--fg-2)}
.bz-cells b{display:block;margin-top:.3em;font-family:var(--font-display);font-weight:700;font-size:1.7em;line-height:1;text-transform:uppercase;white-space:nowrap}
/* three terms in a row, each with a few plain words under it */
.bz-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.bz-trio > div{padding:0 .9em 0 0}
.bz-trio > div + div{padding-left:.9em;border-left:1px solid var(--border-strong)}
.bz-trio b{display:block;font-family:var(--font-display);font-weight:700;font-size:2em;line-height:1;text-transform:uppercase}
.bz-trio small{display:block;margin-top:.35em;font-size:1.1em;line-height:1.3;color:var(--fg-2)}
.bz-nb{white-space:nowrap}
/* a line with a button at its end */
.bz-pick{display:flex;justify-content:space-between;align-items:center;gap:1em}
@media (max-width:339px){.bz-pick:has(> .bz-tags){flex-wrap:wrap;gap:.7em 1em}}   /* 320 px phones: the two tags drop under the time */
.bz-t{font-size:1.35em;font-weight:600;line-height:1.25}
.bz-t small{display:block;font-size:.8em;font-weight:400;color:var(--fg-2)}
/* Red on the drawn screen (added by the main session, 2026-11-20, after K6 asked for red accents on the AI samples
   and the Apps screens the same evening): the invented site's buttons, which are what its visitor is meant to
   press, and the marker on the zone in play. Tags, lines and squares keep their white states. */
.bz-btn{background:var(--accent);color:var(--accent-on)}
.dx-board .scr::before{background:var(--brand-red)}

/* ---------- A full-width section: a large head, then rows that draw in one after another (--d per row,
   inner.js data-seq). White hairlines; the page's red line is kept for the prices. ---------- */
.dx-sec{border-top:1px solid var(--border);padding:var(--space-8) 0}
.dx-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:var(--space-7);align-items:end;margin-bottom:var(--space-7)}
/* the section headline size of the inner pages (inner.css: .arts-head, .tape-top, .price-head) */
.dx-head h2{font-size:clamp(44px,6.4vw,92px);line-height:.9}
.dx-head > h2:only-child{grid-column:1 / -1}
.dx-head .lede{margin:0 0 6px;font-size:var(--text-base);line-height:1.5;max-width:60ch}
.dx-head .lede a{color:var(--fg);text-underline-offset:3px}
.dx-rows{list-style:none;margin:0;padding:0}
.dx-row{position:relative;display:grid;grid-template-columns:56px minmax(0,6fr) minmax(0,5fr);column-gap:var(--space-5);align-items:baseline;
  padding:var(--space-5) 0;--d:1}
.dx-row::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--border-strong);transform:scaleX(var(--d));transform-origin:0 50%}
.dx-row:last-child{border-bottom:1px solid var(--border)}
.dx-row > *{opacity:calc(.2 + .8 * var(--d));transform:translateY(calc((1 - var(--d)) * 10px))}
.dx-row-no{font-family:var(--font-display);font-weight:700;font-size:15px;letter-spacing:.1em;line-height:1;color:var(--muted)}
.dx-row h3{font-size:clamp(30px,3.7vw,52px);line-height:.95}
.dx-row p{margin:0;max-width:46ch;font-size:var(--text-base);line-height:1.5;color:var(--fg-2)}
@media (max-width:1023px){
  .dx-head{grid-template-columns:minmax(0,1fr);row-gap:var(--space-4)}
  .dx-row{grid-template-columns:40px minmax(0,1fr);row-gap:var(--space-3)}
  .dx-row p{grid-column:2}
}
@media (max-width:767px){
  .dx-sec{padding:var(--space-7) 0}
  .dx-head{margin-bottom:var(--space-6)}
  .dx-head .lede{font-size:var(--text-md)}
  .dx-row{grid-template-columns:32px minmax(0,1fr);padding:var(--space-4) 0 var(--space-5)}
  .dx-row p{font-size:var(--text-md)}
}

/* ---------- Prices: the same head over fight-card rows. inner.css draws the red line across each row and fills
   it in when it arrives (.card .bout, .in). ---------- */
.dx-price{border-top:1px solid var(--border);padding:var(--space-8) 0 0}
.dx-card .bout{grid-template-columns:minmax(0,1fr) clamp(190px,21vw,280px);gap:var(--space-6);padding:var(--space-5) 0;align-items:center}
.dx-card .bout > div:first-child{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:var(--space-2) var(--space-6);align-items:center}
.dx-card .bout h3{font-size:clamp(28px,3.4vw,46px);line-height:.95}
.dx-card .bout p{font-size:var(--text-base);color:var(--fg-2);max-width:44ch}
.dx-card .bout .amt{min-width:0}
.dx-card .bout .amt .num{font-size:clamp(44px,5.4vw,76px);line-height:.9}
.dx-card .bout .amt small{display:block;margin-top:var(--space-2);font-size:var(--text-sm);color:var(--fg-2)}
@media (max-width:1023px){
  .dx-card .bout > div:first-child{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:767px){
  .dx-price{padding-top:var(--space-7)}
  /* phone: the name and the price on one line, the line of text under them (inner.css's phone row, for an h3) */
  .dx-card .bout{grid-template-columns:minmax(0,1fr) auto;gap:var(--space-3) var(--space-4);padding:var(--space-5) 0;align-items:end}
  .dx-card .bout h3{grid-column:1;grid-row:1;font-size:28px}
  .dx-card .bout .amt .num{font-size:48px}
  .dx-card .bout p{font-size:var(--text-md);max-width:none}
}

/* ---------- Links to the other gym pages, as the right side of a compact row ---------- */
/* a head that is only a label needs no gap under it */
.quiet-head > .label:only-child{margin-bottom:0}
.dx-links{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--border)}
.dx-links li + li{border-left:1px solid var(--border)}
.dx-links a{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);min-height:64px;padding:var(--space-4) var(--space-4) var(--space-4) 0;
  font-family:var(--font-display);font-weight:700;font-size:22px;line-height:1;text-transform:uppercase;text-decoration:none;color:var(--fg)}
.dx-links li + li a{padding-left:var(--space-4)}
.dx-links a:focus-visible{outline-offset:-3px}
.dx-links .icon{width:18px;height:18px;color:var(--fg-2);transition:transform 400ms var(--ease),color 400ms var(--ease)}
.dx-links a:hover .icon{transform:translateX(5px);color:var(--fg)}
@media (max-width:1023px){
  .dx-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dx-links li:nth-child(odd){border-left:0}
  .dx-links li:nth-child(odd) a{padding-left:0}
  .dx-links li:nth-child(n+3){border-top:1px solid var(--border)}
}
@media (max-width:479px){
  .dx-links{grid-template-columns:minmax(0,1fr)}
  .dx-links li,.dx-links li + li{border-left:0}
  .dx-links li + li{border-top:1px solid var(--border)}
  .dx-links li a,.dx-links li + li a{padding-left:0;padding-right:0;min-height:56px}
}

/* ---------- Salt Lake City: the Wasatch Front as a line drawing, seen from the west, north on the left. The near
   ridge draws from Ogden to Provo, then the five stops arrive one after another (--d, inner.js data-seq). ---------- */
.dx-front{position:relative}
.dx-ridges{position:relative}
.dx-ridge{display:block;width:100%;height:clamp(96px,15vw,200px);overflow:visible}
.dx-ridge path{fill:none;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.dx-ridge.far path{stroke:var(--border-strong);stroke-width:1}
/* the near ridge is uncovered from the left, so it reads as being drawn */
.dx-ridge.near{position:absolute;left:0;top:0;--d:1;clip-path:inset(-6px calc((1 - var(--d)) * 100%) -6px 0)}
.dx-ridge.near path{stroke:var(--fg-2);stroke-width:1.5}
/* phones: the stops as a list down the page */
.dx-stops{list-style:none;margin:0;padding:0;border-top:1px solid var(--border-strong)}
.dx-stops li{position:relative;padding:var(--space-3) 0 var(--space-3) var(--space-5);border-bottom:1px solid var(--border);--d:1}
.dx-stops li::before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:var(--fg-2);transform:scaleY(var(--d));transform-origin:50% 0}
.dx-stops li.is-city::before{width:2px;background:var(--brand-red)}
.dx-stops b,.dx-stops small{display:block;opacity:calc(.2 + .8 * var(--d))}
.dx-stops b{font-family:var(--font-display);font-weight:700;font-size:28px;line-height:1;text-transform:uppercase;white-space:nowrap}
.dx-stops small{margin-top:4px;font-size:var(--text-xs);font-weight:600;letter-spacing:.14em;line-height:1.4;text-transform:uppercase;color:var(--muted)}
@media (min-width:768px){
  /* wide screens: the stops along the foot of the ridge, evenly spaced; the first sits on the left margin, the last
     on the right, the three between are centred on their marks */
  .dx-stops{position:relative;height:96px}
  .dx-stops li{position:absolute;left:calc(var(--x) * 1%);top:0;padding:var(--space-5) 0 0;border-bottom:0;transform:translateX(-50%);text-align:center}
  .dx-stops li::before{left:50%;top:-8px;bottom:auto;height:16px;transform:scaleY(var(--d));transform-origin:50% 50%}
  .dx-stops li.is-city::before{top:-12px;height:24px;margin-left:-1px}
  .dx-stops li:first-child{transform:none;text-align:left}
  .dx-stops li:first-child::before{left:0}
  .dx-stops li:last-child{left:auto;right:0;transform:none;text-align:right}
  .dx-stops li:last-child::before{left:auto;right:0}
  .dx-stops b{font-size:clamp(22px,2.7vw,36px);transform:translateY(calc((1 - var(--d)) * 8px))}
}

@media (prefers-reduced-motion:reduce){
  .dx-board .scr,.dx-board .scr::before,.dx-links .icon{transition:none}
  /* the whole first screen at full strength; the zone in play keeps its marker. inner.js does not pin with reduced
     motion, so the dimming rule above never applies here; this line keeps it that way if that ever changes */
  .pin.is-live.is-pinned .dx-board .scr:not(.on){opacity:1}
}
