/* Rigline: chalk ground, stage-grey ink, spike-blue tape, one magenta gel. The dark lives in one box: the room.
   One face, Hubot Sans, across its widths. */
@font-face { font-family: "Hubot Sans RG"; src: url("/assets/fonts/specimen/hubot-sans-var.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap; }

.spec-rigline {
  --rg-chalk: #F2F0EC; --rg-conc: #E6E3DD; --rg-conc-2: #D9D6CF; --rg-rule: #C7C3BB;
  --rg-ink: #2A2C30; --rg-ink-2: #55585E; --rg-ink-3: #8A8D92;
  --rg-tape: #1F7BFF; --rg-tape-d: #125FE6; --rg-gel: #FF3DA5;
  --rg-slab: #34363A; --rg-slab-lo: #232427; --rg-steel: #8C9096; --rg-on-slab: #F2F0EC; --rg-on-slab-2: #B9B8B4;
  --rg-font: "Hubot Sans RG", "Arial Narrow", Arial, system-ui, sans-serif;
  --m: clamp(24px, 15.1px + 2.29vw, 48px);
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
body.spec-rigline { margin: 0; background: #F2F0EC; }
.rg-page, .rg-nav { font-family: var(--rg-font); color: var(--rg-ink); -webkit-font-smoothing: antialiased; }
.rg-page { background: var(--rg-chalk); font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem); line-height: 1.58; letter-spacing: .003em; word-spacing: .05em; font-stretch: 100%; font-weight: 400; overflow-x: clip; }
.rg-page *, .rg-page *::before, .rg-page *::after, .rg-nav * { box-sizing: border-box; }
.rg-page :where(h1, h2, h3, p, ul, figure, fieldset) { margin: 0; }
.rg-page img { display: block; width: 100%; height: auto; }
.rg-page picture { display: block; }
.rg-page a { color: var(--rg-ink); }
.spec-rigline :where(.rg-page, .rg-nav) :focus-visible { outline: 2px solid var(--rg-tape-d); outline-offset: 3px; border-radius: 2px; }
.rg-page h2 { font-stretch: 125%; font-weight: 800; font-size: clamp(1.85rem, 1.15rem + 2.9vw, 3.9rem); line-height: .96; letter-spacing: -.01em; text-wrap: balance; }
.rg-page h3 { font-stretch: 112%; font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.15; }
.rg-page [id] { scroll-margin-top: calc(var(--bar-h, 40px) + var(--nav-h)); }

/* ── nav ─────────────────────────────────────────────────────────────────────────────────────── */
.rg-nav { position: sticky; top: var(--bar-h, 40px); z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: var(--m); padding: 0 var(--m); background: rgba(242, 240, 236, .94); border-bottom: 1px solid var(--rg-rule); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rg-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rg-ink); font-stretch: 125%; font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.rg-mark { display: block; flex: none; }
.rg-links { display: flex; gap: calc(var(--m) * .75); list-style: none; margin: 0 0 0 auto; padding: 0; }
.rg-links a, .rg-cta { font-weight: 650; font-size: 1rem; line-height: 1; letter-spacing: .005em; color: var(--rg-ink); text-decoration: none; }
.rg-links a { background: linear-gradient(var(--rg-tape), var(--rg-tape)) 0 100% / 0 3px no-repeat; padding: 6px 0; transition: background-size .45s var(--ease); }
.rg-links a:hover { background-size: 100% 3px; }
.rg-cta { padding: 12px 16px; border: 2px solid var(--rg-tape-d); border-radius: 2px; white-space: nowrap; transition: background-color .25s, color .25s; }
.rg-cta:hover { background: var(--rg-tape-d); color: #fff; }

/* ── hero: the brief, on the room at load-in ─────────────────────────────────────────────────── */
.rg-top { position: relative; isolation: isolate; min-height: max(640px, calc(100svh - var(--bar-h, 40px) - var(--nav-h))); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: calc(var(--m) * .5); padding: calc(var(--m) * .9) var(--m) calc(var(--m) * .75); }
.rg-hero-ph, .rg-hero-ph img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.rg-hero-ph img { object-fit: cover; object-position: 42% 62%; }
/* the chalk ground runs down into the photograph's roof */
.rg-top::before { content: ""; position: absolute; inset: 0 0 auto; height: 52%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--rg-chalk) 0, rgba(242, 240, 236, .97) 34%, rgba(242, 240, 236, .72) 62%, rgba(242, 240, 236, 0) 100%); }
.rg-top-t { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; align-items: start; }
.rg-h1 { grid-column: 1 / 9; font-stretch: 125%; font-weight: 800; font-size: min(clamp(2.2rem, 1rem + 3.9vw, 5.2rem), 8.4svh); line-height: .92; letter-spacing: -.014em; text-wrap: balance; }
.rg-sub { grid-column: 9 / 13; padding-top: .35em; font-size: clamp(.95rem, .85rem + .25vw, 1.0625rem); line-height: 1.45; color: var(--rg-ink); }

/* the brief: a brushed aluminium case lid, black ply lids for the kind of day */
.rg-desk { grid-column: 8 / 13; grid-row: 2; align-self: end; position: relative; padding: 20px 24px 22px; border-radius: 3px; color: var(--rg-ink);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, rgba(0, 0, 0, 0) 1px 3px, rgba(0, 0, 0, .025) 3px 4px), linear-gradient(180deg, #E4E6E9 0, #D3D6DA 55%, #C7CACF 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 1px #9EA2A8, 0 24px 48px -18px rgba(20, 22, 26, .55); }
.rg-desk::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #A9ADB3, #EEF0F2 45%, #9FA3A9); }
.rg-desk::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 3px;
  background: radial-gradient(circle at 9px 16px, #6B6F75 0 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 9px) 16px, #6B6F75 0 2.5px, transparent 3px); }
.rg-desk-t { font-stretch: 125%; font-weight: 800; font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); line-height: 1.05; letter-spacing: -.01em; margin: 6px 0 14px; }
.rg-row + .rg-row { margin-top: 14px; }
.rg-row-tape { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 6px; }
.rg-q { font-stretch: 75%; font-weight: 650; font-size: .9375rem; line-height: 1.2; letter-spacing: .01em; color: var(--rg-ink); padding: 0; }
.rg-val { font-stretch: 112%; font-weight: 750; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.rg-tape { grid-column: 1 / -1; position: relative; height: 40px; display: flex; align-items: center; --fill: .3333; --turn: 660deg; }
.rg-roll { flex: none; width: 36px; height: 36px; transform: rotate(var(--turn)); transition: transform .2s var(--ease); }
.rg-roll-o { fill: var(--rg-tape); }
.rg-roll-i { fill: #F2F0EC; }
.rg-roll-s { fill: #A9ADB3; }
.rg-roll-h { fill: #2A2C30; }
.rg-range { -webkit-appearance: none; appearance: none; flex: 1; height: 40px; margin: 0 0 0 -4px; background: transparent; cursor: ew-resize; }
.rg-range::-webkit-slider-runnable-track { height: 14px; background: linear-gradient(90deg, var(--rg-tape) calc(var(--fill) * 100%), transparent 0) 0 0 / 100% 100% no-repeat, linear-gradient(#7C8086, #7C8086) 0 50% / 100% 2px no-repeat; }
.rg-range::-moz-range-track { height: 14px; background: linear-gradient(#7C8086, #7C8086) 0 50% / 100% 2px no-repeat; }
.rg-range::-moz-range-progress { height: 14px; background: var(--rg-tape); }
.rg-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 30px; margin-top: -8px; border: 0; border-radius: 0; background: linear-gradient(var(--rg-ink), var(--rg-ink)) 0 0 / 100% 6px no-repeat, linear-gradient(var(--rg-ink), var(--rg-ink)) 50% 0 / 6px 100% no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.rg-range::-moz-range-thumb { width: 20px; height: 30px; border: 0; border-radius: 0; background: linear-gradient(var(--rg-ink), var(--rg-ink)) 0 0 / 100% 6px no-repeat, linear-gradient(var(--rg-ink), var(--rg-ink)) 50% 0 / 6px 100% no-repeat; }
.rg-range:focus-visible { outline-offset: 0; }
.rg-row-lids { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rg-lids { border: 0; padding: 0; min-width: 0; }
.rg-lids legend { margin-bottom: 8px; }
.rg-lidset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rg-lid-in { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rg-lid { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 10px; text-align: center; font-stretch: 75%; font-weight: 650; font-size: 1rem; line-height: 1.1; color: #F2F0EC; cursor: pointer; border-radius: 2px; border-top: 3px solid transparent;
  background: linear-gradient(135deg, #B9BDC2 0 6px, transparent 6px) 0 0 / 50% 50% no-repeat, linear-gradient(225deg, #B9BDC2 0 6px, transparent 6px) 100% 0 / 50% 50% no-repeat, linear-gradient(45deg, #9EA2A8 0 6px, transparent 6px) 0 100% / 50% 50% no-repeat, linear-gradient(315deg, #9EA2A8 0 6px, transparent 6px) 100% 100% / 50% 50% no-repeat, linear-gradient(180deg, #3a3c40, #26282b);
  box-shadow: 0 0 0 1px #1d1e21, inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 0 #7C8086; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.rg-lid:hover { border-top-color: rgba(31, 123, 255, .55); }
.rg-lid-in:checked + .rg-lid { transform: translateY(-3px); border-top-color: var(--rg-tape); box-shadow: 0 0 0 1px #1d1e21, inset 0 1px 0 rgba(255, 255, 255, .12), 0 5px 0 #7C8086, 0 9px 14px rgba(20, 22, 26, .3); }
.rg-lid-in:focus-visible + .rg-lid { outline: 2px solid var(--rg-tape-d); outline-offset: 3px; }
.rg-latch { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--rg-ink); font: 650 .9375rem/1.25 var(--rg-font); font-stretch: 75%; letter-spacing: .01em; text-align: left; cursor: pointer; }
.rg-latch-plate { position: relative; flex: none; width: 44px; height: 26px; border-radius: 2px; background: linear-gradient(180deg, #F1F2F4, #A9ADB3); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #8C9096; }
.rg-tongue { position: absolute; left: 4px; top: 5px; width: 18px; height: 16px; border-radius: 1px; background: linear-gradient(180deg, #4a4d52, #2A2C30); transition: left .25s var(--ease), background .25s; }
.rg-latch[aria-checked="true"] .rg-tongue { left: 22px; background: var(--rg-tape-d); }
.rg-latch[aria-disabled="true"] { cursor: not-allowed; color: var(--rg-ink-2); }
.rg-latch[aria-disabled="true"] .rg-latch-plate { opacity: .5; }
.rg-latch-why { font-weight: 400; }
.rg-said { margin-top: 14px; padding-top: 12px; border-top: 1px solid #A9ADB3; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); max-width: 54ch; font-size: .95rem; line-height: 1.45; color: var(--rg-ink); }
.rg-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 13px 18px; font-weight: 700; font-size: 1.1875rem; line-height: 1; letter-spacing: .005em; text-decoration: none; color: #fff !important; background: var(--rg-tape-d); border-radius: 2px; transition: background-color .25s; }
.rg-go::after { content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: translateY(-3px) rotate(45deg); }
.rg-go:hover { background: #0B4FC4; }

@media (min-width: 900px) and (max-width: 1180px) {
  .rg-h1 { grid-column: 1 / 9; font-size: min(clamp(2.2rem, 1rem + 3.9vw, 5.2rem), 7.4svh); }
  .rg-sub { grid-column: 9 / 13; font-size: .9375rem; line-height: 1.4; padding-top: 0; }
  .rg-desk { grid-column: 7 / 13; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .rg-lid { min-height: 42px; }
  .rg-desk { padding-top: 14px; padding-bottom: 16px; }
  .rg-desk-t { margin-bottom: 8px; }
  .rg-row + .rg-row { margin-top: 10px; }
  .rg-said { font-size: .875rem; margin-top: 10px; padding-top: 8px; }
  .rg-go { margin-top: 10px; padding: 11px 16px; }
}

/* phones and narrow windows: the headline on chalk, the photo as a band, the lid on it, the intro after the brief */
@media (max-width: 899.98px) {
  .spec-rigline { --nav-h: 52px; }
  .rg-links { display: none; }
  .rg-nav { gap: 12px; padding: 0 16px; justify-content: space-between; }
  .rg-brand { font-size: 1.15rem; }
  .rg-cta { padding: 9px 12px; font-size: .9375rem; }
  .rg-top { min-height: 0; display: flex; flex-direction: column; padding: 22px 16px 28px; }
  .rg-top::before { display: none; }
  .rg-top-t { display: contents; }
  .rg-h1 { order: 0; font-size: clamp(2rem, 1.1rem + 4.2vw, 3.2rem); max-width: 14em; }
  .rg-sub { order: 3; margin-top: 22px; padding: 0; max-width: 40em; color: var(--rg-ink-2); }
  .rg-hero-ph { order: 1; position: relative; inset: auto; z-index: 0; width: auto; height: auto; margin: 18px -16px 0; aspect-ratio: 1 / 1; max-height: 62svh; }
  .rg-hero-ph img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-position: 50% 60%; }
  .rg-desk { order: 2; margin: -40px 0 0; z-index: 1; padding: 16px 16px 20px; }
  .rg-desk::after { display: none; }
  .rg-desk-t { margin: 2px 0 10px; }
  .rg-go { width: 100%; justify-content: center; }
}
/* phones: the band takes what the screen has left, so the tape and the three lids stay on the first screen */
@media (max-width: 599.98px) { .rg-top { padding-top: 18px; } .rg-hero-ph { aspect-ratio: auto; height: clamp(128px, calc(100svh - 408px), 62svh); max-height: none; } .rg-hero-ph img { object-position: 46% 70%; } }
@media (max-width: 899.98px) and (min-width: 600px) { .rg-top { padding: 28px var(--m) 32px; } .rg-hero-ph { margin: 24px calc(var(--m) * -1) 0; aspect-ratio: 16 / 10; } .rg-desk { margin: -64px calc(var(--m) * 1) 0; } }
@media (max-width: 899.98px) and (max-height: 600px) {
  .rg-hero-ph { aspect-ratio: 16 / 7; }
  .rg-lids legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 360px) { .rg-brand span { font-size: 1.05rem; } .rg-cta { padding: 8px 10px; font-size: .875rem; } .rg-lid { font-size: .875rem; padding: 6px; } }

/* ── §2 the walk: open type on chalk, one strip of tape ─────────────────────────────────────── */
.rg-walk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--m) * .5); row-gap: var(--m); padding: calc(var(--m) * 3.2) var(--m) calc(var(--m) * 2.6); max-width: 1680px; margin: 0 auto; }
.rg-walk h2 { grid-column: 1 / 8; font-size: clamp(2.3rem, 1.1rem + 4.4vw, 5.6rem); line-height: .9; }
.rg-walk-tape { grid-column: 1 / -1; display: block; height: 10px; background: var(--rg-tape); transform-origin: 0 50%; margin: 0 calc(var(--m) * -1); clip-path: polygon(0 0, 100% 8%, 99.6% 100%, 0 92%); }
.rg-walk-lede { grid-column: 3 / 10; font-size: clamp(1.15rem, .95rem + .8vw, 1.65rem); line-height: 1.4; }
.rg-walk-who { grid-column: 10 / 13; align-self: end; color: var(--rg-ink-2); }

/* ── the build: one room in a box, pinned beside the words, a layer a section ─────────────────── */
.rg-copy { display: grid; gap: 1em; }
.rg-copy p, .rg-truss-t p, .rg-sit p, .rg-set-t p, .rg-gone-t p { color: var(--rg-ink-2); }
.rg-page .rg-copy h2 { margin-bottom: .25em; }
.rg-who { color: var(--rg-ink) !important; font-weight: 650; }
.rg-yours { color: var(--rg-ink) !important; padding-left: 16px; background: linear-gradient(var(--rg-tape), var(--rg-tape)) 0 .2em / 4px 1.1em no-repeat; }

.rg-build { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--m) * .5); padding: 0 var(--m); border-top: 1px solid var(--rg-rule); }
/* the one dark thing on the page: the room, in a case, pinned */
.rg-view { grid-column: 7 / 13; grid-row: 1 / 7; align-self: start; position: sticky; top: calc(var(--bar-h, 40px) + var(--nav-h) + var(--m) * .5); z-index: 1; height: calc(100svh - var(--bar-h, 40px) - var(--nav-h) - var(--m)); margin-top: calc(var(--m) * .5); background: #16171a; overflow: hidden; border-radius: 4px;
  box-shadow: 0 0 0 6px #D3D6DA, 0 0 0 7px #9EA2A8, 0 30px 60px -28px rgba(20, 22, 26, .55); }
.rg-view .rg-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s; }
.rg-view.rg-live .rg-gl { opacity: 1; }
.rg-vsvg { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s; }
.rg-live > .rg-vsvg { opacity: 0; visibility: hidden; }
.rg-vsvg .rg-v-l { transition: opacity .6s var(--ease); }
.rg-vsvg-view { background: var(--rg-slab-lo); }
.rg-vsvg-view .rg-p-floor { fill: var(--rg-slab); }
.rg-vsvg-view .rg-p-wall { fill: none; stroke: #55585E; stroke-width: 2; vector-effect: non-scaling-stroke; }
.rg-vsvg-view .rg-p-dock { fill: none; stroke: var(--rg-on-slab-2); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.rg-vsvg-view .rg-v-tape path { fill: none; stroke: var(--rg-tape); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rg-vsvg-view .rg-v-deck path { fill: #45484e; stroke: #6c7077; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-vsvg-view .rg-v-truss path { fill: none; stroke: var(--rg-steel); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-vsvg .rg-v-truss .rg-v-zig { stroke-width: .6; }
.rg-vsvg-view .rg-v-light path { fill: var(--rg-on-slab); }
.rg-vsvg-view .rg-v-light .rg-v-beam { fill: rgba(242, 240, 236, .08); }
.rg-vsvg-view .rg-v-sound path { fill: #1c1d20; stroke: var(--rg-on-slab-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-vsvg-view .rg-v-sound .rg-v-fan { fill: rgba(31, 123, 255, .08); stroke: rgba(31, 123, 255, .6); }
.rg-vsvg-view .rg-v-screen path { fill: var(--rg-on-slab); }
.rg-vsvg-view .rg-v-set path { fill: none; stroke: var(--rg-on-slab-2); stroke-width: .44; stroke-dasharray: .44 .11; }
.rg-vsvg-view.rg-v-live .rg-v-set path, .rg-vsvg-out.rg-v-live .rg-v-set path { stroke: none; stroke-dasharray: none; }
.rg-vsvg-view.rg-v-live .rg-v-set path { fill: var(--rg-on-slab-2); }
.rg-view-back { position: absolute; z-index: 3; left: 50%; bottom: var(--m); transform: translateX(-50%); font: 650 1rem/1 var(--rg-font); color: var(--rg-on-slab); background: rgba(35, 36, 39, .9); border: 2px solid var(--rg-tape); border-radius: 2px; padding: 12px 18px; cursor: pointer; }
.rg-back[hidden] { display: none; }
.rg-wait { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; display: none; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 18px; background: rgba(35, 36, 39, .92); border-radius: 3px; color: var(--rg-on-slab); font-size: .9375rem; line-height: 1.4; }
.rg-js .rg-wait { display: flex; }
.rg-wait p { flex: 1 1 22ch; }
.rg-build-go { font: 700 1rem/1 var(--rg-font); color: #fff; background: var(--rg-tape-d); border: 0; border-radius: 2px; padding: 13px 16px; cursor: pointer; }
.rg-build-go:hover { background: #0B4FC4; }
.rg-view.rg-briefed .rg-wait { display: none; }

.rg-sec { grid-column: 1 / 7; position: relative; z-index: 2; min-height: 115svh; padding: calc(var(--m) * 3) calc(var(--m) * .75) calc(var(--m) * 3) 0; display: flex; flex-direction: column; gap: var(--m); }
.rg-mark-s { grid-row: 1; }
.rg-deck-s { grid-row: 2; justify-content: flex-end; }
.rg-truss { grid-row: 3; }
.rg-light-s { grid-row: 4; justify-content: center; }
.rg-see-s { grid-row: 5; justify-content: space-between; }
.rg-sit { grid-row: 6; min-height: 0; padding-top: var(--m); justify-content: flex-start; }

.rg-mark-s { padding-top: calc(var(--m) * 2); }
.rg-mark-s .rg-copy { max-width: 36rem; }
.rg-inset { align-self: flex-end; width: calc(var(--m) * 5); box-shadow: 0 20px 40px -20px rgba(20, 22, 26, .5); }

/* the plan, from above, on chalk */
.rg-plan { width: 100%; max-width: 34rem; }
.rg-plan-svg, .rg-sit-plan svg { display: block; width: 100%; height: auto; aspect-ratio: 384 / 244; background: var(--rg-conc); outline: 1px solid var(--rg-rule); touch-action: none; }
.rg-p-floor { fill: var(--rg-conc); }
.rg-p-wall { fill: none; stroke: var(--rg-ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rg-p-dock { fill: none; stroke: var(--rg-ink-2); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.rg-p-exit { fill: none; stroke: var(--rg-tape-d); stroke-width: 3; vector-effect: non-scaling-stroke; }
.rg-p-lab { font: 650 1.5px var(--rg-font); font-stretch: 75%; fill: var(--rg-ink-2); }
.rg-p-tape { fill: none; stroke: var(--rg-tape); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rg-p-tables { fill: none; stroke: var(--rg-ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-p-risers { fill: var(--rg-conc-2); }
.rg-p-deck { fill: #C3C0B9; stroke: var(--rg-ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-p-screen { fill: none; stroke: var(--rg-ink); stroke-width: 3; vector-effect: non-scaling-stroke; }
.rg-stage { cursor: grab; }
.rg-stage.rg-drag { cursor: grabbing; }
.rg-stage:focus-visible { outline: none; }
.rg-stage:focus-visible .rg-p-deck, .rg-stage.rg-drag .rg-p-deck { stroke-width: 3; stroke: var(--rg-tape-d); fill: #B3B0A9; }
.rg-p-c { fill: var(--rg-tape); }
.rg-p-f { fill: var(--rg-ink-3); }
.rg-p-d { fill: #C2BEB6; }
.rg-p-cursor { fill: var(--rg-ink); stroke: var(--rg-chalk); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-seats { cursor: crosshair; }
.rg-seats:focus-visible { outline: none; }
.rg-plan:has(.rg-seats:focus-visible) .rg-plan-svg, .rg-sit-plan:has(.rg-seats:focus-visible) svg { outline: 2px solid var(--rg-tape-d); }
.rg-note, .rg-seat-said { margin-top: 8px; font-size: .875rem; line-height: 1.35; color: var(--rg-ink-2); }
.rg-seat-said { color: var(--rg-ink); min-height: 1.35em; margin-top: 2px; }

.rg-deck-s h2 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4.6rem); letter-spacing: -.015em; }
.rg-deck-s p { max-width: 30ch; }
.rg-module { width: calc(var(--m) * 5.5); margin: 0 0 auto; display: grid; gap: 10px; }
.rg-module svg { width: 100%; height: auto; overflow: visible; }
.rg-module figcaption { font-stretch: 75%; font-weight: 650; font-size: .9375rem; line-height: 1.25; color: var(--rg-ink-2); }
.rg-mod-top { fill: var(--rg-conc); stroke: var(--rg-tape); stroke-width: 3; }
.rg-mod-leg { fill: var(--rg-ink); }
.rg-mod-dim { fill: none; stroke: var(--rg-ink-2); stroke-width: 1; }

.rg-light-s { isolation: isolate; }
.rg-light-s::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--m) * -1.5) 0 calc(var(--m) * -1); background: radial-gradient(70% 55% at 100% 50%, rgba(255, 61, 165, .5), rgba(255, 61, 165, .16) 45%, rgba(255, 61, 165, 0) 75%); opacity: .6; pointer-events: none; }
.rg-light-s .rg-copy { max-width: 32rem; }

.rg-see-s .rg-copy { max-width: 34rem; }
.rg-sixth { margin: 0; display: grid; gap: 12px; max-width: 36rem; }
.rg-sixth-svg { width: 100%; height: auto; overflow: visible; }
.rg-sx-floor { stroke: var(--rg-ink-3); stroke-width: 2; }
.rg-sx-screen { fill: var(--rg-ink); }
.rg-sx-deck { fill: var(--rg-conc-2); stroke: var(--rg-ink-3); stroke-width: 1; }
.rg-sx-sight { fill: none; stroke: var(--rg-tape); stroke-width: 2; stroke-dasharray: 6 4; }
.rg-sx-eye, .rg-sx-dim, .rg-sx-h { fill: none; stroke: var(--rg-ink); stroke-width: 1.5; }
.rg-sixth figcaption { font-size: .9375rem; line-height: 1.5; color: var(--rg-ink); max-width: 44ch; }
.rg-sixth figcaption span { font-weight: 750; font-variant-numeric: tabular-nums; }
.rg-see-after { color: var(--rg-ink-2); max-width: 34rem; }

.rg-sit { gap: 14px; padding-bottom: calc(var(--m) * 3); }
.rg-page .rg-sit h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-stretch: 125%; font-weight: 800; }
.rg-sit > p { max-width: 40ch; }
.rg-sit-plan { max-width: 34rem; }
.rg-sit-plan:empty { display: none; }
.rg-sit-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.rg-seatb { font: 650 1rem/1 var(--rg-font); color: var(--rg-ink); background: #FBFAF8; border: 0; border-radius: 2px; padding: 13px 14px 13px 34px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--rg-rule); background-image: linear-gradient(var(--rg-tape), var(--rg-tape)), linear-gradient(var(--rg-tape), var(--rg-tape)); background-size: 12px 3px, 3px 10px; background-position: 13px 14px, 17.5px 14px; background-repeat: no-repeat; }
.rg-seatb:hover, .rg-seatb[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--rg-tape-d); }
.rg-sit-said { color: var(--rg-ink) !important; min-height: 3em; }
.rg-sit-btns:not(.rg-ok) { display: none; }

/* §5 the poster: concrete, the hands on the clamp, the heaviest type */
.rg-truss { grid-column: 1 / -1; position: relative; z-index: 4; margin: 0 calc(var(--m) * -1); display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--rg-conc); }
.rg-truss-ph { position: relative; overflow: hidden; min-height: 100%; }
.rg-truss-ph picture, .rg-truss-ph img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg-truss-ph img { object-fit: cover; object-position: 45% 55%; }
.rg-truss-t { display: flex; flex-direction: column; justify-content: center; gap: 1em; padding: calc(var(--m) * 2) var(--m) calc(var(--m) * 2) calc(var(--m) * 1.5); }
.rg-page .rg-truss-h { font-stretch: 125%; font-weight: 900; font-size: clamp(2.3rem, .5rem + 4.6vw, 6.6rem); line-height: .9; letter-spacing: -.015em; text-wrap: balance; }
.rg-truss-rule { display: block; height: 6px; width: calc(var(--m) * 6); background: var(--rg-tape); transform-origin: 0 50%; margin: .1em 0 .4em; }
.rg-truss-t p { max-width: 38ch; }

/* §8 set, and waiting: an unequal diptych */
.rg-set { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--m) * .5); row-gap: var(--m); padding: calc(var(--m) * 3) var(--m); max-width: 1680px; margin: 0 auto; }
.rg-dip-a { grid-column: 1 / 9; grid-row: 1; align-self: start; }
.rg-dip-a img { aspect-ratio: 16 / 9; object-fit: cover; }
.rg-set-side { grid-column: 9 / 13; grid-row: 1 / 3; display: flex; flex-direction: column; gap: var(--m); }
.rg-set-side h2 { min-height: calc(var(--m) * 2); }
.rg-dip-b img { aspect-ratio: 2 / 3; object-fit: cover; }
.rg-set-t { grid-column: 2 / 8; grid-row: 2; display: grid; gap: 1em; max-width: 44rem; }

/* §9 on the day: concrete ground, the widest measure */
.rg-night { background: var(--rg-conc); }
.rg-night { padding: calc(var(--m) * 3) var(--m); }
.rg-night { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--m) * .5); row-gap: var(--m); }
.rg-night > h2, .rg-lede { grid-column: 1 / 11; }
.rg-lede { font-size: clamp(1.125rem, .95rem + .75vw, 1.6rem); line-height: 1.42; max-width: 64ch; }
.rg-voices { grid-column: 1 / 11; list-style: none; margin: calc(var(--m) * .5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: calc(var(--m) * .5); }
.rg-voices li { padding-top: 16px; border-top: 2px solid var(--rg-rule); font-stretch: 112%; font-weight: 700; font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); line-height: 1.2; }
.rg-voices li:first-child { border-top: 4px solid var(--rg-tape); padding-top: 14px; }
.rg-gone { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--m) * .5); margin-top: var(--m); }
.rg-gone-t { grid-column: 2 / 7; align-self: start; display: grid; gap: .5em; max-width: 30rem; padding-top: var(--m); }
.rg-gone-ph { grid-column: 8 / 13; margin-top: calc(var(--m) * 2); }

/* §10 load out: the floor of your room, drawn large on chalk; the enquiry sits on it */
.rg-out { background: var(--rg-chalk); }
.rg-out-room { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--m) * .5); align-items: end; padding: calc(var(--m) * 3) var(--m) calc(var(--m) * 1.5); max-width: 1680px; margin: 0 auto; }
.rg-vsvg-out { position: relative; inset: auto; grid-column: 5 / 13; grid-row: 1; height: auto; aspect-ratio: 50.4 / 32; }
.rg-vsvg-out .rg-p-floor { fill: var(--rg-conc); }
.rg-vsvg-out .rg-p-wall { stroke: var(--rg-ink); }
.rg-vsvg-out .rg-v-tape path { fill: none; stroke: var(--rg-tape); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.rg-vsvg-out .rg-v-deck path { fill: #C3C0B9; stroke: var(--rg-ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-vsvg-out .rg-v-truss path { fill: none; stroke: var(--rg-ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-vsvg-out .rg-v-light path { fill: var(--rg-ink); }
.rg-vsvg-out .rg-v-light .rg-v-beam { fill: rgba(255, 61, 165, .14); }
.rg-vsvg-out .rg-v-sound path { fill: var(--rg-ink); stroke: none; }
.rg-vsvg-out .rg-v-sound .rg-v-fan { fill: rgba(31, 123, 255, .07); stroke: rgba(31, 123, 255, .45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-vsvg-out .rg-v-screen path { fill: var(--rg-ink); }
.rg-vsvg-out .rg-v-set path { fill: none; stroke: var(--rg-ink-3); stroke-width: .44; stroke-dasharray: .44 .11; }
.rg-vsvg-out.rg-v-live .rg-v-set path { fill: var(--rg-ink-3); }
.rg-out-words { grid-column: 1 / 5; grid-row: 1; position: relative; z-index: 2; display: grid; gap: .6em; padding-bottom: calc(var(--m) * .5); }
.rg-out-words h2 { font-size: clamp(2.3rem, 1.1rem + 4.4vw, 5.6rem); line-height: .9; }
.rg-out-intro { color: var(--rg-ink-2); max-width: 40ch; }
.rg-out-line { font-stretch: 112%; font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.2; min-height: 2.4em; }
.rg-out-count { color: var(--rg-ink-2); font-stretch: 75%; font-weight: 650; font-size: .9375rem; min-height: 1.2em; }
.rg-out-ctl { display: none; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: .4em; }
.rg-js .rg-out-ctl { display: flex; }
.rg-out-go { font: 700 1.25rem/1 var(--rg-font); font-stretch: 112%; color: #fff; background: var(--rg-tape-d); border: 2px solid var(--rg-tape-d); border-radius: 2px; padding: 18px 30px; cursor: pointer; transition: background-color .25s, color .25s; }
.rg-out-go:hover { background: #0B4FC4; }
.rg-out-go[disabled] { cursor: progress; opacity: .6; }
.rg-out-go[hidden], .rg-out-again[hidden] { display: none; }
.rg-out-again { font: 650 1.0625rem/1.2 var(--rg-font); color: var(--rg-ink); background: linear-gradient(var(--rg-tape), var(--rg-tape)) 0 100% / 100% 3px no-repeat; border: 0; padding: 6px 0; cursor: pointer; }
.rg-out-line.rg-swap { animation: rg-swap .3s var(--ease); }
@keyframes rg-swap { from { opacity: 0; } }
@supports (view-transition-name: a) {
  .rg-vsvg-out { view-transition-name: rg-out-room; }
  .rg-out-line { view-transition-name: rg-out-line; }
  .rg-out-count { view-transition-name: rg-out-count; }
  ::view-transition-group(rg-out-room), ::view-transition-group(rg-out-line), ::view-transition-group(rg-out-count) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
  ::view-transition-old(rg-out-room) { animation: rg-vt-leave .45s cubic-bezier(.2, .7, .1, 1) both; }
  ::view-transition-new(rg-out-room) { animation: none; }
}
@keyframes rg-vt-leave { to { opacity: 0; transform: translateX(-2%); } }

.rg-form { padding: calc(var(--m) * 1.5) var(--m) calc(var(--m) * 3); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--m) * .5); row-gap: var(--m); max-width: 1680px; margin: 0 auto; }
.rg-form-head { grid-column: 2 / 8; display: grid; gap: .5em; }
.rg-page .rg-form h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-stretch: 125%; font-weight: 800; }
.rg-form-lead, .rg-form-note { color: var(--rg-ink-2); }
.rg-fields { grid-column: 2 / 12; display: grid; grid-template-columns: 1fr 1fr; gap: 22px calc(var(--m) * .5); }
.rg-send-row, .rg-form-note { grid-column: 2 / 12; }
.rg-send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.rg-f { display: grid; gap: 8px; align-content: start; font-weight: 650; font-size: .9375rem; }
.rg-f-wide { grid-column: 1 / -1; }
.rg-f small { font-weight: 400; font-size: .875rem; color: var(--rg-ink-2); }
.rg-f input, .rg-f select, .rg-f textarea { width: 100%; font: 400 1rem/1.4 var(--rg-font); color: var(--rg-ink); background: linear-gradient(var(--rg-tape), var(--rg-tape)) 0 0 / 12px 3px no-repeat, linear-gradient(var(--rg-tape), var(--rg-tape)) 0 0 / 3px 12px no-repeat, linear-gradient(var(--rg-tape), var(--rg-tape)) 100% 0 / 12px 3px no-repeat, linear-gradient(var(--rg-tape), var(--rg-tape)) 100% 0 / 3px 12px no-repeat, #FBFAF8; border: 0; border-bottom: 3px solid var(--rg-tape); border-radius: 2px 2px 0 0; padding: 13px 12px 11px; box-shadow: inset 0 0 0 1px var(--rg-rule); }
.rg-f select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(var(--rg-tape), var(--rg-tape)), linear-gradient(var(--rg-tape), var(--rg-tape)), linear-gradient(var(--rg-tape), var(--rg-tape)), linear-gradient(var(--rg-tape), var(--rg-tape)), linear-gradient(45deg, transparent 50%, var(--rg-ink) 50%), linear-gradient(-45deg, transparent 50%, var(--rg-ink) 50%); background-size: 12px 3px, 3px 12px, 12px 3px, 3px 12px, 6px 6px, 6px 6px; background-position: 0 0, 0 0, 100% 0, 100% 0, calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-repeat: no-repeat; padding-right: 40px; }
.rg-f select option { background: #FBFAF8; color: var(--rg-ink); }
.rg-f textarea { resize: vertical; }
.rg-send { font: 700 1.1875rem/1 var(--rg-font); color: #fff; background: var(--rg-tape-d); border: 2px solid var(--rg-tape-d); border-radius: 2px; padding: 15px 24px; cursor: pointer; }
.rg-send:hover { background: #0B4FC4; }
.rg-form-said { min-height: 1.5em; font-weight: 650; }
.rg-foot { display: flex; align-items: center; gap: 12px; padding: var(--m); border-top: 1px solid var(--rg-rule); background: var(--rg-chalk); color: var(--rg-ink-2); font-size: .9375rem; }
.rg-foot p { margin: 0; }

/* everything arrives from the dock: the left edge */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rg-copy > *, .rg-walk-lede, .rg-walk-who, .rg-inset, .rg-plan, .rg-module, .rg-sixth, .rg-see-after, .rg-set-t, .rg-dip-a, .rg-set-side, .rg-lede, .rg-voices li, .rg-gone-t, .rg-gone-ph, .rg-form-head {
      animation: rg-dock linear both; animation-timeline: view(); animation-range: entry 0% entry 30%;
    }
    .rg-walk-tape { animation: rg-tape-draw linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .rg-truss-h { animation: rg-set-h linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    .rg-truss-rule { animation: rg-tape-draw linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    .rg-truss-ph img { animation: rg-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .rg-light-s::before { animation: rg-wash linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
}
@keyframes rg-dock { from { opacity: 0; transform: translateX(calc(var(--m) * -1)); } }
@keyframes rg-set-h { from { font-variation-settings: "wdth" 75, "wght" 500; transform: translateX(calc(var(--m) * -1)); } to { font-variation-settings: "wdth" 125, "wght" 900; transform: none; } }
@keyframes rg-tape-draw { from { transform: scaleX(0); } }
@keyframes rg-drift { from { transform: scale(1.06) translateX(1.5%); } to { transform: scale(1.06) translateX(-1.5%); } }
@keyframes rg-wash { from { opacity: 0; } to { opacity: .6; } }

/* 1024–1180: words six columns, the room six */
@media (min-width: 900px) and (max-width: 1180px) {
  .rg-view { max-height: 720px; }
  .rg-page .rg-sec { font-size: 1rem; }
  .rg-truss-t { padding-left: var(--m); }
  .rg-walk h2 { grid-column: 1 / 10; }
  .rg-walk-lede { grid-column: 1 / 9; }
  .rg-walk-who { grid-column: 9 / 13; }
}
@media (min-width: 900px) and (max-height: 820px) { .rg-sec { min-height: 125svh; } }

/* phones: the room pins as a band at the top; the words scroll beneath */
@media (max-width: 899.98px) {
  .rg-walk { display: flex; flex-direction: column; padding: calc(var(--m) * 2.5) 16px; gap: 22px; }
  .rg-walk-tape { margin: 0 -16px; height: 8px; }
  .rg-walk-who { align-self: auto; }
  .rg-build { display: block; padding: 0 16px; }
  .rg-view { position: sticky; top: calc(var(--bar-h, 40px) + var(--nav-h) + 8px); height: max(200px, 42svh); margin: 8px 0 0; z-index: 3; box-shadow: 0 0 0 4px #D3D6DA, 0 0 0 5px #9EA2A8, 0 14px 30px -16px rgba(20, 22, 26, .5); }
  .rg-wait { left: auto; right: 10px; bottom: 10px; padding: 0; background: none; }
  .rg-wait p { display: none; }
  .rg-build-go { padding: 11px 14px; font-size: .9375rem; }
  .rg-sec { min-height: 0; padding: calc(var(--m) * 2.5) 0 calc(var(--m) * 3); }
  .rg-mark-s, .rg-light-s, .rg-see-s { min-height: 95svh; }
  .rg-deck-s { min-height: 80svh; justify-content: flex-start; }
  .rg-module { margin-bottom: 0; width: calc(var(--m) * 6); }
  .rg-inset { align-self: flex-start; width: 60%; }
  .rg-truss { margin: 0 -16px; grid-template-columns: 1fr; min-height: 0; }
  .rg-truss-ph { aspect-ratio: 4 / 5; }
  .rg-truss-ph img { object-position: 45% 55%; }
  .rg-truss-t { padding: calc(var(--m) * 2) 16px calc(var(--m) * 2.5); }
  .rg-light-s::before { inset: 0 -16px; background: radial-gradient(90% 50% at 50% 0, rgba(255, 61, 165, .42), rgba(255, 61, 165, 0) 72%); }
  .rg-view-back { bottom: 10px; }
  .rg-set { display: flex; flex-direction: column; padding: calc(var(--m) * 2.5) 16px; }
  .rg-set-side { display: contents; }
  .rg-set-side h2 { order: -1; min-height: 0; }
  .rg-dip-b { width: 80%; align-self: flex-end; }
  .rg-dip-b img { aspect-ratio: 4 / 5; object-position: 50% 45%; }
  .rg-set-t { order: 3; }
  .rg-night { display: flex; flex-direction: column; padding: calc(var(--m) * 2.5) 16px; }
  .rg-voices { grid-template-columns: 1fr; row-gap: 18px; }
  .rg-gone { display: flex; flex-direction: column; gap: 20px; }
  .rg-gone-t { padding-top: 0; }
  .rg-gone-ph { margin-top: 0; }
  .rg-gone-ph img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 25% 50%; }
  .rg-out-room { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 22px; padding: calc(var(--m) * 2.5) 16px 20px; }
  .rg-vsvg-out { width: calc(100% + 16px); margin-left: -8px; }
  .rg-out-ctl { flex-direction: column; align-items: stretch; }
  .rg-out-again { align-self: flex-start; }
  .rg-form { display: flex; flex-direction: column; padding: calc(var(--m) * 1.5) 16px calc(var(--m) * 2.5); }
  .rg-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .spec-rigline .rg-page *, .spec-rigline .rg-nav * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
