/* The Walk of Our Lady (1765 Regina home page, 2026-10-10). Two layouts from one document:
     plain (default): a readable page — each stop is a painting above its words. No-JS, no-WebGL, Save-Data.
     live  (html.rw-live, set by probe.js, confirmed by walk.js): a fixed stage of living paintings behind a tall
           scroll; each stop raises one card.
   Every class is rw- prefixed so nothing here touches the rest of the site. Adapted from 1765 Sanctum's walk. */
:root{
  --rw-night:#05070D; --rw-ivory:#F4EDDF; --rw-ivory-2:rgba(244,237,223,.86); --rw-ivory-3:rgba(244,237,223,.66);
  --rw-gilt:#D6B062; --rw-gilt-2:#F0D79A; --rw-blue:#9FB6DA;
  --rw-f-insc:"Cinzel","Trajan Pro",Georgia,serif;
  --rw-f-lyric:"Cormorant Garamond",Georgia,serif;
  --rw-f-body:"EB Garamond",Georgia,serif;
  --rw-gut:max(16px,5vw);
}
body.rw-home{background:var(--rw-night);color:var(--rw-ivory)}

/* ---------------------------------------------------------------- plain (default) */
.rw-stage,.rw-poster,.rw-place,.rw-cue-c{display:none}
.rw-walk{position:relative;z-index:2;padding:72px var(--rw-gut) 20px}
.rw-card{max-width:720px;margin:0 auto 80px;font-family:var(--rw-f-body);font-size:19px;line-height:1.6;color:var(--rw-ivory)}
.rw-plate{display:block;width:100%;height:auto;margin:0 0 20px;border-radius:2px;background:#0b0d16;box-shadow:0 0 0 1px rgba(214,176,98,.22),0 30px 60px -30px rgba(0,0,0,.9)}
.rw-plate-cap{display:block;margin:-10px 0 20px;font-family:var(--rw-f-insc);font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--rw-ivory-3)}
.rw-kick{font-family:var(--rw-f-insc);font-size:11.5px;letter-spacing:.32em;text-transform:uppercase;color:var(--rw-gilt);margin:0 0 14px;display:flex;align-items:center;gap:12px}
.rw-kick::before{content:"";width:28px;height:1px;background:linear-gradient(90deg,var(--rw-gilt),transparent)}
.rw-c .rw-kick,.rw-lo .rw-kick{justify-content:center}
.rw-card h1,.rw-card h2{font-family:var(--rw-f-lyric);font-weight:500;margin:0;line-height:1.04;letter-spacing:-.005em;text-wrap:balance;color:var(--rw-ivory)}
.rw-card h1{font-size:clamp(44px,6.4vw,86px)}
.rw-card h2{font-size:clamp(32px,4.2vw,56px)}
.rw-card h1 em,.rw-card h2 em{font-style:italic;color:var(--rw-gilt-2)}
.rw-card p{margin:14px 0 0;color:var(--rw-ivory-2)}
.rw-card a{color:inherit}
.rw-scr{font-family:var(--rw-f-lyric);font-style:italic;font-size:clamp(20px,2.1vw,25px);line-height:1.35;color:var(--rw-ivory)!important;margin-top:14px!important}
.rw-ref{font-family:var(--rw-f-insc);font-size:10.5px;letter-spacing:.22em;text-transform:uppercase;margin-top:8px!important;color:var(--rw-ivory-3)!important}
.rw-more{display:inline-block;margin-top:20px;font-family:var(--rw-f-insc);font-size:11.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--rw-gilt-2)!important;text-decoration:none;border-bottom:1px solid rgba(214,176,98,.45);padding-bottom:3px}
.rw-more:hover,.rw-more:focus-visible{border-bottom-color:var(--rw-gilt-2)}
.rw-btns{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:24px}
.rw-go{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;font-family:var(--rw-f-insc);font-size:12px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;text-decoration:none;
  color:#1a1304!important;background:linear-gradient(165deg,#F3DCA4,#C9994A);border-radius:2px;box-shadow:0 10px 30px -12px rgba(214,176,98,.6)}
.rw-go:hover,.rw-go:focus-visible{filter:brightness(1.07)}
.rw-title{font-family:var(--rw-f-insc);font-weight:500;letter-spacing:.3em;font-size:clamp(30px,4.6vw,62px);margin:0!important;line-height:1.1;color:var(--rw-ivory)!important;padding-left:.3em}
.rw-motto{font-family:var(--rw-f-insc);letter-spacing:.44em;font-size:clamp(11px,1.3vw,14px);color:var(--rw-gilt)!important;margin-top:16px!important;text-transform:uppercase;padding-left:.44em}
.rw-c,.rw-lo,.rw-cue-c{text-align:center}
.rw-card .rg-capture{margin-top:22px}

/* the words after the walk */
.rw-after{position:relative;z-index:3;padding:10vh var(--rw-gut) 40px;background:var(--rw-night)}
.rw-after-in{max-width:960px;margin:0 auto}
.rw-after h2{font-family:var(--rw-f-insc);font-weight:500;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--rw-gilt);margin:48px 0 14px}
.rw-after h3{font-family:var(--rw-f-lyric);font-weight:500;font-size:clamp(23px,2.3vw,29px);line-height:1.15;color:var(--rw-ivory);margin:26px 0 8px}
.rw-after p{color:var(--rw-ivory-2);font-size:17.5px;line-height:1.65;margin:0 0 12px;max-width:72ch}
.rw-after a{color:var(--rw-ivory)}
.rw-credits{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:14.5px;line-height:1.5;color:var(--rw-ivory-3)}
.rw-credits a{color:var(--rw-ivory-2)}
.rw-house{margin:40px 0 0;padding:26px 28px;border:1px solid rgba(214,176,98,.28);border-radius:2px;background:linear-gradient(160deg,rgba(46,78,126,.16),rgba(9,11,18,0))}
.rw-house p{margin:0;font-size:19px}
.rw-house a{color:var(--rw-gilt-2)}

/* ---------------------------------------------------------------- live */
html.rw-live .rw-stage{display:block;position:fixed;inset:0;z-index:0;background:var(--rw-night)}
html.rw-live .rw-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.4s ease}
html.rw-ready .rw-stage canvas{opacity:1}
/* before the script arrives the threshold is the night itself (the crown is drawn by the shader) */
html.rw-live .rw-poster{display:block;position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,#0d1530 0%,#070a14 55%,#04050a 100%);transition:opacity 1.4s ease}
html.rw-ready .rw-poster{opacity:0}
html.rw-live .rw-plate,html.rw-live .rw-plate-cap{display:none}
html.rw-live .rw-walk{padding:0}
html.rw-live .rw-card[data-scene="threshold"]{opacity:1}
html.rw-live .rw-card{position:fixed;z-index:10;max-width:min(460px,calc(100vw - 2*var(--rw-gut)));margin:0;opacity:0;pointer-events:none;
  transition:opacity .25s linear;padding:26px 28px;text-shadow:0 1px 18px rgba(0,0,0,.8),0 0 2px rgba(0,0,0,.6)}
html.rw-live .rw-card::before{content:"";position:absolute;z-index:-1;inset:-100px -140px;pointer-events:none;
  background:radial-gradient(closest-side,rgba(3,4,10,.82),rgba(3,4,10,.52) 55%,rgba(3,4,10,0))}
html.rw-live .rw-card.rw-on{pointer-events:auto}
html.rw-live .rw-l{left:var(--rw-gut);top:50%;transform:translateY(-50%)}
html.rw-live .rw-r{right:var(--rw-gut);top:50%;transform:translateY(-50%)}
html.rw-live .rw-c{left:50%;top:50%;transform:translate(-50%,-30%);max-width:min(900px,calc(100vw - 2*var(--rw-gut)))}
html.rw-live .rw-c::before{inset:-40px -90px;background:radial-gradient(closest-side,rgba(3,4,10,.35),rgba(3,4,10,0))}
html.rw-live .rw-cue-c{display:block;left:50%;bottom:calc(3vh + env(safe-area-inset-bottom,0px));top:auto;transform:translateX(-50%);padding:0}
html.rw-live .rw-cue-c::before{display:none}
html.rw-live .rw-lo{left:50%;bottom:7vh;transform:translateX(-50%);max-width:min(620px,calc(100vw - 2*var(--rw-gut)))}
html.rw-live .rw-lo::before{inset:-90px -160px -60px;background:radial-gradient(closest-side,rgba(3,4,10,.88),rgba(3,4,10,.6) 55%,rgba(3,4,10,0))}
html.rw-live .rw-after{background:linear-gradient(to bottom,rgba(5,7,13,0),var(--rw-night) 14vh);padding-top:26vh}
.rw-cue{font-family:var(--rw-f-insc);font-size:11px;letter-spacing:.34em;text-transform:uppercase;color:var(--rw-ivory-2);text-decoration:none}
.rw-cue i{display:block;width:1px;height:46px;margin:14px auto 0;background:linear-gradient(var(--rw-gilt),transparent);animation:rw-cue 2.4s ease-in-out infinite}
@keyframes rw-cue{0%,100%{transform:scaleY(.35);transform-origin:top;opacity:.4}50%{transform:scaleY(1);opacity:1}}
html.rw-live .rw-place{display:block;position:fixed;z-index:11;left:var(--rw-gut);bottom:calc(18px + env(safe-area-inset-bottom,0px));margin:0;max-width:min(620px,62vw);
  font-family:var(--rw-f-insc);font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--rw-ivory-2);
  text-shadow:0 1px 10px rgba(0,0,0,.9);opacity:0;transition:opacity .6s ease}
html.rw-live .rw-place.rw-on{opacity:1}
.rw-place b{font-weight:500;color:var(--rw-gilt-2)}
/* the site header stands back at the threshold and never paints a frosted bar over the stage */
html.rw-live .rg-header::before{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(to bottom,rgba(4,5,10,.8),rgba(4,5,10,0))}
html.rw-live .rg-header{border-bottom-color:transparent;box-shadow:none}
html.rw-live.rw-at-door .rg-header .rg-mark{opacity:0}
html.rw-live .rg-header .rg-mark{transition:opacity .8s ease}
html.rw-live.rw-past .rg-header::before{background:var(--bg-glass,rgba(9,11,18,.82));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}

@media (max-width:760px){
  .rw-card{font-size:17.5px}
  .rw-title{letter-spacing:.16em;font-size:31px;padding-left:.16em;white-space:nowrap}
  .rw-motto{letter-spacing:.26em;font-size:11.5px;padding-left:.26em}
  html.rw-live .rw-l,html.rw-live .rw-r{left:var(--rw-gut);right:var(--rw-gut);top:auto;bottom:calc(5vh + env(safe-area-inset-bottom,0px));transform:none;max-width:none;padding:22px 6px 16px}
  html.rw-live .rw-lo,html.rw-live .rw-cue-c{left:var(--rw-gut);right:var(--rw-gut);transform:none;max-width:none}
  html.rw-live .rw-c{left:var(--rw-gut);right:var(--rw-gut);transform:translateY(-22%);max-width:none}
  html.rw-live .rw-lo{bottom:calc(4vh + env(safe-area-inset-bottom,0px));padding:20px 6px 14px}
  html.rw-live .rw-l::before,html.rw-live .rw-r::before,html.rw-live .rw-lo::before{inset:-90px calc(-1*var(--rw-gut)) calc(-5vh - 20px);
    background:linear-gradient(to bottom,rgba(3,4,10,0),rgba(3,4,10,.76) 16%,rgba(3,4,10,.9))}
  .rw-card h2{font-size:clamp(30px,8.6vw,42px)}
  .rw-card h1{font-size:clamp(42px,11.4vw,58px)}
  .rw-kick{letter-spacing:.24em}
  .rw-c .rw-kick::before{display:none}
  .rw-scr{font-size:19px}
  html.rw-live .rw-place{top:calc(112px + env(safe-area-inset-top,0px));bottom:auto;font-size:9.5px;max-width:calc(100vw - 2*var(--rw-gut))}
  .rw-btns{flex-direction:column;align-items:stretch}
  .rw-go{width:100%}
}
@media (prefers-reduced-motion:reduce){.rw-cue i{animation:none}}

/* ---- the navigator: a rail one can grab, and a way out ---- */
.rw-stop{display:block;height:0;scroll-margin-top:0}
.rw-rail,.rw-rail-now{display:none}
html.rw-live .rw-stop{position:absolute;left:0;width:1px;scroll-snap-align:start}
html.rw-live{scroll-snap-type:y proximity}
html.rw-live .rw-rail{display:block;position:fixed;z-index:12;right:18px;top:50%;transform:translateY(-50%);height:min(64vh,580px);width:26px;transition:opacity .5s ease}
html.rw-live.rw-past .rw-rail{opacity:0;pointer-events:none}
.rw-rail-track{position:absolute;right:11px;top:0;bottom:0;width:3px;border-radius:2px;background:rgba(244,237,223,.18);cursor:pointer;touch-action:none}
.rw-rail-track::before{content:"";position:absolute;inset:0 -12px}
.rw-rail-fill{position:absolute;left:0;right:0;top:0;height:0;background:linear-gradient(var(--rw-gilt-2),var(--rw-gilt));border-radius:2px}
.rw-rail-thumb{position:absolute;left:50%;top:0;width:15px;height:15px;margin:-7.5px 0 0 -7.5px;transform:rotate(45deg);
  background:var(--rw-gilt);box-shadow:0 0 0 3px rgba(4,5,10,.75),0 0 14px rgba(240,215,154,.55);cursor:grab;touch-action:none}
.rw-rail-thumb:active{cursor:grabbing}
.rw-rail ol{list-style:none;margin:0;padding:0;position:absolute;inset:0;pointer-events:none}
.rw-rail li a{pointer-events:auto}
.rw-rail li{position:absolute;right:0;top:calc(var(--p) * 100%);transform:translateY(-50%)}
.rw-rail li a{display:flex;align-items:center;justify-content:flex-end;gap:10px;height:22px;padding:0 0 0 8px;text-decoration:none;color:var(--rw-ivory-2)}
.rw-rail li a::after{content:"";width:9px;height:9px;margin-right:8px;border-radius:50%;background:rgba(244,237,223,.35);box-shadow:0 0 0 3px rgba(4,5,10,.6);transition:background .3s,transform .3s}
.rw-rail li a span{font-family:var(--rw-f-insc);font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;
  opacity:0;transform:translateX(6px);transition:opacity .25s,transform .25s;text-shadow:0 1px 8px rgba(0,0,0,.9);pointer-events:none}
.rw-rail:hover li a span,.rw-rail li a:focus-visible span,.rw-rail li.rw-on a span{opacity:1;transform:none}
.rw-rail li.rw-on a span{color:var(--rw-gilt-2)}
.rw-rail li.rw-on a::after{background:var(--rw-gilt);transform:scale(1.25)}
.rw-skip{position:absolute;right:0;top:calc(100% + 18px);white-space:nowrap;font-family:var(--rw-f-insc);font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--rw-ivory-2);text-decoration:none;border-bottom:1px solid rgba(214,176,98,.45);padding-bottom:2px}
.rw-skip:hover,.rw-skip:focus-visible{color:var(--rw-gilt-2)}
html.rw-live .rw-card.rw-cue-c{pointer-events:auto;text-decoration:none;cursor:pointer}
.rw-cue:hover,.rw-cue:focus-visible{color:var(--rw-gilt-2)}
/* everything in the house: where Skip lands */
.rw-everything{margin:0 0 30px;scroll-margin-top:calc(84px + env(safe-area-inset-top,0px))}
.rw-everything h2{font-family:var(--rw-f-lyric)!important;font-size:clamp(34px,4vw,52px)!important;letter-spacing:0!important;text-transform:none!important;color:var(--rw-ivory)!important;margin:0 0 6px!important;font-weight:500}
.rw-everything h2 em{color:var(--rw-gilt-2)}
.rw-grid{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.rw-grid a{display:flex;flex-direction:column;gap:4px;height:100%;padding:16px 18px;border:1px solid rgba(244,237,223,.16);border-radius:2px;text-decoration:none;
  background:rgba(244,237,223,.03);transition:border-color .2s,background .2s}
.rw-grid a:hover,.rw-grid a:focus-visible{border-color:rgba(214,176,98,.6);background:rgba(214,176,98,.06)}
.rw-grid b{font-family:var(--rw-f-lyric);font-weight:500;font-size:22px;color:var(--rw-ivory)}
.rw-grid span{font-size:15.5px;line-height:1.45;color:var(--rw-ivory-2)}
.rw-grid li.rw-wide{grid-column:1/-1}
@media (max-width:760px){
  html.rw-live .rw-rail{top:calc(64px + env(safe-area-inset-top,0px));left:var(--rw-gut);right:var(--rw-gut);transform:none;height:34px;width:auto}
  .rw-rail-track{left:0;right:0;top:auto;bottom:6px;width:auto;height:3px}
  .rw-rail-track::before{inset:-14px 0}
  .rw-rail-fill{top:0;bottom:0;left:0;height:auto;width:0}
  .rw-rail-thumb{top:50%;left:0}
  .rw-rail ol{display:none}
  html.rw-live .rw-rail-now{display:block;position:absolute;left:0;top:0;margin:0;max-width:calc(100% - 118px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--rw-f-insc);font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--rw-gilt-2);text-shadow:0 1px 8px rgba(0,0,0,.9)}
  .rw-skip{top:0;right:0}
}
