/* Roost: page styles. Flat fills, 2.5px plum outlines, no shadows. */
:root {
  --sky: #E7E2F1;
  --ink: #241A35;
  --wall: #FBFAFD;
  --violet: #6A3BD1;
  --teal: #17907F;
  --slate: #6F7C8E;
  --butter: #F4CE4B;
  --pink: #EE8FA6;
  --dusk: #3B2F63;
  --muted: #5E5470;
  --lilac: #CFC6E3;
  --stone: #E3DDF0;
  --display: "Paquito", "Sen", system-ui, sans-serif;
  --text: "Sen", system-ui, "Segoe UI", sans-serif;
  --navh: 68px;
  --g: clamp(20px, 4.2vw, 72px);
  --tw: min(40vw, 560px, calc((100vh - var(--navh) - 44px) / 1.657));
  --u: calc(var(--tw) / 600);
  --line: 2.5px;
}
@supports (height: 100svh) {
  :root { --tw: min(40vw, 560px, calc((100svh - var(--navh) - 44px) / 1.657)); }
}

html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--sky);
  color: var(--ink);
  font: 400 18px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* ---------- sky ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.night { position: absolute; inset: 0; background: var(--dusk); opacity: 0; transition: opacity 1.4s ease; }
.stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease .2s; }
.stars span, .dusk-sky .star { position: absolute; display: block; border-radius: 50%; background: #D9D0F2; }
.dusk-sky .hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(70px, 10vw, 150px); }
.grain { position: absolute; inset: 0; opacity: .5; background-image: var(--grain); background-size: 240px 240px; }
.is-dusk .night, .is-dusk .stars { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border: var(--line) solid var(--ink); border-radius: 26px 26px 10px 10px;
  background: var(--violet); color: #fff;
  font: 700 17px/1 var(--text); text-decoration: none; white-space: nowrap;
  --k-fill: var(--ink); --k-fill-ink: #fff;
  transition: transform .16s ease, color .45s cubic-bezier(.7, 0, .2, 1);
}
.btn:active { transform: scale(.97); }
.btn-on-dark { border-color: var(--wall); --k-fill: var(--butter); --k-fill-ink: var(--ink); }
.btn-on-dark:focus-visible, .panel :focus-visible { outline-color: var(--butter); }
.quiet { font-weight: 600; font-size: 17px; padding: 12px 2px; }

/* ---------- nav: a ledge ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: var(--navh); background: var(--wall); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; background: var(--lilac); border-block: var(--line) solid var(--ink); pointer-events: none; }
.nav-in { height: 100%; display: flex; align-items: center; gap: clamp(14px, 3vw, 44px); padding-inline: var(--g); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 28px/1 var(--display); letter-spacing: -0.01em; min-height: 44px; }
.links { display: flex; gap: clamp(14px, 2.6vw, 38px); margin-left: auto; }
.links a, .foot-links a { font-weight: 600; font-size: 16px; padding: 12px 0; }
.hole {
  position: relative; flex: none; height: 46px; min-width: 98px; padding: 4px 18px 0;
  border: var(--line) solid var(--ink); border-radius: 24px 24px 8px 8px;
  background: var(--ink); color: #fff; font: 700 15.5px/1 var(--text);
  transition: transform .16s ease, background-color .3s ease;
}
.hole:hover { background: var(--violet); }
.hole:active { transform: scale(.97); }
.hole-flag { position: absolute; right: -20px; bottom: 9px; overflow: visible; pointer-events: none; }
.hole-flag-arm { transform-box: view-box; transform-origin: 4px 27px; transform: rotate(90deg); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.hole.is-in .hole-flag-arm { transform: rotate(0deg); }
.hole.is-in { min-width: 62px; }
.hole.is-in .hole-label { font: 700 22px/1 var(--display); }

/* ---------- sign-in panel: the pigeonhole grown large ---------- */
.panel {
  position: absolute; top: calc(100% + 34px); right: var(--g); z-index: 3;
  width: min(364px, calc(100vw - 28px));
  background: var(--ink); color: var(--wall);
  border-radius: 182px 182px 14px 14px / 128px 128px 14px 14px;
  padding: 84px 30px 96px;
  transform-origin: 0 0;
}
.panel[hidden], .step[hidden], .tag[hidden] { display: none; }
.panel::before { content: ""; position: absolute; inset: 9px; border: 2px solid rgba(251, 250, 253, .26); border-radius: 174px 174px 8px 8px / 120px 120px 8px 8px; pointer-events: none; }
.panel-title { font-size: 34px; line-height: 1; text-align: center; margin-bottom: 22px; outline: none; }
.step { display: grid; gap: 12px; }
.step label { font-weight: 600; font-size: 16px; }
.panel input { width: 100%; height: 52px; border: var(--line) solid var(--wall); border-radius: 12px; background: var(--wall); color: var(--ink); font: 500 18px/1 var(--text); padding: 0 14px; }
.panel input::placeholder { color: #6E6585; }
.panel-status { font-size: 16.5px; min-height: 3em; }
.boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.panel .box { height: 62px; padding: 0; text-align: center; font: 700 30px/1 var(--display); }
.panel-note { position: absolute; left: 118px; right: 26px; bottom: 30px; font-size: 13.5px; line-height: 1.35; color: #C9C0DC; }
.tag {
  position: absolute; left: 124px; bottom: 26px; height: 50px; padding: 0 20px 0 34px;
  border: var(--line) solid var(--wall); border-radius: 10px; background: var(--butter); color: var(--ink);
  font: 700 26px/1 var(--display); letter-spacing: .16em;
  transition: transform .16s ease;
}
.tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--ink); }
.tag::after { content: ""; position: absolute; right: 100%; top: 50%; width: 22px; border-top: 2px solid var(--wall); transform: rotate(-14deg); transform-origin: 100% 50%; }
.tag:active { transform: scale(.97); }
.panel-close { position: absolute; right: 22px; bottom: 22px; height: 44px; padding: 0 8px; border: 0; background: none; color: var(--wall); font: 600 15px/1 var(--text); text-decoration: underline; text-underline-offset: 4px; }
.panel.has-tag .panel-note { display: none; }
.panel.has-tag .panel-close { right: 14px; }
.panel-board { position: absolute; left: -16px; right: -16px; bottom: -14px; height: 16px; background: var(--wall); border: var(--line) solid var(--ink); border-radius: 8px; }
.greet {
  position: absolute; top: calc(100% + 30px); right: var(--g); z-index: 2; max-width: min(320px, calc(100vw - 28px));
  background: var(--wall); border: var(--line) solid var(--ink); border-radius: 4px; padding: 12px 18px;
  font-weight: 600; font-size: 16px; transform: rotate(-1.4deg); transform-origin: 100% 0;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s;
}
.greet.is-on { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.courier { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; --u: .62px; }

/* ---------- world: sky, text column and the tower ---------- */
main { position: relative; z-index: 1; }
.world {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) var(--tw); column-gap: clamp(32px, 5vw, 88px);
  padding-inline: var(--g);
}
.clouds { position: absolute; inset: 0; overflow: clip; pointer-events: none; z-index: 0; }
.cloud { position: absolute; width: var(--cw, 220px); transition: opacity 1.4s ease; animation: drift var(--cd, 80s) ease-in-out infinite alternate; }
.cloud svg { width: 100%; height: auto; }
@keyframes drift { from { transform: translate3d(-7vw, 0, 0); } to { transform: translate3d(7vw, 0, 0); } }
.is-static .cloud, .is-paused .cloud { animation: none; }
.is-dusk .cloud { opacity: .22; }

.hero, .sec { position: relative; z-index: 1; grid-column: 1; }
.hero { grid-row: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--navh) + 72px) 0 88px; }
.send { grid-row: 2; }
.rules { grid-row: 3; }
.sec { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(112px, 15vw, 220px); }
.hero h1 { font-size: clamp(44px, 6.5vw, 100px); line-height: .98; max-width: 9.4em; }
.lede { font-size: clamp(17px, 1.35vw, 19px); max-width: 31em; margin-top: 26px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.sec h2, .price h2, .dusk h2 { font-size: clamp(36px, 4.5vw, 66px); line-height: 1; }

.tower { grid-column: 2; grid-row: 1 / 4; position: relative; z-index: 2; padding-top: calc(var(--navh) + 30px); overflow: clip; }
.tower-group::after { content: ""; position: absolute; left: calc(var(--u) * 48.75); right: calc(var(--u) * 48.75); top: calc(100% - 2px); height: 600vh; background: var(--wall); border-inline: calc(var(--u) * 2.5) solid var(--ink); }
.tower-group { position: sticky; top: calc(var(--navh) + 30px); }
.block { position: relative; width: 100%; }
.block > svg { display: block; width: 100%; height: auto; overflow: visible; }
.vane { position: absolute; left: 50%; top: calc(var(--u) * 6); width: calc(var(--u) * 120); margin-left: calc(var(--u) * -60); transform-origin: 50% 50%; animation: vane 13s ease-in-out infinite; }
.vane svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes vane {
  0%, 22% { transform: scaleX(1); }
  27% { transform: scaleX(-1); }
  29% { transform: scaleX(-.86); }
  31%, 58% { transform: scaleX(-1); }
  64% { transform: scaleX(1); }
  66% { transform: scaleX(.8); }
  68%, 100% { transform: scaleX(1); }
}
.is-static .vane, .is-paused .vane { animation: none; }

/* ---------- birds ---------- */
.bird { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 3; -webkit-tap-highlight-color: transparent; }
.bird-in { position: absolute; left: 0; top: 0; width: calc(var(--u) * 140 * var(--bs, 1)); will-change: transform; pointer-events: none; }
.bird svg { display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.bird .b-hit { pointer-events: auto; cursor: pointer; }
.bird .b-fw use, .bird .b-toes, .bird .b-tuck, .bird .b-eye-shut, .bird .b-carry > * { display: none; }
.bird svg[data-w="0"] .b-fw .w0, .bird svg[data-w="1"] .b-fw .w1, .bird svg[data-w="2"] .b-fw .w2 { display: inline; }
.bird svg.flap .b-wing, .bird svg.pose-fly .b-legs, .bird svg.pose-sleep .b-legs { display: none; }
.bird svg.pose-fly .b-tuck, .bird svg.pose-sleep .b-toes { display: inline; }
.bird svg.shut .b-eye { display: none; }
.bird svg.shut .b-eye-shut { display: inline; }
.bird svg[data-carry="env"] .c-env, .bird svg[data-carry="slip"] .c-slip, .bird svg[data-carry="tag"] .c-tag { display: inline; }
.boil-wall .block > svg .art { filter: url(#rp-boil); }
.boil-birds .bird .b-art { filter: url(#rp-boil-b); }
.flight { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.handoff { position: absolute; left: 0; top: 0; width: 34px; margin: -30px 0 0 -17px; }
.handoff svg { display: block; width: 100%; height: auto; overflow: visible; }

/* ---------- send one in ---------- */
.sendform { margin-top: 36px; max-width: 560px; }
.sendform label, .seg legend, .stepper label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; padding: 0; }
.field-row { display: flex; gap: 10px; }
.field-row input { flex: 1; min-width: 0; height: 52px; border: var(--line) solid var(--ink); border-radius: 12px; background: var(--wall); color: var(--ink); font: 500 18px/1 var(--text); padding: 0 16px; }
.field-row input::placeholder { color: #6E6585; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; max-width: 600px; }
.chip { height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 22px 22px 8px 8px; background: var(--wall); font: 600 15.5px/1 var(--text); transition: transform .16s ease, background-color .25s ease; }
.chip:hover { background: var(--butter); }
.chip:active { transform: scale(.97); }
.slip {
  position: relative; margin-top: 34px; max-width: 520px; min-height: 84px;
  background: var(--wall); border: var(--line) solid var(--ink); border-radius: 4px;
  padding: 18px 22px 18px 52px; font-weight: 600; font-size: 18px; line-height: 1.4;
  rotate: -1.2deg;
}
.slip::before { content: ""; position: absolute; left: 18px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--sky); border: 2px solid var(--ink); }
.slip.is-new { animation: slipin .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes slipin { from { transform: translateY(-14px) rotate(-4deg); opacity: 0; } to { transform: none; opacity: 1; } }
.slip b { color: var(--violet); font-weight: 700; }

/* ---------- rules ---------- */
.controls { display: grid; gap: 26px; margin-top: 36px; }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg legend { float: left; margin: 0 8px 0 0; line-height: 48px; }
.plate { position: relative; display: inline-flex; }
.plate input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.plate span { display: inline-flex; align-items: center; justify-content: center; height: 48px; min-width: 92px; padding: 0 20px; border: var(--line) solid var(--ink); border-radius: 8px; background: var(--wall); font: 700 20px/1 var(--display); transition: background-color .25s ease, color .25s ease, transform .16s ease; }
.plate input:checked + span { background: var(--violet); color: #fff; }
.plate input:focus-visible + span { outline: 2.5px solid var(--violet); outline-offset: 3px; }
.plate input:active + span { transform: scale(.97); }
.switch-row { display: flex; align-items: center; gap: 14px; }
.switch-row label { font-weight: 700; font-size: 17px; cursor: pointer; padding: 10px 0; }
.switch { position: relative; flex: none; width: 70px; height: 44px; border: var(--line) solid var(--ink); border-radius: 22px 22px 8px 8px; background: var(--wall); padding: 0; transition: background-color .3s ease, transform .16s ease; }
.switch .knob { position: absolute; left: 5px; top: 5px; width: 29px; height: 29px; border-radius: 15px 15px 5px 5px; background: var(--ink); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.switch[aria-checked="true"] { background: var(--teal); }
.switch[aria-checked="true"] .knob { transform: translateX(26px); background: var(--wall); }
.switch:active { transform: scale(.97); }
.again { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 34px; }
.last { color: var(--muted); font-size: 16px; }
.rules .slip { margin-top: 28px; }

/* ---------- dusk ---------- */
.dusk { position: relative; z-index: 1; color: var(--wall); background: var(--dusk); }
.dusk::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(104px, 14vw, 200px); background: linear-gradient(to bottom, rgba(59, 47, 99, 0), var(--dusk)); pointer-events: none; }
.dusk-sky { position: absolute; inset: 0; overflow: clip; pointer-events: none; }
.dusk-sky .moon { position: absolute; left: clamp(20px, 46vw, 700px); top: 9vh; width: clamp(54px, 6vw, 84px); }
.dusk-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--tw); column-gap: clamp(32px, 5vw, 88px); padding-inline: var(--g); min-height: 100vh; }
.dusk-text { align-self: center; padding: clamp(112px, 15vw, 220px) 0; }
.bignum { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px); margin-top: 34px; }
.num { font: 700 clamp(150px, 19vw, 280px)/.74 var(--display); color: var(--butter); }
.numlabel { font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; max-width: 11em; padding-bottom: .2em; }
.sample { display: inline-block; vertical-align: middle; font: 700 11.5px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 5px; padding: 5px 9px 4px; margin-left: 4px; }
.quote { margin: 44px 0 0; max-width: 26em; }
.quote blockquote { margin: 0; font: 500 clamp(22px, 2.1vw, 30px)/1.25 var(--display); }
.quote figcaption { margin-top: 12px; font-size: 16px; color: #C9C0DC; }
.base-col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.strip { position: relative; flex: 1; margin-inline: calc(var(--u) * 48.75); margin-bottom: calc(var(--u) * -124); background: var(--wall); border-inline: calc(var(--u) * 2.5) solid var(--ink); }
.baseblock { z-index: 1; }
/* details on the long runs of wall: dashes, a shelf with a pigeon, a plant, a vent */
.wall-run { position: absolute; pointer-events: none; }
.run-tower { left: calc(var(--u) * 51.25); right: calc(var(--u) * 51.25); }
.run-dusk { inset: 0; }
.wd { position: absolute; }
.wd svg { display: block; width: 100%; height: auto; overflow: visible; }
.wd-dash { width: calc(var(--u) * 34); }
.wd-ledge { width: calc(var(--u) * 150); margin-left: calc(var(--u) * -75); }
.wd-plant { bottom: 0; width: calc(var(--u) * 156); }
.wd-vent { bottom: calc(var(--u) * 196); width: calc(var(--u) * 72); }
.boil-wall .wall-run .art { filter: url(#rp-boil-b); }
.ground { position: relative; height: 26px; background: var(--ink); }

/* ---------- price ---------- */
.price { position: relative; z-index: 1; background: var(--wall); padding: clamp(112px, 15vw, 220px) var(--g); }
.price-in { max-width: 980px; margin-inline: auto; text-align: center; }
.perchrow { --u: calc(min(100vw - 2 * var(--g), 980px) / 1000); margin-top: clamp(28px, 4vw, 56px); }
.pricebox { display: grid; justify-items: center; gap: 22px; margin-top: clamp(28px, 4vw, 48px); }
.stepper label { margin-bottom: 10px; }
.stepper-row { display: flex; align-items: center; gap: 10px; }
.step-btn { width: 52px; height: 52px; display: grid; place-items: center; border: var(--line) solid var(--ink); border-radius: 26px 26px 10px 10px; background: var(--wall); color: var(--ink); transition: transform .16s ease, background-color .25s ease; }
.step-btn:hover { background: var(--butter); }
.step-btn:active { transform: scale(.97); }
.step-btn[disabled] { opacity: .4; cursor: default; }
#perches { width: 86px; height: 52px; border: var(--line) solid var(--ink); border-radius: 12px; background: var(--wall); color: var(--ink); text-align: center; font: 700 28px/1 var(--display); -moz-appearance: textfield; appearance: textfield; }
#perches::-webkit-outer-spin-button, #perches::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.total { margin-top: 6px; }
.amount { font: 700 clamp(64px, 9vw, 120px)/.9 var(--display); }
.per { font: 500 clamp(22px, 2.4vw, 30px)/1 var(--display); }
.sums { color: var(--muted); font-size: 17px; margin-top: -8px; }

/* ---------- footer: the ledge ---------- */
.foot { position: relative; z-index: 1; background: var(--wall); }
.footperch { --u: calc(min(100vw - 2 * var(--g), 1296px) / 1000); width: min(100% - 2 * var(--g), 1296px); margin-inline: auto; }
.foot::before { content: ""; display: block; height: 14px; background: var(--lilac); border-block: var(--line) solid var(--ink); order: 2; }
.foot { display: flex; flex-direction: column; }
.footperch { order: 1; height: calc(var(--u) * 96); }
.foot-in { order: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding: 30px var(--g) 44px; }
.foot-links { display: flex; gap: 28px; }
.small { margin-left: auto; color: var(--muted); font-size: 15px; max-width: 30em; }

/* ---------- capture mode: nothing sticks, each part shows its finished state ---------- */
.is-capture .tower-group { position: relative; top: 0; }
.is-capture .sky { position: absolute; }
.is-capture .rules { z-index: 3; }
.is-capture body { position: relative; }
.is-capture .dusk-in { min-height: 900px; }
.is-capture .hero, .is-capture .sec { min-height: 900px; }
.storey-two { position: absolute; left: calc(100% + clamp(32px, 5vw, 88px)); top: 50%; width: var(--tw); margin-top: calc(var(--u) * -267); z-index: 3; }

/* ---------- phone and tablet ---------- */
@media (max-width: 899px) {
  :root { --navh: 60px; --g: 16px; --tw: min(calc(100vw - 32px), 430px); }
  .mark { font-size: 24px; gap: 8px; }
  .mark svg { width: 28px; height: 25px; }
  .links a { font-size: 15px; }
  .links .wide { display: none; }
  .nav-in { gap: 12px; }
  .links { gap: 14px; }
  .hole { min-width: 84px; padding-inline: 12px; margin-right: 14px; font-size: 14.5px; }
  .hole.is-in { min-width: 54px; }
  .panel, .greet { right: 14px; }
  .panel { padding-top: 74px; }

  .world { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto calc(var(--u) * 534) auto auto; }
  .tower, .tower-group { display: contents; }
  .tower-group::after { display: none; }
  .tower > .wall-run { display: none; }
  .hero { min-height: 0; padding: calc(var(--navh) + 46px) 0 22px; }
  .lede { margin-top: 18px; }
  .cta { margin-top: 24px; gap: 6px 28px; }
  .roofblock { grid-row: 2; grid-column: 1; width: var(--tw); justify-self: center; z-index: 2; }
  .storey { grid-row: 3 / 6; grid-column: 1; width: var(--tw); justify-self: center; align-self: start; position: sticky; top: calc(var(--navh) + 14px); z-index: 5; }
  .storey::before { content: ""; position: absolute; top: -2px; bottom: -14px; left: 50%; width: 100vw; margin-left: -50vw; background: var(--sky); z-index: -1; transition: background-color 1.4s ease; }
  .storey::after { content: ""; position: absolute; top: -2px; bottom: -14px; left: 50%; width: 100vw; margin-left: -50vw; background-image: var(--grain); background-size: 240px 240px; opacity: .5; z-index: -1; pointer-events: none; }
  .is-dusk .storey::before { background: var(--dusk); }
  .is-capture .storey { position: relative; top: 0; }
  .send { grid-row: 4; }
  .rules { grid-row: 5; }
  .sec { min-height: 0; padding-block: 40px 72px; }
  .rules { padding-block: 64px 120px; }
  .send .anchor { top: calc(var(--u) * -534 - 14px); }
  .rules .anchor { top: calc(var(--u) * -534 - 4px); }
  .sendform { margin-top: 26px; }
  .slip { margin-top: 26px; font-size: 17px; }
  .storey-two { position: relative; left: auto; top: auto; margin: 0 auto 28px; }

  .dusk-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dusk-text { padding: 150px 0 56px; }
  .dusk-sky .moon { left: auto; right: 34px; top: 34px; }
  .base-col { width: var(--tw); justify-self: center; }
  .strip { display: none; }
  .num { font-size: 150px; }
  .foot-in { padding-bottom: 36px; }
  .small { margin-left: 0; }
  .footperch { height: calc(var(--u) * 150); }
}
@media (max-width: 899px) and (max-height: 620px) {
  .storey { position: relative; top: 0; }
}
@media (max-width: 380px) {
  .links { gap: 10px; }
  .mark span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cloud, .vane { animation: none; }
}
