/* Inside each category room: painted old-house walls, cloth unveil, next-piece peek,
   doorways between rooms and the sketch → final card. Cover, entrance and choose wall untouched. */
.station.work,.station.title,.station.bye,.station.nextroom{background-image:url(../img/inside-room.jpg);background-size:cover;background-position:center}

/* consistent scale: house.js sets each picture's exact size; drop the old per-layout caps */
.station.work .frame img{max-width:none!important;max-height:none!important;object-fit:contain}
.station.work .frame{position:relative;overflow:visible;padding:0;border:5px solid #9b7443;border-radius:2px;background:transparent;box-shadow:inset 0 0 0 2px #c6a15d}
:root{--suitcase-back:#e6d6bd}
.station.work .frame.cutout{background:var(--suitcase-back);filter:drop-shadow(0 24px 18px rgba(70,45,30,.28))}
.lightbox img{box-sizing:border-box;padding:0;border:5px solid #9b7443;border-radius:2px;background:transparent;box-shadow:inset 0 0 0 2px #c6a15d}
.lightbox img[src$="bag.png"]{background:var(--suitcase-back)}

/* arrival order: cloth drops (0–0.9s), then the lamp glows, then the label and story */
.station.work .dark{transition:opacity .9s 0s}
.station.work .lamp::after{transition:opacity .5s 1s,box-shadow .5s 1s}
.station.work .spot{transition:opacity 1.2s 1s}
.station.work .label{transition:opacity .6s 1.15s,transform .6s 1.15s}
.station.work:not(.lit) .label{transition-delay:0s}

/* painted linen cloth */
.cloth{position:absolute;inset:-8px -8px -10px;z-index:3;pointer-events:none;border-radius:3px;transform-origin:50% 0;
  background:
    radial-gradient(ellipse 30% 22% at 22% 30%,rgba(198,120,120,.28),transparent 70%),
    radial-gradient(ellipse 26% 20% at 78% 68%,rgba(70,140,140,.22),transparent 70%),
    radial-gradient(ellipse 34% 18% at 60% 18%,rgba(200,150,70,.25),transparent 70%),
    repeating-linear-gradient(90deg,rgba(120,90,60,.08) 0 2px,transparent 2px 5px),
    repeating-linear-gradient(0deg,rgba(120,90,60,.07) 0 2px,transparent 2px 6px),
    linear-gradient(90deg,rgba(90,60,40,.18),transparent 14%,transparent 30%,rgba(90,60,40,.14) 38%,transparent 46%,transparent 62%,rgba(90,60,40,.16) 70%,transparent 80%,rgba(90,60,40,.2)),
    #ede0c8;
  box-shadow:0 10px 24px rgba(60,40,25,.28),inset 0 -14px 18px rgba(120,85,55,.18)}
.cloth::before{content:"";position:absolute;left:0;right:0;top:-6px;height:10px;border-radius:5px;background:linear-gradient(#a57c45,#6d4b25);box-shadow:0 2px 3px rgba(40,25,15,.4)}
.station.work.lit .cloth{animation:unveil .9s cubic-bezier(.55,0,.4,1) .1s forwards}
@keyframes unveil{
  0%{transform:none;opacity:1}
  25%{transform:translateY(-2%) skewX(-1.5deg)}
  100%{transform:translateY(118%) rotate(5deg) skewX(4deg) scaleY(.7);opacity:0}}

/* next piece peeks in from the right */
.peek{position:absolute;right:0;top:50%;z-index:4;display:flex;flex-direction:column;align-items:flex-end;gap:6px;padding:0;border:0;background:none;cursor:pointer;transform:translate(0,-50%);opacity:0;transition:opacity .6s 1.4s}
.lit .peek{opacity:1}
.peek .pf{display:block;height:min(26vh,210px);transform:translateX(52%);filter:brightness(.62) saturate(.8) drop-shadow(0 14px 14px rgba(60,40,25,.35));transition:transform .5s,filter .5s}
.peek .pf img{height:100%;width:auto;display:block;border:5px solid #6d4b25;box-shadow:inset 0 0 0 2px #b38a52}
.peek:hover .pf{transform:translateX(38%);filter:brightness(.85) drop-shadow(0 14px 14px rgba(60,40,25,.35))}
.peek .pt{order:2;font-family:"Kaushan Script",var(--f-script);font-size:26px;color:#3a0f18;margin-right:14px;transform:rotate(-6deg);white-space:nowrap}
.peek .parch{display:block;width:90px;height:150px;transform:translateX(45%);border-radius:45px 45px 0 0;border:6px solid #6d4b25;background:radial-gradient(ellipse at 50% 70%,#ffe6b0,#e3a35c 70%);filter:brightness(.8)}
.station.work{padding-right:max(90px,env(safe-area-inset-right,0px))}

/* doorway to the next room */
.station.nextroom .inner{position:relative;z-index:1;display:grid;justify-items:center;gap:14px;text-align:center}
.doorway{display:grid;justify-items:center;gap:12px;background:none;border:0;padding:0;cursor:pointer;color:#241410}
.doorway .arch{position:relative;display:block;width:min(240px,48vw);height:min(380px,46vh);border-radius:120px 120px 4px 4px;overflow:hidden;
  border:10px solid #6d4b25;box-shadow:inset 0 0 0 3px #b38a52,0 24px 30px rgba(60,40,25,.35);
  background:radial-gradient(ellipse 60% 55% at 50% 72%,#fff3d2,#f2c27a 45%,#c57a3d 80%,#7b4322)}
.doorway .arch::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 50% 40% at 50% 100%,rgba(255,240,200,.8),transparent 70%);animation:breathe 3s ease-in-out infinite}
@keyframes breathe{50%{opacity:.45}}
.doorway:hover .arch{box-shadow:inset 0 0 0 3px #b38a52,0 24px 30px rgba(60,40,25,.35),0 0 60px 10px rgba(255,214,150,.6)}
.doorway .dl{font-family:var(--f-label);font-weight:500;font-size:13px;letter-spacing:.32em;text-transform:uppercase;color:#6d4413}
.doorway .dn{font-family:var(--f-body);font-style:italic;font-weight:500;font-size:clamp(34px,4.4vw,58px);letter-spacing:.06em;line-height:1}
.station.nextroom .script{font-family:var(--f-script);font-size:clamp(26px,2.6vw,36px);color:#4a1622}
.station.nextroom .lamp{display:none}

/* warm light-spill between rooms */
.roomspill{position:fixed;inset:0;z-index:40;pointer-events:none;opacity:0;background:radial-gradient(circle at 50% 55%,#fff4d8,#f3c17a 40%,#b8743a 85%);transition:opacity .7s ease-in}
.roomspill.on{opacity:1}
.roomspill.out{transition:opacity 1s ease-out}

/* sketch → final card */
.flipcard{gap:10px}
.flip{position:relative;padding:0;border:0;background:none;cursor:pointer;perspective:1400px}
.flip .fi{position:relative;display:block;transform-style:preserve-3d;transition:transform 1.1s cubic-bezier(.45,.05,.25,1)}
.flipcard.is-final .fi{transform:rotateY(180deg)}
.flip .ff{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:grid;place-items:center}
.flip .ff img{position:absolute;inset:0;width:100%;height:100%;padding:inherit;box-sizing:border-box;object-fit:contain;display:block}
.flip .front,.flip .back{padding:0;border:5px solid #9b7443;border-radius:2px;box-sizing:border-box;background:transparent;box-shadow:inset 0 0 0 2px #c6a15d}
.flip .front{box-shadow:0 18px 22px rgba(70,45,30,.3),inset 0 0 0 2px #c6a15d}
.flip .back{transform:rotateY(180deg);filter:drop-shadow(0 22px 20px rgba(70,45,30,.32)) drop-shadow(0 4px 5px rgba(70,45,30,.28))}
.flip .pin{position:absolute;top:-7px;left:50%;width:16px;height:16px;margin-left:-8px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#e88a7a,#9b3b2f 70%);box-shadow:0 3px 3px rgba(40,20,10,.4)}
.ftag{position:absolute;z-index:2;top:14px;right:-16px;transform:rotate(6deg);font-family:"Kaushan Script",var(--f-script);font-size:18px;color:#3b2310;background:#f2e2c2;padding:4px 14px 5px;border-radius:3px;box-shadow:0 4px 8px rgba(60,40,25,.3);transition:background .4s}
.ftag::before{content:"";position:absolute;left:6px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:#a07a4a}
.flipcard.is-final .ftag{background:#e9cf8f}
.flipcard[data-made="silver"].is-final .ftag{background:#dfe0dc}
.fcap{font-family:"Kaushan Script",var(--f-script);font-size:22px;color:#4a1622;margin-top:6px}
.fbtn{font-family:var(--f-label);font-weight:600;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#f7ecd8;background:#3a1f14;border:0;border-radius:40px;padding:11px 22px;cursor:pointer;box-shadow:0 6px 14px rgba(60,40,25,.3)}
.fbtn:hover{background:#5e2531}

@media (max-width:760px){
  .station.work{padding-right:max(16px,env(safe-area-inset-right,0px))}
  .peek{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 96px);transform:none}
  .peek .pf{height:84px}.peek .parch{width:46px;height:76px;border-width:4px}
  .peek .pt{font-size:19px;margin-right:6px}
  .ftag{right:-6px;font-size:15px}.fcap{font-size:19px;margin-top:0}.fbtn{padding:9px 18px;font-size:12px}
}

@media (prefers-reduced-motion:reduce){
  .station.work.lit .cloth{animation:none;opacity:0;transition:opacity .4s}
  .flip .fi{transform:none!important;transition:none}
  .flip .ff{backface-visibility:visible;transition:opacity .5s}
  .flip .back{transform:none;opacity:0}
  .flipcard.is-final .back{opacity:1}.flipcard.is-final .front{opacity:0}
  .doorway .arch::after{animation:none}
}

/* ---------- personality layer: modern type, springy motion, notes, surprises ---------- */
:root{--f-pop:"Bricolage Grotesque",system-ui,sans-serif;--f-hand:"Caveat","Kaushan Script",cursive}
.label h3{font-family:var(--f-pop);font-style:normal;font-weight:800;letter-spacing:-.01em;line-height:1.02;font-size:clamp(28px,2.6vw,38px)}
.station.title .inner h2,.station.title .inner .big,.station.title h2{font-family:var(--f-pop)!important;font-style:normal!important;font-weight:800!important;letter-spacing:-.02em!important}
.nextroom .dn{font-family:var(--f-pop);font-weight:800;letter-spacing:-.01em}
.peek .pt{font-family:var(--f-hand);font-weight:700;font-size:24px;white-space:normal;max-width:190px;text-align:right;line-height:1}
.counter{white-space:nowrap;min-width:0!important}
.counter.fun{font-family:var(--f-hand);font-size:19px;letter-spacing:0;text-transform:none}
button:active,.frame:active{transform:scale(.94)}
.wnote{position:absolute;z-index:5;right:clamp(8px,7vw,120px);top:calc(env(safe-area-inset-top,0px) + 110px);max-width:190px;padding:12px 14px 14px;background:#fff1a8;color:#2b1a10;
  font-family:var(--f-hand);font-weight:600;font-size:21px;line-height:1.05;transform:rotate(4deg) scale(.6);opacity:0;box-shadow:0 8px 14px rgba(60,40,25,.25);transition:opacity .3s 1.3s,transform .45s cubic-bezier(.3,1.8,.5,1) 1.3s}
.wnote::before{content:"";position:absolute;left:50%;top:-10px;width:64px;height:20px;transform:translateX(-50%) rotate(-3deg);background:rgba(240,200,180,.8)}
.lit .wnote{opacity:1;transform:rotate(4deg)}
.lamp{pointer-events:auto;cursor:pointer}
.lamp::before{pointer-events:auto}
.lampoff .lamp::after{opacity:.1!important;box-shadow:none!important}
.station.lampoff .hang{filter:brightness(.6);transition:filter .3s}
.lampmsg{position:absolute;left:50%;top:calc(env(safe-area-inset-top,0px) + 82px);z-index:6;transform:translateX(-50%) rotate(-3deg);font-family:var(--f-hand);font-weight:700;font-size:24px;color:#3a0f18;white-space:nowrap;opacity:0;transition:opacity .25s;pointer-events:none}
.lampoff .lampmsg{opacity:1}
.splash{position:absolute;inset:0;pointer-events:none;z-index:4}
.splash i{position:absolute;left:50%;top:50%;width:var(--s);height:var(--s);border-radius:50%;background:var(--c);opacity:0}
#brushTrail{position:fixed;inset:0;z-index:40;pointer-events:none}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  #gallery{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M28 2 12 18l2 2L30 4z' fill='%238a5a2b'/%3E%3Cpath d='M11 19c-3 0-5 2-5 5 0 2-2 4-4 5 5 1 12 0 12-6z' fill='%23c86a5a'/%3E%3C/svg%3E") 2 30,auto}
  .station.work .frame{transform-origin:50% -14px}
  .station.work .frame:hover{animation:swing .9s cubic-bezier(.3,1.6,.5,1)}
  .niche:hover{animation:knock .5s}
}
@media (prefers-reduced-motion:no-preference){
  .station.work.lit .cloth{animation:unveilpop .6s cubic-bezier(.5,-.3,.4,1.4) .1s forwards}
  .lit .splash i{animation:splat .7s cubic-bezier(.2,.9,.3,1) .55s both}
}
@keyframes swing{0%{transform:rotate(0)}25%{transform:rotate(2.6deg)}50%{transform:rotate(-1.8deg)}75%{transform:rotate(.8deg)}100%{transform:rotate(0)}}
@keyframes knock{0%,100%{transform:none}20%{transform:rotate(-1.5deg)}40%{transform:rotate(1.5deg)}60%{transform:rotate(-.8deg)}80%{transform:rotate(.5deg)}}
@keyframes unveilpop{0%{transform:none}30%{transform:translateY(4%) scaleY(1.03)}100%{transform:translateY(-115%) scaleY(.4);opacity:0}}
@keyframes splat{0%{opacity:.9;transform:translate(-50%,-50%) scale(.2)}60%{opacity:.75}100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1)}}
@media (max-width:760px){.wnote{top:calc(env(safe-area-inset-top,0px) + 84px);right:6px;font-size:15px;max-width:110px;padding:8px 9px 9px}.peek .pt{font-size:19px;max-width:120px}.counter.fun{font-size:16px}}
@media (prefers-reduced-motion:reduce){.wnote,.lit .wnote{transition:opacity .3s}}
.station.title h2{font-size:clamp(56px,9vw,130px)!important;line-height:.9!important}

/* ---------- original niche wall, brighter, bold names ---------- */
.cscene{filter:brightness(1.32) saturate(1.1) contrast(.92) sepia(.08)}
.entrance .scene{filter:brightness(1.1) saturate(1.05)}
.nt{font-family:var(--f-pop)!important;font-weight:800!important;letter-spacing:-.01em!important;text-transform:none!important;font-size:2.1cqw!important;top:67.5%!important}
.nc{position:absolute;left:0;right:0;top:81.2%;font-family:var(--f-label);font-weight:600;font-size:max(9px,.8cqw);letter-spacing:.2em;text-transform:uppercase;color:#6d4413}
.niche:hover,.niche:focus-visible{background:rgba(255,226,170,.16);box-shadow:0 0 60px 14px rgba(255,205,130,.45),inset 0 0 0 1px rgba(230,190,120,.7)}
/* soft painted edges so neighbouring stations melt into one another */
.station.choose::after,.station.work::after,.station.title::after,.station.nextroom::after,.station.bye::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:linear-gradient(90deg,rgba(214,182,140,.75),transparent 7%,transparent 93%,rgba(214,182,140,.75))}
.station.entrance::after{content:"";position:absolute;inset:0 0 0 auto;width:10%;pointer-events:none;z-index:3;background:linear-gradient(90deg,transparent,rgba(214,182,140,.55))}
@media (max-aspect-ratio:1/1){.station.choose::after{display:none}}
/* next room: big bold name instead of an empty arch */
.doorway{gap:8px}
.doorway .dn{font-family:var(--f-pop)!important;font-style:normal!important;font-weight:800!important;font-size:clamp(54px,9vw,128px)!important;letter-spacing:-.03em!important;line-height:.9!important;transition:transform .35s cubic-bezier(.3,1.7,.5,1)}
.doorway:hover .dn{transform:translateX(10px) rotate(-1deg)}
.doorway .dsub{font-family:var(--f-label);font-weight:500;font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:#4a3228}

/* Each station owns its effects; the bottom trail never overlays current content. */
.station.work{isolation:isolate;contain:paint;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:82px 24px 64px}
.work-main{position:relative;z-index:1;min-height:0;width:100%;height:100%;display:grid;place-items:center}
.station.work .hang,.station.work .hang.stack{margin:0;width:100%;height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:center}
.work-trail{position:relative;z-index:3;width:100%;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:center;min-height:48px}
.work-trail .wnote{position:relative;inset:auto!important;justify-self:start;max-width:480px;box-sizing:border-box;font-size:17px;padding:7px 10px;margin:4px;transform:rotate(-1deg) scale(.6)}
.work-trail .wnote::before{top:-6px;height:14px}
.lit .work-trail .wnote{transform:rotate(-1deg)}
.work-trail .peek{position:relative;inset:auto;grid-column:2;grid-row:1;transform:none;width:100%;height:48px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px;overflow:hidden}
.work-trail .peek .pt{order:0;flex:1;min-width:0;max-width:none;margin:0;transform:none;font-size:21px}
.work-trail .peek .pf,.work-trail .peek:hover .pf{flex:none;width:44px;height:44px;transform:none;display:block;box-sizing:border-box;min-width:0;min-height:0}
.work-trail .peek .pf img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;box-sizing:border-box}
.work-trail .peek .parch{transform:none;width:60px;height:90px;flex:none}
.station.work .label{min-width:0;max-width:100%}
.station.work .art-story{max-height:230px;overflow-y:auto}
.station.work .frame.painted-frames{border:0;box-shadow:none;background:transparent}
.lightbox img[src$="p-calla.png"]{border:0;box-shadow:none}
.station.work .pieces{min-width:0;min-height:0;width:100%;height:100%;display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:12px;align-items:center;justify-items:center}
.station.work .pieces.n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.station.work .pieces.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.station.work .piece{min-width:0;gap:6px}
.station.work .label{width:100%;padding:0}
.station.work .label h3{letter-spacing:0}
.station.work .ftag{position:static;display:block;width:max-content;margin:6px auto 0;font-size:14px;transform:none}
.station.work .fcap{font-size:14px;margin:0}
.station.work .fbtn{padding:6px 12px;font-size:11px}
.label-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px}
.label-actions .look{margin:0;padding:6px 10px;font-size:11px;letter-spacing:0}
.story-dialog{background:var(--g-paper,#f7efe1);color:var(--g-ink);border:1px solid var(--g-gold);border-radius:6px;width:min(560px,calc(100vw - 32px));max-height:70dvh;padding:24px;box-sizing:border-box}
.story-dialog::backdrop{background:var(--g-ink);opacity:.65}
.story-dialog header{display:flex;align-items:start;justify-content:space-between;gap:16px}
.story-dialog h2{font-family:var(--f-pop);font-size:26px;line-height:1.1;margin:0}
.story-dialog header .look{margin:0;font-size:24px;padding:0 10px}
.story-body{font-family:var(--f-body);font-size:19px;line-height:1.6;margin-top:20px;white-space:pre-line}
.station.work .splash{overflow:hidden}
.controls .counter.fun{white-space:normal;line-height:1.1;max-width:240px}
@media (max-width:760px){
  .station.work .frame,.flip .front,.flip .back,.lightbox img{padding:0;border-width:4px}
  .station.work{gap:8px;padding:82px 5vw 64px}
  .station.work .hang,.station.work .hang.stack{gap:8px;width:100%;align-items:center;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
  .station.work .label,.station.work .label:has(.art-story),.station.work .hang.stack .label{width:100%;max-width:340px;padding-bottom:0}
  .station.work .label h3{font-size:23px;letter-spacing:0}
  .station.work .label .room-n{font-size:11px;margin-bottom:6px}
  .station.work .mat{font-size:12px;line-height:1.4}
  .station.work .orn{margin:7px auto}
  .station.work .art-story{font-size:15px;line-height:1.45;max-height:130px;flex-shrink:1}
  .work-trail{grid-template-columns:minmax(0,1fr) 124px;gap:10px;min-height:48px}
  .work-trail .wnote{font-size:14px;max-width:100%;padding:6px;margin:4px;letter-spacing:0}
  .work-trail .peek{height:64px;flex-direction:column;gap:4px;justify-content:center}
  .work-trail .peek .pt{order:2;flex:none;font-size:17px;text-align:right;max-width:100%}
  .work-trail .peek .pf,.work-trail .peek:hover .pf{width:32px;height:32px;align-self:flex-end}
  .work-trail .peek .parch{width:40px;height:62px;align-self:flex-end}
  .station.work .pieces.n3{flex-wrap:nowrap;gap:14px}
  .station.work .pieces.n2{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}
  .station.work .pieces.n3{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
  .station.work .pieces.n3 .piece:last-child{grid-column:1 / -1}
  .controls{gap:10px}
  .controls .counter.fun{font-size:15px;max-width:210px}
  .controls .track{min-width:8px}
}
/* new choose wall: names are painted into the image */
.cscene{filter:none!important}
.niche .nt,.niche .ns{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.niche .nc{top:auto!important;bottom:-7%}
.wnote{display:none!important}
/* Welcome and arches share one unbroken raster surface, scrolling with the hall. */
.wall-panorama{position:absolute;left:0;top:0;height:100%;pointer-events:none;z-index:0}
.station.entrance,.station.choose{background:none!important;scroll-snap-align:start}
.station.entrance::after,.station.choose::before,.station.choose::after{display:none!important}
.entrance .scene,.choose .cscene{background:none!important;filter:none!important;animation:none!important}
.station.choose{flex-basis:max(100vw,150vh);width:max(100vw,150vh);overflow:hidden;display:block}
.choose .cscene{left:0;top:0;width:100%;height:100%;transform:none;translate:none;aspect-ratio:auto}
.panorama-stop{position:absolute;top:0;width:1px;height:100%;scroll-snap-align:center;pointer-events:none}
.choose .choose-hint{position:sticky;left:0;top:calc(100% - 108px);width:100vw}

/* Living painted rooms: restrained ambient light and a gentle arrival, never scroll-jacking. */
.entrance .welcome-note{z-index:1}
@media (prefers-reduced-motion:no-preference){
  .station.work.lit .spot,.station.title.lit .spot,.station.nextroom.lit .spot{animation:livingLight 7s ease-in-out 2.2s infinite}
  .station.work.lit .lamp::after,.station.title.lit .lamp::after{animation:lampBreath 5.5s ease-in-out 2s infinite}
  .station.work.lit .frame:not(.painted-frames),.station.work.lit .flip{animation:frameSettle .85s cubic-bezier(.3,1.35,.5,1) 1.05s both}
  .station.title.lit .rule{animation:ruleGlow 4.5s ease-in-out infinite}
  .peek:hover .pt{animation:teaserNudge .55s cubic-bezier(.3,1.5,.5,1)}
}
@keyframes livingLight{0%,100%{opacity:.82;transform:translateX(-50%) scaleX(.98)}50%{opacity:1;transform:translateX(-50%) scaleX(1.03)}}
@keyframes lampBreath{0%,100%{opacity:.88;box-shadow:0 4px 16px 5px rgba(255,226,170,.58)}50%{opacity:1;box-shadow:0 4px 23px 8px rgba(255,226,170,.82)}}
@keyframes frameSettle{0%{transform:rotate(0)}35%{transform:rotate(.7deg)}65%{transform:rotate(-.35deg)}100%{transform:rotate(0)}}
@keyframes ruleGlow{0%,100%{opacity:.65;transform:scaleX(.96)}50%{opacity:1;transform:scaleX(1)}}
@keyframes teaserNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(-5px) rotate(-1deg)}}

/* Final page brush strokes */
.bye-strokes{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.bye-strokes span{position:absolute;transform:rotate(var(--r));opacity:.78}
.bye-strokes span:nth-child(-n+4){transform-origin:left center}
.bye-strokes img{display:block;width:100%;height:auto;clip-path:inset(0 100% 0 0)}
.bye.stroked .bye-strokes img{animation:byeBrush 1.8s cubic-bezier(.5,.05,.25,1) forwards;animation-delay:var(--d)}
.bye-strokes span:nth-child(odd) img{clip-path:inset(0 0 0 100%)}
.bye.stroked .bye-strokes span:nth-child(odd) img{animation-name:byeBrushL}
@keyframes byeBrush{to{clip-path:inset(0 0 0 0)}}
@keyframes byeBrushL{to{clip-path:inset(0 0 0 0)}}
@media(max-width:760px){.bye-strokes span{width:50%!important}.bye-strokes span:nth-child(-n+4){top:calc(4% + var(--i,0)*0px)!important}.bye-strokes span:nth-child(2){top:12%!important}.bye-strokes span:nth-child(4){top:13%!important}.bye-strokes span:nth-child(n+5){bottom:6%!important}.bye-strokes span:nth-child(6),.bye-strokes span:nth-child(8){bottom:2%!important}}
@media(prefers-reduced-motion:reduce){.bye-strokes img{animation:none!important;clip-path:none!important}}
