/* The routes' pages. Each is the route's own page in the design of its decade (canon/ALMANAC.md, part 3):
   2090s, less performance (Hail, Thrice, Fallow; Lintel keeps the calm of the 2080s counter); the 2070s stamp
   (Roger); the 2060s window (Understudy); the 2030s glass (Glasshouse); the wire (facsimile, telephone, telegrams).
   Staging: an element with data-at takes its end at its time (route.js adds .on); without the script, or under
   reduced motion, every element is in its end state. Round 24b: the text, the tables and the drawings stand from the
   first; one thing moves. */

:root { --sans: "Archivo", "Sym Mono", system-ui, sans-serif; --mono: "Plex Mono", "Sym Mono", ui-monospace, monospace;
        --serif: "Source Serif", Georgia, "Times New Roman", serif;
        --gut: max(16px, env(safe-area-inset-left, 0px), clamp(16px, 4.6vw, 72px));
        --bg: #f3f2ee; --fg: #121417; --dim: #5f6066; --acc: #121417; --line: rgb(18 20 23 / .16); color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 420 17px/1.45 var(--sans); font-synthesis: none;
       -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
dl, dd { margin: 0; }

.rt__main { position: relative; min-height: 100svh; overflow: hidden; display: grid; row-gap: clamp(22px, 4vh, 44px);
            grid-template-rows: auto 1fr auto auto;
            padding: max(18px, env(safe-area-inset-top, 0px)) var(--gut) max(22px, env(safe-area-inset-bottom, 0px)); }
.rt__brand { position: relative; z-index: 1; margin: 0; display: inline-flex; align-items: center; gap: 12px; font: 600 16px/1 var(--sans); }
.rt__brand .rmark { width: 30px; height: 30px; }
.rt__stage { position: relative; z-index: 1; align-self: center; justify-self: center; width: 100%; max-width: 1180px; }
.rt__text { position: relative; z-index: 1; max-width: min(100%, 1000px); }
.rt__status { margin: 0 0 14px; font: 500 12px/1.5 var(--mono); letter-spacing: .08em; color: var(--dim); }
.rt__say { margin: 0; font: 520 clamp(28px, 4.2vw, 58px)/1.08 var(--sans); letter-spacing: -.012em; text-wrap: balance; }
.rt__sub { margin: 14px 0 0; font: 440 clamp(17px, 1.6vw, 22px)/1.4 var(--sans); }
.rt__fine { margin: 18px 0 0; max-width: 66ch; font: 400 13.5px/1.6 var(--mono); color: var(--dim); }
.rt__fine a { color: var(--fg); }
.rt__back { position: relative; z-index: 1; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font: 400 13px/1.4 var(--sans); }
.rt__back a { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
/* the 2090s (Astra, 24e): the stage on the page's own edges, under the mark and over the statement; the statement
   54/59 at most */
.rt-era--now .rt__stage { justify-self: stretch; max-width: none; }
.rt-era--now .rt__say { font-size: clamp(28px, 3.75vw, 54px); line-height: 1.09; }
@media (min-width: 1100px) {
  .hl, .th { grid-template-columns: 480px minmax(0, 1fr); column-gap: 64px; }
}

/* the event again (the earlier decades' pages): a small round control in the stage's corner once the event is over */
.rt__again { position: absolute; right: 0; top: 0; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px;
             padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--dim);
             cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s ease, color .12s ease, border-color .12s ease; }
.rt__again.is-on { opacity: 1; pointer-events: auto; }
.rt__again:hover { color: var(--fg); border-color: currentColor; }
.rt__again svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* the drawings made in code (round 24c): inline, the page's width; on a phone their finest lines left out */
.rt__draw { display: block; width: 100%; height: auto; }
.rt__draw .is-gone { display: none; }

/* fields, as every route's surface lists them */
.f-list > div { display: grid; grid-template-columns: minmax(7.5em, 2fr) minmax(0, 3fr); gap: 4px 14px; padding-block: 9px;
                border-top: 1px solid var(--line); }
.f-list dt { font: 400 12.5px/1.45 var(--mono); color: var(--dim); }
.f-list dd { font: 500 15px/1.4 var(--sans); min-width: 0; }
.f-list dd span { display: block; font: 400 13px/1.4 var(--sans); color: var(--dim); }

/* the statement stands from the first (round 24b): the page is whole at once, and only its event moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ======================================================================== Hail · 2090: a postcard across the delay */
.rt--hail { --bg: #0b1428; --fg: #e9eef8; --dim: #a3adc2; --acc: #ff8050; --line: rgb(233 238 248 / .15); color-scheme: dark; }
.hl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(22px, 4vw, 64px); align-items: center; }
.hl__card { background: #101c37; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px 18px; }
.hl__k { margin: 0 0 12px; font: 600 15px/1 var(--sans); }
.hl__f > div { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 12px; padding-block: 9px; border-top: 1px solid var(--line); }
.hl__f dt { font: 400 12.5px/1.45 var(--mono); color: var(--dim); }
.hl__f dd { font: 500 14.5px/1.4 var(--mono); }
.hl__f dd span { display: block; font: 400 13px/1.4 var(--sans); color: var(--dim); }
.hl__body { height: 62px; margin: 12px 0; border: 1px solid var(--line); border-radius: 8px; }
/* Send as the card shows it, a part of the specimen */
.hl__send { margin: 0; display: flex; justify-content: flex-end; }
.hl__send span { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); font: 600 14px/1 var(--sans); }
/* the relay, drawn in code; the card's way to it, the card, in the same picture */
.hl__scene { position: relative; min-width: 0; }
.hl__pic { position: relative; }
.hl__far, .hl__trail { fill: none; vector-effect: non-scaling-stroke; }
.hl__far { stroke: rgb(233 238 248 / .3); stroke-width: 1px; stroke-dasharray: 2 6; }
.hl__trail { stroke: var(--acc); stroke-width: 2px; stroke-linecap: round; opacity: .8; }
.hl__pk { fill: var(--acc); stroke: var(--bg); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.hl__cb { fill: #fdf1ea; stroke: var(--acc); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.hl__cs { fill: var(--acc); }
.hl__wtr { fill: none; stroke: var(--acc); stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linecap: round;
           stroke-dasharray: 1; opacity: 0; }
.hl__lamp { fill: #ffd8c8; opacity: 0; }
.hl__labs { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
.hl__lab { margin: 0; display: grid; gap: 4px; }
.hl__lab span { font: 500 12.5px/1 var(--mono); letter-spacing: .06em; }
.hl__lab small { font: 400 12.5px/1.3 var(--sans); color: var(--dim); }
/* by the bay: the bay's place in the picture is printed by tools/drawings24c.py (62.32 %, 72.21 %) */
.hl__lab--relay { position: absolute; left: calc(62.32% + 34px); top: calc(72.21% - 6px); padding: 3px 6px 4px; border-radius: 4px;
                  background: rgb(11 20 40 / .86); }
.hl__lab--relay span { color: var(--acc); }
.hl__lab--ship { text-align: right; justify-items: end; }

/* ======================================================================== Thrice · 2077 (CONSTANT): three at the door */
.rt--thrice { --bg: #f4f3ef; --fg: #0c0c0d; --dim: #56575c; --line: rgb(12 12 13 / .14); }
.rt--thrice .rt__say { font-weight: 720; font-stretch: 78%; letter-spacing: -.02em; line-height: 1; }
.rt--thrice .rt__brand { font-weight: 720; font-stretch: 78%; font-size: 18px; }
.th { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(22px, 4vw, 64px); align-items: center; }
.th__sheet { background: #fff; border-radius: 4px; padding: 20px 22px 18px; box-shadow: 0 1px 0 rgb(0 0 0 / .05), 0 14px 30px rgb(0 0 0 / .05); }
.th__k { margin: 0 0 12px; font: 720 18px/1 var(--sans); font-stretch: 78%; }
.th__f > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding-block: 9px; border-top: 1px solid var(--line); }
.th__f dt { font: 400 12.5px/1.45 var(--mono); color: var(--dim); }
.th__f dd { font: 560 15px/1.4 var(--sans); }
.th__f dd span { display: block; font: 400 13px/1.4 var(--mono); color: var(--dim); }
.th__etarow dd b { font: 720 30px/1 var(--sans); font-stretch: 78%; font-variant-numeric: tabular-nums; }
/* the wall, its terminal and the door, drawn in code; the way and the three in the same picture */
.th__scene { position: relative; min-width: 0; }
.th__pic { position: relative; max-width: 520px; margin-inline: auto; }
.th__way, .th__end { fill: none; stroke: var(--fg); stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.th__w path, .th__d { fill: var(--fg); stroke: #fff; stroke-width: 1.5px; vector-effect: non-scaling-stroke; paint-order: stroke; stroke-linejoin: round; }
.th__caret { stroke: #e8e7e1; stroke-width: 1.5px; vector-effect: non-scaling-stroke; opacity: 0; }
.th__type { fill: none; stroke: #a9a8a2; stroke-width: 1.2px; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.th__caret.is-on, .th__type.is-on { opacity: 1; }
.th__lab { position: absolute; margin: 0; font: 400 12.5px/1.3 var(--mono); color: var(--dim); white-space: nowrap; }
.th__lab span { display: block; }
/* above the way's start (18.89 %, 47.21 % of the picture, by tools/drawings24c.py) */
.th__lab--from { left: 3%; bottom: calc(52.79% + 16px); }

/* ======================================================================== Lintel · 2081: the hours of places */
.rt--lintel { --bg: #efebe1; --fg: #1b1a17; --dim: #5d5a52; --line: rgb(27 26 23 / .16); }
.rt--lintel .rt__say { font-family: var(--serif); font-weight: 400; letter-spacing: -.008em; line-height: 1.12; }
.rt--lintel .rt__brand { font-weight: 500; letter-spacing: .02em; }
.li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(22px, 4vw, 64px); align-items: end; }
.li__board { background: #f8f5ec; border: 1px solid var(--line); padding: 22px 24px 18px; }
.li__place { margin: 0 0 14px; font: 400 23px/1.2 var(--serif); }
.li__place span { display: block; margin-top: 6px; font: 400 12.5px/1.4 var(--mono); color: var(--dim); }
.li__hours { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.li__hours th { padding: 5px 0; text-align: left; font: 400 17px/24px var(--serif); border-top: 1px solid var(--line); }
.li__hours td { padding: 5px 0; text-align: right; font: 500 14px/24px var(--mono); border-top: 1px solid var(--line); }
.li__when { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; font: 400 14px/20px var(--mono); }
.li__when span { color: var(--dim); }
.li__when b { font-weight: 500; text-align: right; }
.li__gap { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font: 400 19px/1.3 var(--serif); }
.li__scene { position: relative; min-width: 0; }
.li__shadows { opacity: 0; }
.li__sh { fill: var(--fg); }
.li__hours tr th, .li__hours tr td { transition: background-color .3s ease; }
.li__hours tr.is-now th, .li__hours tr.is-now td { background: rgb(128 84 55 / .1); }

/* ======================================================================== Fallow · 2072: the directory of quiet ground */
.rt--fallow { --bg: #e5e9df; --fg: #283c32; --dim: #4f5c53; --acc: #8c7134; --line: rgb(40 60 50 / .16); }
.rt--fallow .rt__say { font-weight: 440; font-stretch: 94%; }
.fa { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(22px, 4vw, 56px); align-items: center; }
.fa__field { position: relative; min-width: 0; }
.fa__scene { position: relative; min-width: 0; }
.fa__line { fill: none; stroke: var(--acc); stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.fa__ct, .fa__cl, .fa__cr { stroke: var(--fg); stroke-width: .85px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.fa__ct { fill: #74837a; } .fa__cl { fill: #5d6b62; } .fa__cr { fill: #4b584f; }
.fa__cm { stroke: var(--fg); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.fa__lamp { fill: #e3c46a; }
.fa__mark { stroke: var(--acc); stroke-width: 4px; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: 0; }
/* the sign's plate, over the sign the drawing sets on the line (its top at 50.68 %, 39.68 %, by tools/drawings24c.py) */
.fa__sign { position: absolute; left: 50.68%; bottom: calc(60.32% + 14px); translate: -50% 0; margin: 0; padding: 6px 9px;
            background: var(--fg); color: var(--bg); font: 600 11.5px/1.25 var(--mono); letter-spacing: .06em; white-space: nowrap; }
.fa__sign::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: var(--fg); }
.fa__sign small { display: block; font-weight: 400; letter-spacing: 0; }
.fa__f dd b { font: 500 26px/1 var(--mono); font-variant-numeric: tabular-nums; }

/* ======================================================================== Roger · 2071: the decade of the stamp */
.rt--roger { --bg: #f3ede1; --fg: #141210; --dim: #57524a; --acc: #b52d19; --line: rgb(20 18 16 / .18); --say-at: 2.4s; }
.rt--roger .rt__brand { font-weight: 820; font-stretch: 125%; }
.rt--roger .rt__say { font-weight: 820; font-stretch: 112%; letter-spacing: -.02em; line-height: 1; }
.ro { max-width: 980px; }
.ro__k { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 0 0 14px; font: 820 17px/1 var(--sans); font-stretch: 112%; }
.ro__k span { font: 400 12.5px/1 var(--mono); color: var(--dim); }
.ro__log { width: 100%; border-collapse: collapse; background: #fbf8f1; border: 2px solid var(--fg); }
.ro__log th { padding: 10px 14px; text-align: left; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; color: var(--dim); border-bottom: 2px solid var(--fg); }
.ro__log td { padding: 13px 14px; font: 520 16px/1.25 var(--sans); border-top: 1px solid var(--line); }
.ro__log .m { font: 400 13.5px/1.25 var(--mono); color: var(--dim); white-space: nowrap; }
.ro__log tbody tr { transition: opacity .15s; }
.js .ro__log tbody tr:not(.on) { opacity: 0; }
.rc { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ro__st { display: inline-block; padding: 4px 9px 3px; border: 2.5px solid var(--acc); color: var(--acc); rotate: -3deg;
          font: 820 15px/1 var(--sans); font-stretch: 125%; letter-spacing: .06em; }
.ro__st--held { border-style: dashed; border-color: color-mix(in srgb, var(--acc) 35%, transparent); color: var(--dim); }   /* held: faint in its ink, legible in its word */
@media (prefers-reduced-motion: no-preference) {
  .js .ro__log tr.on .ro__st { animation: ro-stamp .22s cubic-bezier(.7, 0, .9, .4) both; }
  .js .ro__log tr.on .ro__st--held { animation: ro-held 1.15s ease both; }
}
@keyframes ro-stamp { from { opacity: 0; scale: 1.9; } to { opacity: 1; scale: 1; } }
@keyframes ro-held { 0% { opacity: 0; scale: 1.9; } 40%, 72% { opacity: .95; scale: 1.18; } 100% { opacity: 1; scale: 1; } }

/* ======================================================================== Understudy · 2061-73: the window */
.rt--understudy { --bg: #dfe3e8; --fg: #172741; --dim: #475366; --acc: #2a5fc0; --line: rgb(23 39 65 / .16); --say-at: 2.5s; }
.rt--understudy .rt__say { font-weight: 560; font-stretch: 86%; }
.rt--understudy .rt__brand { font-stretch: 86%; }
.us { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(22px, 4vw, 64px); align-items: center; }
.us__board { padding: 20px 22px; border-radius: 6px; border: 1px solid rgb(23 39 65 / .24); background: linear-gradient(180deg, #f0f2f5, #d3d9e0);
             box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgb(23 39 65 / .08); transition: opacity .5s; }
.js .us__board:not(.on) { opacity: 0; }
.us__k { margin: 0 0 12px; font: 600 15px/1 var(--sans); font-stretch: 86%; letter-spacing: .02em; }
.us__f > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding-block: 8px; border-top: 1px solid var(--line); }
.us__f dt { font: 400 12.5px/1.45 var(--mono); color: var(--dim); }
.us__f dd { font: 500 15px/1.4 var(--sans); font-stretch: 90%; }
.us__f dd b { font: 500 21px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.us__bar { height: 6px; margin-top: 12px; border-radius: 3px; overflow: hidden; background: rgb(23 39 65 / .14); }
.us__bar i { display: block; width: 100%; height: 100%; background: var(--acc); transition: width 1.2s linear; }
.js .us__bar:not(.on) i { width: 0; }
.us__room { position: relative; padding-top: 22px; }
.us__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.us__row i { aspect-ratio: 3 / 4; border-radius: 8px 8px 3px 3px; background: rgb(23 39 65 / .12); }
.us__row .us__seat { background: transparent; box-shadow: inset 0 0 0 2px var(--fg); }
.us__stand { position: absolute; top: 0; left: calc((100% - 50px) / 6 * 2 + 20px); width: calc((100% - 50px) / 6); aspect-ratio: 3 / 5;
             border: 2px dashed var(--acc); border-radius: 60px 60px 6px 6px; opacity: 0;
             transition: translate 1s cubic-bezier(.3, .6, .3, 1), opacity .5s ease; }
.js .us__stand:not(.on) { translate: 330% 0; opacity: .95; }
.js .us__stand.on:not(.gone) { translate: 0 0; opacity: .95; }

/* ======================================================================== Glasshouse · 2031-: glass */
.rt--glasshouse { --bg: #4a4cc6; --fg: #fff; --dim: #fff; --line: rgb(255 255 255 / .35); color-scheme: dark; --say-at: 1.5s; }
.rt--glasshouse .rt__brand, .rt--glasshouse .rt__say, .rt--glasshouse .rt__status { font-family: ui-rounded, "SF Pro Rounded", var(--sans); }
.rt--glasshouse .rt__say { font-weight: 600; font-size: clamp(28px, 3.8vw, 46px); }
.rt--glasshouse .rt__status { letter-spacing: .01em; font-size: 13px; font-weight: 600; }
.rt--glasshouse .rt__text { justify-self: center; text-align: center; }
.rt--glasshouse .rt__fine { margin-inline: auto; font-family: ui-rounded, var(--sans); font-size: 14px; }
.gl__blobs { position: fixed; inset: -20%; z-index: 0; filter: blur(60px) saturate(140%); pointer-events: none; }
.gl__blobs i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; opacity: .9; }
.gl__blobs i:nth-child(1) { left: -10%; top: -5%; background: radial-gradient(circle, #6fe3ff 0%, transparent 62%); }
.gl__blobs i:nth-child(2) { right: -12%; top: 10%; background: radial-gradient(circle, #ff86d6 0%, transparent 60%); }
.gl__blobs i:nth-child(3) { left: 25%; bottom: -25%; background: radial-gradient(circle, #8d7bff 0%, transparent 62%); }
@media (prefers-reduced-motion: no-preference) {
  .gl__blobs i:nth-child(1) { animation: gl-a 19s ease-in-out infinite alternate; }
  .gl__blobs i:nth-child(2) { animation: gl-b 23s ease-in-out infinite alternate; }
  .gl__blobs i:nth-child(3) { animation: gl-c 29s ease-in-out infinite alternate; }
  @keyframes gl-a { to { translate: 14vmax 8vmax; } }
  @keyframes gl-b { to { translate: -12vmax 10vmax; } }
  @keyframes gl-c { to { translate: 8vmax -12vmax; } }
}
.gh { display: grid; justify-items: center; }
.gh__card { width: min(100%, 560px); padding: 14px; border-radius: 30px; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .45);
            box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 30px 60px rgb(40 20 120 / .25);
            -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); transition: opacity .6s, scale .6s; }
.js .gh__card:not(.on) { opacity: 0; scale: .97; }
.gh__top { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; }
.gh__av { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .75); background: rgb(255 255 255 / .12); }
.gh__who { font: 600 15px/1 ui-rounded, "SF Pro Rounded", var(--sans); }
.gh__pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
            background: rgb(0 0 0 / .14); font: 600 12.5px/1 ui-rounded, "SF Pro Rounded", var(--sans); transition: background-color .4s; }
.gh__pill i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / .6); transition: background-color .4s, box-shadow .4s; }
.gh__live { display: none; }
.js .gh__pill:not(.on) { background: rgb(255 59 92 / .32); }
.js .gh__pill:not(.on) i { background: #ff3b5c; box-shadow: 0 0 0 3px rgb(255 59 92 / .3); }
.js .gh__pill:not(.on) .gh__live { display: inline; }
.js .gh__pill:not(.on) .gh__arch { display: none; }
.gh__view { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 20px; border: 1px solid rgb(255 255 255 / .3);
            background: linear-gradient(160deg, rgb(255 255 255 / .2), rgb(255 255 255 / .03)); }
.gh__room { position: absolute; inset: 0; background:
  linear-gradient(rgb(255 255 255 / .35), rgb(255 255 255 / .35)) 0 72% / 100% 1px no-repeat,
  linear-gradient(rgb(255 255 255 / .28), rgb(255 255 255 / .28)) 62% 18% / 1px 40% no-repeat,
  linear-gradient(rgb(255 255 255 / .28), rgb(255 255 255 / .28)) 86% 18% / 1px 40% no-repeat,
  linear-gradient(rgb(255 255 255 / .28), rgb(255 255 255 / .28)) 74% 18% / 24% 1px no-repeat,
  linear-gradient(rgb(255 255 255 / .28), rgb(255 255 255 / .28)) 74% 58% / 24% 1px no-repeat; }
.gh__sweep { position: absolute; top: -40%; bottom: -40%; left: 130%; width: 38%; z-index: 1; skew: -20deg 0;
             background: linear-gradient(90deg, transparent, rgb(255 255 255 / .38), transparent); }
@media (prefers-reduced-motion: no-preference) { .js .gh__sweep.on { animation: gh-sweep 1.5s cubic-bezier(.3, .2, .2, 1) both; } }
@keyframes gh-sweep { from { left: -60%; } to { left: 130%; } }
.gh__sig { display: flex; align-items: center; gap: 8px; margin: 12px 6px 2px; font: 500 12.5px/1 ui-rounded, "SF Pro Rounded", var(--sans); color: var(--dim); }
.gh__sig i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; background: radial-gradient(circle, currentColor 0 2.4px, transparent 2.9px); }

/* ======================================================================== Facsimile · the office machine */
.rt--facsimile { --bg: #e8e3d4; --fg: #24221d; --dim: #575246; --line: rgb(36 34 29 / .18); --say-at: 3.1s; }
.rt--facsimile .rt__say { font: 500 clamp(30px, 5vw, 66px)/1 var(--mono); letter-spacing: -.01em; }
.fx { display: grid; justify-items: center; }
.fx__machine { position: relative; z-index: 1; width: min(100%, 540px); height: 96px; border-radius: 14px 14px 6px 6px; border: 1px solid rgb(36 34 29 / .26);
               background: linear-gradient(180deg, #f4f0e4, #d9d2bf); box-shadow: inset 0 1px 0 #fff, 0 12px 22px rgb(0 0 0 / .08); }
.fx__brand { position: absolute; left: 20px; top: 18px; font: 600 11px/1 var(--sans); letter-spacing: .16em; color: var(--dim); }
.fx__lcd { position: absolute; right: 18px; top: 13px; min-width: 9.5em; padding: 7px 10px; border-radius: 3px; text-align: right;
           background: #a7b391; color: #1f2617; font: 500 14px/1 var(--mono); box-shadow: inset 0 1px 3px rgb(0 0 0 / .35); }
.fx__led { position: absolute; right: 22px; top: 50px; width: 8px; height: 8px; border-radius: 50%; background: #5b6a45; transition: background-color .2s; }
.js .fx__led.on.rx { background: #8fe05a; box-shadow: 0 0 6px #8fe05a; }
.fx__slot { position: absolute; left: 34px; right: 34px; bottom: 14px; height: 6px; border-radius: 3px; background: #2a2823; }
.fx__out { position: relative; width: min(100% - 76px, 470px); margin-top: -12px; overflow: hidden; padding-bottom: 12px; }
.fx__sheet { padding: 16px 16px 0; background: #f8f7f2; color: #3c3b37; box-shadow: 0 2px 6px rgb(0 0 0 / .08); }
.js .fx__sheet:not(.on) { translate: 0 -100%; }
@media (prefers-reduced-motion: no-preference) { .js .fx__sheet.on { animation: fx-feed 2.3s steps(30) both; } }
@keyframes fx-feed { from { translate: 0 -100%; } to { translate: 0 0; } }
.fx__hdr { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; margin: 0; padding-bottom: 7px;
           border-bottom: 1px dotted #8c8a84; font: 500 10.5px/1.35 var(--mono); letter-spacing: .03em; color: #45443f; }
.fx__blank { height: clamp(160px, 26svh, 250px); background: repeating-linear-gradient(0deg, transparent 0 3px, rgb(0 0 0 / .014) 3px 4px); }

/* ======================================================================== Telephone · the directory and the dial */
.rt--telephone { --bg: #f1ecdd; --fg: #121212; --dim: #565247; --line: rgb(18 18 18 / .2); --say-at: 2.8s; }
.rt--telephone .rt__say { font: 560 clamp(32px, 5.4vw, 74px)/1 var(--sans); font-stretch: 66%; letter-spacing: .005em; font-variant-numeric: tabular-nums; }
.rt--telephone .rt__brand { font-stretch: 70%; font-weight: 700; letter-spacing: .02em; }
.tp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(22px, 4vw, 64px); align-items: center; }
.tp__dir { transition: opacity .5s; }
.js .tp__dir:not(.on) { opacity: 0; }
.tp__town { margin: 0 0 12px; padding-top: 8px; border-top: 3px solid var(--fg); font: 800 13px/1 var(--sans); font-stretch: 70%; letter-spacing: .14em; }
.tp__entry { margin: 0 0 6px; font: 400 20px/1.2 var(--sans); font-stretch: 64%; }
.tp__entry b { font-weight: 820; letter-spacing: .02em; }
.tp__line { display: flex; align-items: baseline; gap: 6px; margin: 3px 0 3px 1.1em; font: 400 18px/1.3 var(--sans); font-stretch: 64%; }
.tp__line i { flex: 1; min-width: 18px; translate: 0 -4px; border-bottom: 2px dotted rgb(18 18 18 / .55); }
.tp__line .n { font-weight: 640; font-variant-numeric: tabular-nums; text-align: right; }
.tp__note { margin: 12px 0 0 1.1em; font: 400 15px/1.3 var(--serif); color: var(--dim); }
.tp__dialbox { justify-self: center; width: min(100%, 320px); }
.tp__dial { display: block; width: 100%; height: auto; }
.tp__plate { fill: #e7dfca; stroke: var(--fg); stroke-width: 1.5; }
.tp__digits text { fill: var(--fg); font: 640 18px var(--sans); text-anchor: middle; }
.tp__card { fill: #f7f2e3; stroke: rgb(18 18 18 / .4); stroke-width: 1; }
.tp__cardtext { fill: var(--fg); font: 500 9.5px var(--mono); text-anchor: middle; }
.tp__wheel { fill: #141414; transform-box: view-box; transform-origin: 120px 120px; }
.tp__stop { fill: #b9b3a2; stroke: var(--fg); stroke-width: 1.2; }
.tp__pulses { display: flex; justify-content: center; gap: 7px; margin: 14px 0 0; }
.tp__pulses i { width: 7px; height: 7px; border-radius: 50%; background: var(--fg); transition: opacity .05s; }
.js .tp__pulses i:not(.on) { opacity: .16; }

/* ======================================================================== Telegrams · the form and the tape */
.rt--telegraph { --bg: #ede1bf; --fg: #1c1914; --dim: #554c3c; --acc: #8f3420; --line: rgb(143 52 32 / .5); --say-at: 3.6s; }
.rt--telegraph .rt__say { font: 600 clamp(26px, 4.2vw, 58px)/1.04 var(--mono); letter-spacing: .01em; overflow-wrap: anywhere; }
.rt--telegraph .rt__brand { font-family: var(--serif); font-weight: 400; letter-spacing: .06em; }
.tg { display: grid; justify-items: center; gap: 16px; }
.tg__tape { position: relative; width: min(100%, 760px); height: 26px; overflow: hidden; background: #f7f1df; border-block: 1px solid rgb(28 25 20 / .2); }
.tg__morse { position: absolute; left: 0; top: 10px; display: flex; align-items: center; gap: 6px; height: 6px; }
.tg__morse b { display: block; height: 6px; background: var(--fg); border-radius: 3px; }
.tg__morse .d { width: 6px; }
.tg__morse .h { width: 18px; }
.tg__morse .g { width: 6px; height: 0; }
.tg__morse .w { width: 30px; height: 0; }
.tg__form { position: relative; width: min(100%, 760px); padding: 18px 20px 22px; background: #f6ecd2; border: 1.5px solid var(--acc);
            box-shadow: 0 8px 20px rgb(60 40 10 / .12); transition: opacity .5s; }
.js .tg__form:not(.on) { opacity: 0; }
.tg__h { margin: 0 0 12px; text-align: center; font: 400 30px/1 var(--serif); letter-spacing: .3em; color: var(--acc); }
.tg__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1.6fr; border: 1px solid var(--line); }
.tg__grid p { margin: 0; padding: 5px 7px 7px; border-right: 1px solid var(--line); min-width: 0; }
.tg__grid p:last-child { border-right: 0; }
.tg__grid span { display: block; font: 400 11.5px/1.2 var(--serif); color: var(--acc); }
.tg__grid b { display: block; margin-top: 4px; font: 500 13px/1.2 var(--mono); }
.tg__to { margin: 16px 0 12px; font: 500 18px/1.2 var(--mono); }
.tg__to span { display: inline-block; margin-right: 12px; font: 400 13px/1 var(--serif); color: var(--acc); }
.tg__strip { width: fit-content; max-width: 100%; margin: 8px 0 0; padding: 4px 8px; background: #fcf9f0; font: 500 15px/1.25 var(--mono);
             letter-spacing: .03em; box-shadow: 0 1px 1px rgb(0 0 0 / .14); min-height: 1.6em; }
.tg__stamp { position: absolute; right: 22px; bottom: 18px; display: grid; place-content: center; gap: 3px; width: 100px; height: 100px; margin: 0;
             border: 2px solid var(--acc); border-radius: 50%; color: var(--acc); text-align: center; rotate: -12deg;
             font: 600 10px/1.2 var(--mono); letter-spacing: .04em; opacity: .9; transition: opacity .18s, scale .18s cubic-bezier(.7, 0, .9, .4); }
.tg__stamp b { font-weight: 500; }
.js .tg__stamp:not(.on) { opacity: 0; scale: 1.6; }

/* ======================================================================== narrow screens */
@media (max-width: 760px) {
  .hl, .th, .li, .fa, .us, .tp { grid-template-columns: minmax(0, 1fr); }
  /* the drawing first, then the particulars (round 24b) */
  .hl__scene, .th__scene, .li__scene { order: -1; }
  .rt__draw .l3 { display: none; }
  .hl__lab--relay { left: calc(62.32% + 22px); }
  .tp__dialbox { width: min(78%, 280px); }
  .tg__grid { grid-template-columns: 1fr 1fr; }
  .tg__grid p:nth-child(2) { border-right: 0; }
  .tg__grid p:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .tg__stamp { position: static; justify-self: end; margin: 12px 0 0 auto; width: 88px; height: 88px; }
  .fa__sign { font-size: 10.5px; padding: 5px 7px; }
  .ro__log td, .ro__log th { padding-inline: 9px; }
  .ro__log td { font-size: 15px; }
}
@media (max-width: 760px) {
  .rt-era--now .rt__main { display: flex; flex-direction: column; row-gap: 0; }
  .rt-era--now .rt__stage, .rt-era--now .rt__text, .rt-era--now .hl, .rt-era--now .th, .rt-era--now .li,
  .rt-era--now .fa { display: contents; }
  .rt-era--now .rt__top { order: 0; margin-bottom: 18px; }
  .rt-era--now .hl__scene, .rt-era--now .th__scene, .rt-era--now .li__scene, .rt-era--now .fa__scene { order: 1; }
  .rt-era--now .rt__status { order: 2; margin: 24px 0 10px; }
  .rt-era--now .rt__say { order: 3; font-size: 32px; line-height: 35px; letter-spacing: -.012em; }
  .rt-era--now .hl__card, .rt-era--now .th__sheet, .rt-era--now .li__board, .rt-era--now .fa__f { order: 4; margin-top: 28px; }
  .rt-era--now .rt__sub { order: 5; margin-top: 24px; }
  .rt-era--now .rt__fine { order: 6; }
  .rt-era--now .rt__back { order: 7; margin-top: 32px; }
}
@media (max-width: 460px) {
  .li__when { font-size: 13px; }
  .th__lab { font-size: 11px; }
  .th__lab--from { bottom: calc(52.79% + 30px); }
  .ro__log thead { display: none; }
  .ro__log tr { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 10px 9px; border-top: 1px solid var(--line); }
  .ro__log td { padding: 0; border: 0; }
  .ro__log td.rc { grid-column: 1 / -1; margin-top: 8px; }
}
