/* ---------- The doorway: a mini universe (Dec 1, late, her note) ----------
   Her nine planets circle Mini Audrey on a tilted ring (features/door.js places them), with a clear button under it:
   a small "the fun side of me", then "Fly into my universe →". The moon window and the "tap the moon" line are gone.
   The night section, its stars and the light that fills the page on the way in stay in features/universe-door.css. */
#after-hours .ud-win, #after-hours .ud-tonight, #after-hours .ud-cue { display: none; }
#after-hours .mini-uv { position: relative; display: block; width: min(560px, 86vw); height: clamp(220px, 24vw, 300px); }
#after-hours .mini-uv::before { content: ""; position: absolute; left: 50%; top: 56%; width: 64%; height: 110%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 246, 228, 0.34), rgba(255, 246, 228, 0.08) 55%, transparent); pointer-events: none; }
#after-hours .mini-star { position: absolute; z-index: 2; left: 50%; top: 56%; width: clamp(54px, 5.4vw, 72px); translate: -50% -62%; filter: drop-shadow(0 0 16px rgba(255, 238, 200, 0.55)); }
#after-hours .mini-star img { display: block; width: 100%; height: auto; }
#after-hours .mini-pl { position: absolute; left: 0; top: 0; width: 76px; height: 76px; will-change: transform; }
#after-hours .mini-pl svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35)); }

#after-hours .ud-cta { flex-direction: column; gap: 6px; padding: 14px 26px 16px; border-radius: 22px; }
#after-hours .ud-kick { font: italic 400 18px/1 var(--serif); color: rgba(244, 239, 230, 0.66); }
#after-hours .ud-go { display: inline-flex; align-items: center; gap: 10px; font: 400 clamp(26px, 2.6vw, 36px)/1 var(--serif); color: var(--acc); }
#after-hours .ud-arrow { font-family: var(--sans); font-size: 0.7em; transition: translate 0.4s var(--e-out, ease-out); }
@media (hover: hover) { #after-hours .ud-link:hover .ud-arrow { translate: 5px 0; } }
#after-hours .ud-link:focus-visible .ud-cta { box-shadow: 0 0 0 4px rgba(140, 47, 57, 0.4), 0 16px 34px -18px rgba(0, 0, 0, 0.45); }
@media (max-width: 600px) {
  #after-hours .mini-uv { height: 210px; }
  #after-hours .mini-pl { width: 56px; height: 56px; }
  #after-hours .ud-go { font-size: 24px; }
}
/* the section is always night, so its link uses the light garnet in both themes (dark garnet on night is too faint) */
#after-hours { --acc: #F0B2BA; }
/* the real planets (pictures of My universe's own), masked softly into the night so no square edge shows */
#after-hours .mini-pl.is-real { width: 132px; height: 132px; }
#after-hours .mini-pl.is-real img { display: block; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 88%); mask-image: radial-gradient(closest-side, #000 62%, transparent 88%); }
@media (max-width: 600px) { #after-hours .mini-pl.is-real { width: 92px; height: 92px; } }
/* the button, tidier, with a little rocket (Dec 1, night, her notes: "the spacing of 'nine planets of the fun stuff' and
   'blast off' is bad", "needs some cute little rocket thing"): the small italic line sits a clear step above a soft pill
   that holds the rocket, "Blast off" and the arrow. The rocket bobs and its flame flickers; on click it lifts off first
   (features/door.js). Still with reduced motion. */
#after-hours .world-door .ud-link { gap: 0; }
#after-hours .mini-uv { margin-bottom: clamp(8px, 1.4vw, 18px); }
#after-hours .ud-cta { gap: 14px; padding: 0; background: none; box-shadow: none; }
#after-hours .ud-kick { font-size: 19px; letter-spacing: 0.01em; color: rgba(244, 239, 230, 0.7); }
#after-hours .ud-go { gap: 12px; padding: 12px 26px 13px 18px; border-radius: 999px; background: rgba(240, 178, 186, 0.12); font-size: clamp(26px, 2.4vw, 32px); transition: background-color 0.3s ease, translate 0.35s var(--e-out, ease-out); }
@media (hover: hover) { #after-hours .ud-link:hover .ud-go { background: rgba(240, 178, 186, 0.2); translate: 0 -2px; } }
#after-hours .ud-link:focus-visible .ud-cta { box-shadow: none; }
#after-hours .ud-link:focus-visible .ud-go { box-shadow: 0 0 0 3px rgba(240, 178, 186, 0.55); }
#after-hours .ud-rocket { width: 1.05em; height: 1.05em; flex: none; overflow: visible; }
#after-hours .ud-rk { transform-origin: 50% 50%; animation: ud-bob 2.4s ease-in-out infinite; }
#after-hours .ud-flame { fill: #F3C969; transform-origin: 14px 30px; animation: ud-flick 0.32s ease-in-out infinite alternate; }
@media (hover: hover) { #after-hours .ud-link:hover .ud-rk { animation-duration: 0.9s; } }
@keyframes ud-bob { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(1px, -2px) rotate(-4deg); } }
@keyframes ud-flick { from { transform: scale(0.8); opacity: 0.75; } to { transform: scale(1.12); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #after-hours .ud-rk, #after-hours .ud-flame { animation: none; } }
@media (max-width: 600px) { #after-hours .ud-go { font-size: 24px; padding: 10px 22px 11px 14px; } #after-hours .ud-kick { font-size: 17px; } }
/* Mini Audrey floats a little in her starlight while her planets go round (not with reduced motion) */
#after-hours .mini-star img { animation: ud-float 3.2s ease-in-out infinite; }
@keyframes ud-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) { #after-hours .mini-star img { animation: none; } }

/* ---------- The moon in the middle, Mini Audrey on the rocket (Dec 1, night, her call) ----------
   The planets circle her moon (images/moon.webp, her own photo) in its glow, not her. Mini Audrey sits on a little rocket
   beside the "Blast off" pill, ready to go; features/door.js flies her up to the moon when it's pressed. */
#after-hours .mini-star.mini-moon { width: clamp(58px, 5.6vw, 78px); translate: -50% -50%; border-radius: 50%; filter: drop-shadow(0 0 18px rgba(255, 240, 210, 0.55)) drop-shadow(0 0 46px rgba(255, 240, 210, 0.25)); }
#after-hours .mini-moon img { display: block; width: 100%; height: auto; border-radius: 50%; animation: none; }
#after-hours .ud-launch { display: inline-flex; align-items: flex-end; gap: 4px; }
#after-hours .ud-ride { position: relative; flex: none; width: 92px; height: 92px; margin: 0 0 -10px -20px; will-change: transform; }
#after-hours .ud-ride .ud-rocket { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35)); }
#after-hours .ud-pilot { position: absolute; z-index: 1; left: 33px; top: -12px; width: 40px; height: auto; clip-path: inset(0 0 44% 0); animation: none; }
#after-hours .ud-ride .ud-rk { transform-origin: 50% 50%; animation: ud-bob 2.4s ease-in-out infinite; }
#after-hours .ud-go .ud-rocket { display: none; }
@media (hover: hover) { #after-hours .ud-link:hover .ud-ride { translate: 0 -3px; transition: translate 0.35s var(--e-out, ease-out); } #after-hours .ud-link:hover .ud-flame { animation-duration: 0.16s; } }
@media (max-width: 600px) { #after-hours .ud-ride { width: 74px; height: 74px; margin-left: -14px; } #after-hours .ud-pilot { left: 27px; top: -10px; width: 32px; } }
/* the trip: smoke puffs, the warp canvas (features/door.js) */
.ud-smoke { position: fixed; z-index: 9997; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255, 250, 240, 0.95), rgba(220, 210, 200, 0.6) 60%, rgba(220, 210, 200, 0)); pointer-events: none; }
.ud-warp { position: fixed; inset: 0; z-index: 9998; width: 100vw; height: 100vh; pointer-events: none; }
.ud-pass { z-index: 9999; }
/* Mini Audrey clearly on top of the rocket: bigger, her waist on the rocket's back, her legs tucked behind it */
#after-hours .ud-ride { width: 112px; height: 112px; margin: -24px 0 -14px -30px; }
#after-hours .ud-pilot { left: 30px; top: -10px; width: 54px; clip-path: inset(0 0 41% 0); }
@media (max-width: 600px) { #after-hours .ud-ride { width: 88px; height: 88px; margin: -18px 0 -10px -20px; } #after-hours .ud-pilot { left: 23px; top: -8px; width: 43px; } }
#after-hours .ud-pilot { left: 36px; top: -26px; }
@media (max-width: 600px) { #after-hours .ud-pilot { left: 28px; top: -21px; } }
#after-hours .ud-pilot { left: 34px; top: -14px; clip-path: inset(0 0 30% 0); }
@media (max-width: 600px) { #after-hours .ud-pilot { left: 26px; top: -11px; } }

/* ---------- The doorway, cleaned up (Dec 1, night, her note: "the blast off thing looks bad right now fix it") ----------
   One centered column: the little universe, Mini Audrey's rocket just under it pointing up at the moon, the "Blast off"
   pill, then the small line. Nothing overlaps, and the empty space above the universe is gone. */
#after-hours .world-door { padding-top: clamp(4px, 1vw, 16px); padding-bottom: clamp(24px, 3vw, 44px); }
#after-hours .world-door .ud-link { display: flex; flex-direction: column; align-items: center; gap: 0; }
#after-hours .mini-uv { margin-bottom: 0; }
#after-hours .ud-cta { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 0; }
#after-hours .ud-launch { display: flex; flex-direction: column; align-items: center; gap: 0; }
#after-hours .ud-ride { width: 120px; height: 120px; margin: clamp(-34px, -2.6vw, -18px) 0 2px 0; }
#after-hours .ud-pilot { left: 37px; top: -15px; width: 58px; }
#after-hours .ud-kick { order: 3; margin-top: 14px; font-size: 17px; color: rgba(244, 239, 230, 0.6); }
#after-hours .ud-go { padding: 13px 30px 14px; }
@media (max-width: 600px) {
  #after-hours .ud-ride { width: 96px; height: 96px; margin: -14px 0 2px; }
  #after-hours .ud-pilot { left: 29px; top: -12px; width: 46px; }
  #after-hours .ud-kick { font-size: 15.5px; }
}
/* the new rocket (Dec 1, night, her note: "rocket isn't rendered in high enough quality"): shaded, with a glass porthole,
   rivets and a glowing flame. Its parts are turned 45deg by an SVG transform, so the bob moves the whole picture instead */
#after-hours .ud-ride .ud-rocket { animation: ud-bob 2.6s ease-in-out infinite; transform-origin: 50% 50%; }
#after-hours .ud-flame { transform-box: fill-box; transform-origin: 50% 0%; animation: ud-flick 0.3s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { #after-hours .ud-ride .ud-rocket, #after-hours .ud-flame { animation: none; } }

/* ---------- Dec 2: no words, the rocket asks by itself ----------
   Her notes: "it shouldnt say blastoff it should just be jumping and show don't tell you're supposed to click the
   rocket", "remove the nine planets of the fun stuff". The pill and the line are gone. The rocket, a little bigger,
   crouches and hops every couple of seconds; pointing at it makes it hop faster and its flame roar. Pressing it (or the
   little universe) flies her up, as before. The little universe can be dragged sideways to spin it (features/door.js).
   Reduced motion: no hopping. */
#after-hours .ud-ride { width: 150px; height: 150px; margin: clamp(-30px, -2.2vw, -14px) 0 0; cursor: pointer; transform-origin: 50% 90%; animation: ud-hop 2.6s cubic-bezier(.3, 0, .3, 1) infinite; }
#after-hours .ud-pilot { left: 46px; top: -18px; width: 72px; }
@keyframes ud-hop {
  0%, 56%, 100% { translate: 0 0; scale: 1 1; }
  62% { translate: 0 4px; scale: 1.08 .9; }
  72% { translate: 0 -30px; scale: .95 1.07; }
  80% { translate: 0 -36px; scale: 1 1; }
  90% { translate: 0 0; scale: 1.07 .92; }
  95% { translate: 0 -5px; scale: .99 1.02; }
}
@media (hover: hover) {
  #after-hours .ud-link:hover .ud-ride { translate: none; animation-duration: 1.15s; }
  #after-hours .ud-ride:hover .ud-flame { animation-duration: 0.12s; }
}
#after-hours .ud-link.ud-going .ud-ride { animation: none; }
#after-hours .ud-link:focus-visible .ud-ride { outline: 3px solid rgba(240, 178, 186, 0.6); outline-offset: 4px; border-radius: 50%; }
#after-hours .mini-uv { cursor: grab; touch-action: pan-y; -webkit-user-drag: none; user-select: none; }
#after-hours .mini-uv.dragging { cursor: grabbing; }
#after-hours .mini-uv.dragging .mini-pl { transition: none; }
@media (max-width: 600px) {
  #after-hours .ud-ride { width: 118px; height: 118px; margin-top: -10px; }
  #after-hours .ud-pilot { left: 36px; top: -14px; width: 57px; }
}
@media (prefers-reduced-motion: reduce) { #after-hours .ud-ride { animation: none; } }

/* ---------- Dec 2: the universe ends at a horizon (her note: "there needs to be a delineation between the universe and the
   footer at the very bottom"). The footer is the ground you look down on from her little universe: a wide curved rim of a
   planet rises at its top, lit along the edge by the same moonlight, so the night stops there clearly. Both themes. */
.footer { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(64px, 7vw, 96px); background: #0C0B0A; }
[data-theme="dark"] .footer { background: #0C0B0A; }
.footer::before { content: ""; position: absolute; z-index: -1; left: -30%; right: -30%; top: clamp(22px, 2.6vw, 36px); height: 300%; border-radius: 50% 50% 0 0 / clamp(70px, 9vw, 140px) clamp(70px, 9vw, 140px) 0 0; background: linear-gradient(to bottom, #24201C, #1A1816 140px); box-shadow: 0 -1px 0 rgba(255, 244, 224, 0.32), 0 -16px 46px -8px rgba(255, 236, 200, 0.16); }

/* Dec 2 (her note: "the universe as a whole revolving needs to be bigger"): the little universe here is bigger too:
   wider ring, bigger planets and moon. (My universe itself got bigger in features/universe.js.) */
#after-hours .mini-uv { width: min(980px, 94vw); height: clamp(300px, 34vw, 460px); }
#after-hours .mini-pl.is-real { width: clamp(120px, 13vw, 184px); height: clamp(120px, 13vw, 184px); }
#after-hours .mini-star.mini-moon { width: clamp(78px, 8vw, 116px); }
@media (max-width: 600px) { #after-hours .mini-uv { height: 260px; } #after-hours .mini-pl.is-real { width: 104px; height: 104px; } }

/* ---------- Dec 2, the skyline replaces the arc (her note: "the horizon and stuff for the bottom needs to be more
   thoughful") ----------
   Her universe ends where the city begins: the D.C. skyline from her iCivics photos rises out of the footer, as dark
   silhouettes against a warm glow low in the sky, the monument's two red lights blinking slowly and the Capitol's drum
   lit. The footer is the ground, the same near-black as the silhouettes, so the buildings stand on it. */
.footer::before { content: none; }
.footer, [data-theme="dark"] .footer { overflow: visible; padding-top: clamp(26px, 3vw, 40px); background: #0A0908; }
.ft-horizon { position: relative; height: clamp(96px, 11vw, 150px); margin: calc(clamp(96px, 11vw, 150px) * -1 - clamp(26px, 3vw, 40px)) calc(var(--pad) * -1) clamp(18px, 2vw, 28px); pointer-events: none; }
.ft-horizon::before { content: ""; position: absolute; inset: -40% 0 0; background: radial-gradient(70% 90% at 62% 100%, rgba(255, 206, 150, 0.16), rgba(255, 206, 150, 0.05) 45%, transparent 75%), linear-gradient(to bottom, transparent, rgba(255, 220, 180, 0.05)); }
.ft-horizon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ft-sil { fill: #0A0908; filter: drop-shadow(0 -1px 0 rgba(255, 238, 210, 0.18)); }
.ft-lights { fill: #F6D9A2; opacity: 0.55; }
.ft-red { fill: #E8453C; filter: drop-shadow(0 0 3px rgba(232, 69, 60, 0.9)); animation: ft-blink 3.2s ease-in-out infinite; }
@keyframes ft-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .ft-red { animation: none; } }

/* Bigger universe at the bottom (Dec 2, her note: "the revolving pieces are too small make it bigger pls"): a wider,
   taller ring and planets about a third bigger */
#after-hours .mini-uv { width: min(1240px, 96vw); height: clamp(380px, 42vw, 600px); }
#after-hours .mini-pl.is-real { width: clamp(150px, 17vw, 250px); height: clamp(150px, 17vw, 250px); }
@media (max-width: 600px) { #after-hours .mini-uv { height: 330px; } #after-hours .mini-pl.is-real { width: 132px; height: 132px; } }
#after-hours .mini-star.mini-moon { width: clamp(96px, 10vw, 150px); }

/* ---------- Dec 2, a sign-off (her note: "ending should still feel semi professional") ----------
   Under the skyline, three calm columns: her name (with the moon dot, as in the bar) and where she is; her email; and
   where else to find her. Small grey labels, no slogans. The © line and Back to top stay below. */
.footer .ft-sign { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr); align-items: start; gap: 24px clamp(24px, 4vw, 64px); padding-bottom: clamp(20px, 2.4vw, 32px); }
.ft-name { display: inline-flex; align-items: flex-end; gap: 0.06em; margin: 0; font: 400 clamp(30px, 2.6vw, 40px)/1 var(--serif); color: #F6F0E6; letter-spacing: -0.02em; }
.ft-name .moon { width: 0.2em; height: 0.2em; margin-bottom: 0.12em; border-radius: 50%; }
.ft-sub { margin: 8px 0 0; font-size: 15px; color: #A79E92; }
.ft-k { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #8F877C; }
.footer .ft-sign .mail { display: block; }
.footer .ft-sign .ft-links { flex-direction: column; gap: 6px; margin: 0; }
@media (max-width: 760px) { .footer .ft-sign { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.ft-name { display: block; }
.ft-name .moon { display: inline-block; width: 0.26em; height: 0.26em; margin: 0 0 0 0.05em; vertical-align: baseline; }
.footer .ft-name { display: block; }   /* .footer p is a flex row with an 18px gap, which pushed the moon dot away */

/* ---------- Dec 2: Music ends, the universe begins (her note: "the delineation of music and universe needs to be better
   someway somehow") ----------
   The night opens as a wide arch, like the top of a planet's sky seen from below: rounded top corners over the page's
   own color, a thin moonlit rim along the curve and a faint glow above it. No fade from Music any more (both themes). */
main > #after-hours.uv-night, [data-theme="dark"] main > #after-hours.uv-night {
  background-color: #0B0A09;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255, 246, 228, 0.7), transparent 60%),
    radial-gradient(1px 1px at 27% 68%, rgba(255, 246, 228, 0.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 38% 14%, rgba(255, 246, 228, 0.55), transparent 60%),
    radial-gradient(1px 1px at 61% 80%, rgba(255, 246, 228, 0.45), transparent 60%),
    radial-gradient(1.3px 1.3px at 72% 26%, rgba(255, 246, 228, 0.65), transparent 60%),
    radial-gradient(1px 1px at 84% 58%, rgba(255, 246, 228, 0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 91% 16%, rgba(255, 246, 228, 0.6), transparent 60%),
    radial-gradient(1px 1px at 6% 84%, rgba(255, 246, 228, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 80% at 50% 42%, #24201B 0%, #151311 55%, #0B0A09 100%);
  border-radius: 50% 50% 0 0 / clamp(54px, 8vw, 130px) clamp(54px, 8vw, 130px) 0 0;
  box-shadow: inset 0 1.5px 0 rgba(255, 240, 214, 0.32), 0 -18px 50px -26px rgba(255, 232, 196, 0.35);
  margin-top: clamp(8px, 1vw, 16px); }

/* Dec 2 (her note: "hovering over the planets should give u name on the website main"): a planet's name in the italic
   serif under it while you point at it */
#after-hours .mini-pl .mini-name { position: absolute; left: 50%; top: 86%; z-index: 2; translate: -50% -4px; opacity: 0; font: italic 400 clamp(16px, 1.4vw, 20px)/1 var(--serif); color: #F4EFE6; white-space: nowrap; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); pointer-events: none; transition: opacity 0.25s ease, translate 0.35s var(--e-out, ease-out); }
@media (hover: hover) { #after-hours .mini-pl:hover .mini-name { opacity: 1; translate: -50% 0; } }

/* Dec 2 (her note: "rings not full on the universe thing"): the planet pictures are taken from farther back so each ring
   fits whole, and the soft fade at their edge starts later, so the ring ends no longer melt away. */
#after-hours .mini-pl.is-real img { -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 99%); mask-image: radial-gradient(closest-side, #000 82%, transparent 99%); }
/* the pictures' own night melts into the section's: each planet picture keeps only what's lighter than the sky under it */
#after-hours .mini-pl.is-real { mix-blend-mode: lighten; }
/* the pictures now hold the whole ring, so each tile is a little bigger to keep the planets the same size */
#after-hours .mini-pl.is-real { width: clamp(150px, 17vw, 320px); height: clamp(150px, 17vw, 320px); }
@media (max-width: 600px) { #after-hours .mini-pl.is-real { width: 150px; height: 150px; } }

/* Dec 2 (her note: "deliniation t bottom weird"): dark mode painted the footer a shade lighter than the skyline, so the
   buildings floated over a band. Now the silhouettes and the ground are one color in both themes, and the night keeps
   clear room above the skyline so the rocket never crowds it. */
html .footer, html[data-theme="dark"] .footer { background: #0C0B0A; }
.ft-sil { fill: #0C0B0A; }
main > #after-hours.uv-night, html[data-theme="dark"] main > #after-hours.uv-night { padding-bottom: clamp(110px, 12vw, 180px); }

/* ---------- Dec 2 (her note: "band at top weird") ----------
   The arch's rounded corners left notches at the sides, like a tab. Now the night rises in one wide, gentle curve that
   runs past both edges of the screen (a horizon seen from above), with a soft moonlit rim. The top of the night is one
   even dark, so the curve and the section meet without a seam. */
main > #after-hours.uv-night, html[data-theme="dark"] main > #after-hours.uv-night { border-radius: 0; box-shadow: none; margin-top: clamp(40px, 5vw, 72px); position: relative; isolation: isolate; overflow: visible; }
main > #after-hours.uv-night::before { content: ""; position: absolute; z-index: -1; left: -25%; right: -25%; top: calc(clamp(40px, 5vw, 72px) * -1); height: clamp(180px, 20vw, 280px); border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #0B0A09; box-shadow: 0 -1px 0 rgba(255, 240, 214, 0.2), 0 -22px 60px -34px rgba(255, 232, 196, 0.35); pointer-events: none; }
main > #after-hours.uv-night { background-image: linear-gradient(to bottom, #0B0A09, rgba(11, 10, 9, 0) clamp(140px, 16vw, 240px)),
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255, 246, 228, 0.7), transparent 60%),
    radial-gradient(1px 1px at 27% 68%, rgba(255, 246, 228, 0.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 38% 14%, rgba(255, 246, 228, 0.55), transparent 60%),
    radial-gradient(1px 1px at 61% 80%, rgba(255, 246, 228, 0.45), transparent 60%),
    radial-gradient(1.3px 1.3px at 72% 26%, rgba(255, 246, 228, 0.65), transparent 60%),
    radial-gradient(1px 1px at 84% 58%, rgba(255, 246, 228, 0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 91% 16%, rgba(255, 246, 228, 0.6), transparent 60%),
    radial-gradient(1px 1px at 6% 84%, rgba(255, 246, 228, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 80% at 50% 42%, #24201B 0%, #151311 55%, #0B0A09 100%); }
main > #after-hours.uv-night::before { background: linear-gradient(to bottom, #0B0A09 45%, rgba(11, 10, 9, 0)); }

/* ---------- Dec 2 (her note: "the band at the top of the thing where it's curved looks rlly bad") ----------
   No curve, rim or glow. Music ends on a clean straight edge and the night starts right there: a step deeper than the
   page in both themes, with its stars from the first pixel, so the change reads clearly on its own. */
main > #after-hours.uv-night::before { content: none; }
main > #after-hours.uv-night, html[data-theme="dark"] main > #after-hours.uv-night { margin-top: 0; border-radius: 0; box-shadow: none;
  background-color: #070606;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 6%, rgba(255, 246, 228, 0.7), transparent 60%),
    radial-gradient(1px 1px at 33% 3%, rgba(255, 246, 228, 0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255, 246, 228, 0.7), transparent 60%),
    radial-gradient(1px 1px at 27% 68%, rgba(255, 246, 228, 0.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 38% 14%, rgba(255, 246, 228, 0.55), transparent 60%),
    radial-gradient(1px 1px at 61% 80%, rgba(255, 246, 228, 0.45), transparent 60%),
    radial-gradient(1.3px 1.3px at 72% 26%, rgba(255, 246, 228, 0.65), transparent 60%),
    radial-gradient(1px 1px at 79% 5%, rgba(255, 246, 228, 0.55), transparent 60%),
    radial-gradient(1px 1px at 84% 58%, rgba(255, 246, 228, 0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 91% 16%, rgba(255, 246, 228, 0.6), transparent 60%),
    radial-gradient(1px 1px at 6% 84%, rgba(255, 246, 228, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 80% at 50% 46%, #221E1A 0%, #121110 50%, #070606 100%); }

/* ---------- Dec 2: the rocket, rendered (her note on the rocket and mini me: "needs to be rendered better") ----------
   The rocket is a real 3D clay render now (lab/rocket-render.html, a raymarched model in the planets' light), drawn tilted
   into the old SVG's 40 x 40 frame: images/rocket.webp. It has a cockpit on its upper side and Mini Audrey sits in it,
   waist down inside. The flame stays a live SVG shape behind it. images/rocket-front.webp is only what's in front of her
   (the cockpit's front lip and the body below it, with a soft shadow on her waist), laid over her. The whole ride hops as
   one piece. Her waist (43.5% across, 66.7% down her picture) sits on the cockpit's middle (41.7%, 46% of the frame). */
#after-hours .ud-ride { width: 172px; height: 172px; }
#after-hours .ud-ride .ud-rocket { z-index: 1; animation: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)); }
#after-hours .ud-ride .ud-rocket image { image-rendering: auto; }
#after-hours .ud-ride .ud-pilot { z-index: 2; left: 17.8%; top: 4%; width: 55%; height: auto; clip-path: inset(0 0 28% 0); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); }
#after-hours .ud-ride .ud-rocket-front { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 600px) { #after-hours .ud-ride { width: 136px; height: 136px; } }

/* ---------- Dec 2: the skyline, rendered (her note: "needs to be rendered better") ----------
   D.C. at night as it really looks: the monuments are floodlit stone, not flat cutouts. Left to right as on the Mall: the
   Lincoln Memorial (its chamber lit between the columns), the Reflecting Pool, the Washington Monument (lit from its base,
   two red lights near the top), the Capitol (lit windows in the wings, the peristyle and the dome with its ribs, the
   lantern and the statue), the Supreme Court. Behind them a hazy far treeline with the Jefferson dome and the Smithsonian
   Castle's towers; in front, trees in the ground's own color. Drawn by lab/scripts/skyline.py (inline SVG, no images). */
.ft-horizon { height: clamp(118px, 13.4vw, 196px); margin-top: calc(clamp(118px, 13.4vw, 196px) * -1 - clamp(26px, 3vw, 40px)); }
.ft-far { fill: #1B1814; }
.ft-sil { filter: none; }
.ft-red circle { fill: #E8453C; }
/* phones: the slice is shifted so the Washington Monument and the whole Capitol dome both show */
@media (max-width: 600px) {
  .ft-horizon { clip-path: inset(-200% 0 0 0); }
  .ft-horizon svg { left: -80px; width: calc(100% + 80px); }
}

/* Polish (Dec 3): the little universe never spills past the page edge (it was 96vw inside a padded box, so the page scrolled sideways). */
#after-hours .world-door .ud-link { width: 100%; }
#after-hours .mini-uv { width: min(1240px, 100%); }

/* Dec 3, skyline v2 (her note: "the bottom of website needs even better more detailed rendering"): taller, so the
   new detail has room. Same drawing script (lab/scripts/skyline.py), viewBox 1440 x 280. */
.ft-horizon { height: clamp(150px, 19.4vw, 280px); margin-top: calc(clamp(150px, 19.4vw, 280px) * -1 - clamp(26px, 3vw, 40px)); }
.ft-red circle { fill: #FF4A3D; }

/* Dec 3 (her note: "the footer is too tall"): one slim row under the skyline. Name on the left, the email in the middle,
   the three links in a row on the right, their small labels kept for screen readers only. Then the © line, close under
   it. About 240px went down to about 110px. */
.footer { padding-bottom: clamp(14px, 1.6vw, 20px); }
.ft-horizon { margin-bottom: clamp(10px, 1.2vw, 16px) !important; }
.footer .ft-sign { grid-template-columns: auto 1fr auto; align-items: center; gap: 14px clamp(24px, 4vw, 64px); padding-bottom: clamp(10px, 1.2vw, 14px); }
.footer .ft-sign .ft-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer .ft-sign .mail { justify-self: center; }
.footer .ft-sign .ft-links { flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
.ft-name { font-size: clamp(26px, 2.1vw, 32px); }
.ft-base { padding-top: 6px; font-size: 13px; }
@media (max-width: 760px) {
  .footer .ft-sign { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .footer .ft-sign .mail { justify-self: start; }
}

/* Dec 3, her note: "footer doesn't merge well with the universe let them slightly overlap a little". The night ends
   sooner, so the skyline rises into the bottom of the little universe: the rocket flies in front of the city and the
   lowest planets pass just over the rooftops. The universe stays on top (the skyline never takes clicks). */
main > #after-hours.uv-night, html[data-theme="dark"] main > #after-hours.uv-night { padding-bottom: clamp(36px, 4.5vw, 68px); }
#after-hours .mini-uv, #after-hours .ud-launch { position: relative; z-index: 3; }

/* Dec 3, her notes: "fix the weird overlap with everything", "you didn't merge the universe and the washington dc
   thing", "my email and the footer looks weird doesn't look centered".
   1. The little universe is taller, so its ring can tilt enough that no planet crosses the moon (features/door.js works
      out the tilt from the moon's and the planets' sizes and sets the moon's height). Phones get smaller planets.
   2. The moon's glow is a soft round light behind it. The old drop-shadow filter showed as a grey square in Safari.
   3. The rocket flies just over the rooftops instead of among the buildings: the night keeps a bit more room above the
      skyline, which still rises into the bottom of the universe, and the city's warm haze fades up into the night.
   4. Footer: the email sits in the true middle of the page (two equal side columns), with GitHub beside the others. */
#after-hours .mini-uv { height: clamp(420px, 48vw, 690px); }
@media (max-width: 600px) { #after-hours .mini-uv { height: 380px; } #after-hours .mini-pl.is-real { width: 112px; height: 112px; } }
#after-hours .mini-star.mini-moon { filter: none; }
#after-hours .mini-star.mini-moon::before { content: ""; position: absolute; inset: -55%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 240, 210, 0.34), rgba(255, 240, 210, 0.12) 45%, rgba(255, 240, 210, 0) 100%); }
main > #after-hours.uv-night, html[data-theme="dark"] main > #after-hours.uv-night { padding-bottom: clamp(96px, 10vw, 150px); }
.ft-horizon::before { inset: -70% 0 0; background: radial-gradient(80% 70% at 60% 100%, rgba(255, 206, 150, 0.13), rgba(255, 206, 150, 0.04) 50%, transparent 80%); }
.footer .ft-sign { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.footer .ft-sign .ft-links { justify-self: end; justify-content: flex-end; }
@media (max-width: 760px) { .footer .ft-sign { grid-template-columns: minmax(0, 1fr); } .footer .ft-sign .ft-links { justify-self: start; justify-content: flex-start; } }
.footer .ft-sign .ft-links { gap: 6px clamp(12px, 1.2vw, 20px); }
/* The universe box no longer makes its own layer (that stopped the planets' lighten blend from reaching the night, so
   faint dark circles showed round them). Only the rocket sits over the skyline, which now starts below the universe. */
#after-hours .mini-uv { z-index: auto; }

/* Dec 3, her note: "why the universe thing and dc footer not merged". The universe, the rocket and the city were three
   rows (the skyline lived in the footer). Now they're one scene: the skyline is the bottom of the night section itself
   (moved into #after-hours in index.html), the planets orbit low over the rooftops and pass in front of the city, and on
   a computer the rocket flies in the open sky at the upper left instead of sitting in its own row. The footer below is the
   ground. Phones keep the rocket under the universe, with the city right under it. */
#after-hours .ft-horizon { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; margin: 0 !important; height: clamp(150px, 19.4vw, 280px); }
#after-hours .world-door, #after-hours .world-door .ud-link { position: relative; }
main > #after-hours.uv-night, html[data-theme="dark"] main > #after-hours.uv-night { padding-bottom: clamp(70px, 8.8vw, 126px); }
#after-hours .world-door { padding-bottom: 0; }
@media (min-width: 761px) {
  #after-hours .ud-cta { position: static; }
  #after-hours .ud-launch { position: absolute; left: clamp(8px, 3vw, 48px); top: clamp(0px, 1.5vw, 24px); }
}
@media (max-width: 760px) {
  main > #after-hours.uv-night, html[data-theme="dark"] main > #after-hours.uv-night { padding-bottom: clamp(110px, 30vw, 150px); }
}
.footer { padding-top: clamp(14px, 1.6vw, 22px); }
/* the four links stay on one line (GitHub was wrapping); the email stays centered while there's room */
@media (min-width: 761px) {
  .footer .ft-sign { grid-template-columns: 1fr auto 1fr; }
  .footer .ft-sign .ft-links { flex-wrap: nowrap; white-space: nowrap; gap: 6px clamp(12px, 1.1vw, 18px); }
}
@media (max-width: 760px) { #after-hours .mini-uv { margin-bottom: 12px; } }

/* Dec 3 (her note: "the washington dc and the universe STILL not blended ... the tops of washington monument and congress
   [should go] into the universe"). The skyline has 150 units of sky above it now (lab/scripts/skyline.py), with the
   Monument taller and the Capitol dome larger, so the strip is taller by the same ratio (430 / 280) and both rise into
   the night. Nothing is clipped at its top edge, in Chrome or Safari. */
#after-hours .ft-horizon { height: clamp(230px, 29.8vw, 430px); overflow: visible; }
#after-hours .ft-horizon svg { overflow: visible; }

/* ---------- Dec 3: the rocket floats, and a faint flight path shows where it goes ----------
   Her notes: "the rocket jumps around weirdly", "the rocket thing and the fact you can enter the universe should look
   better". No more crouch and leap. The rocket floats slowly in place, its flame flickers, and a dotted flight path
   arcs from its nose to the moon with the dots drifting toward the moon, so it's clear where pressing it takes you.
   Pointing at it leans the rocket toward the moon, brightens the path and shows "fly to my universe" under it.
   The path is drawn by features/door.js (the "flight path" block). Reduced motion: still, with the path. */
#after-hours .ud-ride { animation: ud-drift 5.2s ease-in-out infinite; transform-origin: 50% 60%; transition: rotate 0.6s var(--e-out, ease); }
@keyframes ud-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@media (hover: hover) {
  #after-hours .ud-link:hover .ud-ride { animation-duration: 5.2s; }
  #after-hours .ud-ride:hover { rotate: -6deg; }
}
#after-hours .ud-path { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
#after-hours .ud-path path { fill: none; stroke: rgba(255, 240, 214, 0.38); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0.1 11; transition: stroke 0.4s ease; }
.motion #after-hours .ud-path path { animation: ud-dots 1.6s linear infinite; }
@keyframes ud-dots { to { stroke-dashoffset: -11.1; } }
#after-hours .ud-link:hover .ud-path path, #after-hours .ud-link:focus-visible .ud-path path { stroke: rgba(255, 240, 214, 0.75); }
#after-hours .ud-link.ud-going .ud-path { opacity: 0; transition: opacity 0.3s ease; }
#after-hours .ud-hint { position: absolute; left: 50%; top: 100%; translate: -50% 4px; white-space: nowrap; pointer-events: none;
  font: italic 400 clamp(17px, 1.4vw, 20px)/1 var(--serif); color: rgba(255, 246, 228, 0.9); opacity: 0; transition: opacity 0.3s ease, translate 0.4s var(--e-out, ease); }
#after-hours .ud-link:hover .ud-hint, #after-hours .ud-link:focus-visible .ud-hint { opacity: 1; translate: -50% 10px; }
@media (hover: none) { #after-hours .ud-hint { opacity: 0.7; translate: -50% 8px; } }
@media (prefers-reduced-motion: reduce) { #after-hours .ud-ride { animation: none; } #after-hours .ud-path path { animation: none; } }
