/* Login: one artwork, the form lives in the doorway. Shared with Webdev Studio's login. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: #0b3a5a; }
body { color: #fff3da; color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
input, button { font: inherit; }
[hidden] { display: none !important; }
.design-entry .login { display: block; max-width: none; height: 100svh; min-height: 600px; margin: 0; padding: 0; }
.design-entry .login-copy { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0b3a5a; }
.freedom { position: absolute; width: calc(1600px * var(--s, .9)); height: calc(1000px * var(--s, .9)); transform-origin: 50% 64%; }
.f-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; pointer-events: none; will-change: transform; }
.f-gate { position: absolute; left: 36.25%; top: 23%; width: 27.5%; height: 66%; will-change: transform; }
.design-entry .login form { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(86px * var(--s)) calc(44px * var(--s)) calc(26px * var(--s)); background: none; border: 0; border-radius: 0; box-shadow: none; color: #fff3da; }
.design-entry .login form h1 { margin: 0 0 auto; padding-bottom: 10px; text-align: center; font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; font-size: clamp(28px, calc(50px * var(--s)), 64px); font-weight: 500; letter-spacing: -.01em; color: #fff3da; }
.design-entry .login form > label { display: block; margin: 0 0 calc(6px * var(--s)); font-size: clamp(14px, calc(16px * var(--s)), 18px); font-weight: 600; color: #ffe2a8; }
.design-entry .login form > input, .field > input { width: 100%; height: clamp(44px, calc(56px * var(--s)), 68px); min-height: 0; padding: 0 16px; border: 2px solid #d9a24a; border-radius: 3px; color: #fff8e8; font-size: clamp(16px, calc(17px * var(--s)), 20px); background: radial-gradient(circle at 7px 7px, #ffe2a0 1.5px, #0000 2px), radial-gradient(circle at calc(100% - 7px) 7px, #ffe2a0 1.5px, #0000 2px), radial-gradient(circle at 7px calc(100% - 7px), #ffe2a0 1.5px, #0000 2px), radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), #ffe2a0 1.5px, #0000 2px), #0e2750; box-shadow: inset 0 0 0 3px #071735, inset 0 0 0 4px #7a5a2e; transition: border-color .25s, box-shadow .25s; }
.design-entry .login form > input { margin: 0 0 calc(14px * var(--s)); }
.design-entry .login form input:hover { border-color: #ffd98a; }
.design-entry .login form > input:focus-visible, .field > input:focus-visible { outline: none; border-color: #fff0c4; box-shadow: inset 0 0 0 3px #071735, inset 0 0 0 4px #ffd98a, 0 0 0 3px #ffb04a, 0 0 34px #ffb04a88; }
.design-entry .login form input:-webkit-autofill { -webkit-text-fill-color: #fff8e8; caret-color: #fff8e8; box-shadow: inset 0 0 0 80px #0e2750; }
.field { position: relative; }
.field > input { padding-right: 56px; }
.reveal { position: absolute; right: 4px; top: 0; bottom: 0; width: 44px; margin: 0; display: grid; place-items: center; color: #ffe2a8; cursor: pointer; }
.reveal input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.reveal svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reveal:hover { color: #fff; }
.reveal:focus-within { outline: 2px solid #fff0c4; outline-offset: -6px; border-radius: 6px; }
.reveal input:checked + svg .slash { display: none; }
.design-entry .login form #login-error { min-height: 1.5em; margin: calc(6px * var(--s)) 0; font-size: 14px; line-height: 1.5; color: #ffc4b4; text-align: center; }
.design-entry .login form button { width: 100%; min-height: clamp(46px, calc(62px * var(--s)), 76px); margin: 0; padding: 0 16px; border: 2px solid #ffe8b0; border-radius: 3px; color: #2c1708; font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; font-size: clamp(18px, calc(22px * var(--s)), 27px); font-weight: 600; background: radial-gradient(circle at 10px 50%, #7a4a1c 2px, #0000 2.6px), radial-gradient(circle at calc(100% - 10px) 50%, #7a4a1c 2px, #0000 2.6px), linear-gradient(#ffd98a, #e8a23d 55%, #d08a2c); box-shadow: inset 0 0 0 3px #c9832c, 0 4px 0 #7a4a1c; transition: transform .15s, box-shadow .15s, filter .2s; }
.design-entry .login form button:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: inset 0 0 0 3px #c9832c, 0 5px 0 #7a4a1c, 0 0 40px #ffb04a88; }
.design-entry .login form button:active { transform: translateY(3px); box-shadow: inset 0 0 0 3px #c9832c, 0 1px 0 #7a4a1c; }
.design-entry .login form button:focus-visible { outline: 3px solid #fff0c4; outline-offset: 3px; }
.design-entry .login form button:disabled { filter: saturate(.6); }
.design-entry .login form :is(h2, p) { color: #fff3da; }
.f-carved { font: 600 27px ui-serif, "New York", "Iowan Old Style", Georgia, serif; letter-spacing: 9px; fill: #ffe6b4; paint-order: stroke; stroke: #4a2a1c; stroke-width: 5px; stroke-linejoin: round; }
.f-lamp { opacity: .12; transition: opacity .9s; }
.f-flamebox.f-lamp { opacity: .15; }
.lit-1 .f-lamp-1, .lit-2 .f-lamp-2 { opacity: 1; }
.f-flamebox.f-lamp-1, .f-flamebox.f-lamp-2, .f-wick { opacity: .1; transition: opacity .9s; }
.lit-1 .f-flamebox.f-lamp-1, .lit-2 .f-flamebox.f-lamp-2, .lit-1 .f-wick.f-lamp-1, .lit-2 .f-wick.f-lamp-2 { opacity: 1; }
.f-rim { opacity: .45; transition: opacity .9s; }
.lit-1 .f-rim { opacity: .7; } .lit-1.lit-2 .f-rim { opacity: 1; }
.f-inner { opacity: .15; transition: opacity 1.2s; }
.lit-1 .f-inner-0, .lit-1 .f-inner-1, .lit-2 .f-inner-2, .lit-2 .f-inner-3 { opacity: .95; }
.f-trace { fill: none; stroke: #ffe2a0; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; transition: stroke-dashoffset 1.6s ease-out; }
.lit-1 .f-trace-0, .lit-2 .f-trace-1 { stroke-dashoffset: 0; }
.freedom .f-twinkle { transform-box: fill-box; transform-origin: center; animation: f-twinkle 3s ease-in-out infinite alternate; }
.freedom .f-twinkle-1 { animation-delay: -1s; } .freedom .f-twinkle-2 { animation-delay: -2s; }
@keyframes f-twinkle { from { transform: scale(.7); opacity: .55; } to { transform: scale(1.1); opacity: 1; } }
.freedom.entering { transform: scale(5.5); transition: transform 1.15s cubic-bezier(.7, 0, .75, .35); }
.freedom.entering form { opacity: 0; transition: opacity .35s; }
.freedom.refused .f-gate form { animation: f-refuse .5s; }
@keyframes f-refuse { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.freedom :is(.f-rays, .f-drift, .f-hover, .f-mill, .f-train, .f-puff, .f-run, .f-leg, .f-balloon, .f-flame, .f-whale, .f-whaletail, .f-fin, .f-spout, .f-glide, .f-kite, .f-wing, .f-swarm, .f-hand, .f-coat, .f-hair, .f-scarf-a, .f-scarf-b, .f-dogtail, .f-flutter, .f-fly, .f-seed, .f-sway, .f-rustle, .f-cage, .f-cagedoor, .f-feather, .f-boat, .f-horsetail, .f-mane, .f-fall, .f-flag, .f-dolphin, .f-splash) { transform-box: fill-box; animation: 6s ease-in-out infinite alternate; }
.freedom .f-rays { transform-origin: center; animation: f-spin 160s linear infinite; }
.freedom .f-drift { animation-name: f-drift; animation-duration: 60s; }
.freedom .f-drift-1 { animation-duration: 84s; animation-delay: -30s; }
.freedom .f-drift-2 { animation-duration: 48s; animation-delay: -16s; }
.freedom .f-hover { animation-name: f-hover; animation-duration: 9s; }
.freedom .f-mill { transform-box: view-box; transform-origin: 0 0; animation: f-spin 9s linear infinite; }
.freedom .f-mill-b { animation-duration: 12s; }
.freedom .f-train { animation: f-train 46s linear infinite; }
.freedom .f-puff { transform-origin: center; animation: f-puff 4s ease-out infinite; }
.freedom .f-puff-1 { animation-delay: -1.3s; }
.freedom .f-puff-2 { animation-delay: -2.6s; }
.f-glint { animation: f-glint 2.8s ease-in-out infinite alternate; }
.f-glint-1 { animation-delay: -1s; } .f-glint-2 { animation-delay: -1.7s; } .f-glint-3 { animation-delay: -2.3s; }
.freedom .f-boat { transform-origin: 50% 100%; animation-name: f-rock; animation-duration: 4s; }
.freedom .f-boat-1 { animation-duration: 5s; animation-delay: -2s; }
.freedom .f-run { animation: f-run 34s linear infinite; }
.freedom .f-run-1 { animation-delay: -1.5s; } .freedom .f-run-2 { animation-delay: -3s; }
.freedom .f-leg { transform-origin: 30% 0; animation: f-leg .34s ease-in-out infinite alternate; }
.freedom .f-leg-b { animation-delay: -.34s; }
.freedom .f-horsetail, .freedom .f-mane { transform-origin: 100% 50%; animation-name: f-wag; animation-duration: .5s; }
.freedom .f-balloon { animation-name: f-balloon; animation-duration: 15s; }
.freedom .f-balloon-1 { animation-duration: 20s; animation-delay: -7s; }
.freedom .f-balloon-2 { animation-duration: 17s; animation-delay: -11s; }
.freedom .f-flame { transform-origin: 50% 100%; animation-name: f-flame; animation-duration: .4s; }
.freedom .f-whale { transform-origin: center; animation-name: f-whale; animation-duration: 12s; }
.freedom .f-whaletail { transform-origin: 100% 50%; animation-name: f-wag; animation-duration: 4s; }
.freedom .f-fin { transform-origin: 90% 0; animation-name: f-wag; animation-duration: 5s; }
.freedom .f-spout { transform-origin: 50% 100%; animation-name: f-spout; animation-duration: 3.5s; }
.freedom .f-glide { transform-origin: center; animation-name: f-glide; animation-duration: 18s; }
.freedom .f-kite { transform-origin: 50% 100%; animation-name: f-kite; animation-duration: 5s; }
.freedom .f-kite-1 { animation-duration: 6.5s; animation-delay: -3s; }
.freedom .f-wing { transform-origin: 70% 100%; animation-name: f-flap; animation-duration: .42s; }
.freedom .f-wing-far { transform-origin: 20% 100%; }
.f-flyer:nth-child(3n) .f-wing { animation-duration: .6s; }
.f-flyer:nth-child(4n) .f-wing { animation-duration: .52s; animation-delay: -.2s; }
.freedom .f-swarm { transform-origin: center; animation-name: f-swarm; animation-duration: 13s; }
.freedom .f-swarm-1 { animation-duration: 17s; animation-delay: -5s; }
.freedom .f-swarm-2 { animation-duration: 11s; animation-delay: -8s; }
.freedom .f-hand { transform-box: view-box; transform-origin: 0 0; animation: f-spin 60s steps(60) infinite; }
.freedom .f-coat { transform-origin: 50% 0; animation-name: f-coat; animation-duration: 1.6s; }
.freedom .f-hair { transform-origin: 80% 50%; animation-name: f-wag; animation-duration: 1.3s; }
.freedom .f-scarf-a { transform-origin: 100% 40%; animation-name: f-scarf; animation-duration: 1.1s; }
.freedom .f-scarf-b { transform-origin: 100% 40%; animation-name: f-scarf; animation-duration: .9s; animation-delay: -.4s; }
.freedom .f-dogtail { transform-origin: 100% 100%; animation-name: f-wag; animation-duration: .35s; }
.freedom .f-flutter { transform-origin: 100% 50%; animation-name: f-flutter; animation-duration: .22s; }
.freedom .f-flutter-b { transform-origin: 0 50%; }
.freedom .f-fly { animation-name: f-fly; animation-duration: 8s; }
.freedom .f-fly-1 { animation-duration: 11s; animation-delay: -4s; } .freedom .f-fly-2 { animation-duration: 9s; animation-delay: -6s; }
.freedom .f-seed { animation: f-seed 13s linear infinite; }
.freedom .f-seed-1 { animation-delay: -3s; } .freedom .f-seed-2 { animation-delay: -6s; animation-duration: 17s; } .freedom .f-seed-3 { animation-delay: -9s; } .freedom .f-seed-4 { animation-delay: -12s; animation-duration: 20s; }
.freedom .f-sway { transform-origin: 50% 100%; animation-name: f-sway; animation-duration: 3.4s; }
.freedom .f-sway-b { animation-duration: 4.2s; animation-delay: -1.5s; } .freedom .f-sway-c { animation-duration: 2.8s; }
.freedom .f-rustle { transform-origin: 0 50%; animation-name: f-rustle; animation-duration: 5s; }
.freedom .f-rustle-b { animation-duration: 6.5s; animation-delay: -2s; } .freedom .f-rustle-c { animation-duration: 4s; }
.freedom .f-cage { transform-origin: 50% 0; animation-name: f-cage; animation-duration: 4.5s; }
.freedom .f-cagedoor { transform-origin: 100% 50%; animation-name: f-cagedoor; animation-duration: 3s; }
.freedom .f-feather { animation: f-feather 7s ease-in infinite; }
.freedom .f-feather-1 { animation-delay: -2s; animation-duration: 9s; } .freedom .f-feather-2 { animation-delay: -4s; } .freedom .f-feather-3 { animation-delay: -6s; animation-duration: 11s; }
.freedom .f-fall { animation-name: f-fall; animation-duration: 1.2s; }
.freedom .f-flag { transform-origin: 0 50%; animation-name: f-coat; animation-duration: .8s; }
.freedom .f-dolphin { transform-origin: 50% 400%; animation: f-dolphin 6s ease-in-out infinite; }
.freedom .f-dolphin-1, .freedom .f-splash-1 { animation-delay: .5s; }
.freedom .f-dolphin-2, .freedom .f-splash-2 { animation-delay: -3s; }
.freedom .f-splash { transform-origin: 50% 100%; animation: f-splash 6s ease-out infinite; }
@keyframes f-dolphin { 0%, 45% { transform: rotate(-44deg) translateY(46px); opacity: 0; } 50% { opacity: 1; } 70% { transform: rotate(0) translateY(-8px); } 88% { opacity: 1; } 95%, 100% { transform: rotate(44deg) translateY(46px); opacity: 0; } }
@keyframes f-splash { 0%, 46% { transform: scale(.4); opacity: 0; } 54% { transform: scale(1); opacity: 1; } 70%, 84% { transform: scale(1.1, .6); opacity: 0; } 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.1, .4); opacity: 0; } }
@keyframes f-spin { to { transform: rotate(360deg); } }
@keyframes f-drift { from { transform: translateX(-36px); } to { transform: translateX(44px); } }
@keyframes f-hover { to { transform: translateY(-16px); } }
@keyframes f-train { from { transform: translateX(-320px); } to { transform: translateX(760px); } }
@keyframes f-puff { from { transform: translate(0, 4px) scale(.6); } to { transform: translate(14px, -18px) scale(1.5); opacity: 0; } }
@keyframes f-glint { from { opacity: .15; } to { opacity: .95; } }
@keyframes f-rock { from { transform: rotate(-4deg) translateX(-5px); } to { transform: rotate(4deg) translateX(8px); } }
@keyframes f-run { from { transform: translateX(-320px); } to { transform: translateX(900px); } }
@keyframes f-leg { from { transform: rotate(32deg); } to { transform: rotate(-30deg); } }
@keyframes f-wag { from { transform: rotate(-9deg); } to { transform: rotate(10deg); } }
@keyframes f-balloon { to { transform: translate(22px, -46px) rotate(2deg); } }
@keyframes f-flame { from { transform: scaleY(.6); } to { transform: scaleY(1.5); } }
@keyframes f-whale { from { transform: translate(-16px, 10px) rotate(-2deg); } to { transform: translate(34px, -12px) rotate(3deg); } }
@keyframes f-spout { from { transform: scaleY(.55); opacity: .4; } to { transform: scaleY(1.15); opacity: 1; } }
@keyframes f-glide { from { transform: translate(-70px, 30px) rotate(-7deg); } to { transform: translate(110px, -36px) rotate(8deg); } }
@keyframes f-kite { from { transform: rotate(-9deg) translateY(4px); } to { transform: rotate(10deg) translateY(-8px); } }
@keyframes f-flap { from { transform: scaleY(1.05); } to { transform: scaleY(-.7); } }
@keyframes f-swarm { from { transform: translate(-40px, 20px) rotate(-8deg) scale(.9); } to { transform: translate(60px, -24px) rotate(9deg) scale(1.18); } }
@keyframes f-coat { from { transform: skewX(-2deg); } to { transform: skewX(4deg); } }
@keyframes f-scarf { from { transform: rotate(-13deg); } to { transform: rotate(12deg); } }
@keyframes f-flutter { from { transform: scaleX(1); } to { transform: scaleX(.25); } }
@keyframes f-fly { 0% { transform: translate(0, 0); } 33% { transform: translate(34px, -28px); } 66% { transform: translate(64px, 8px); } 100% { transform: translate(20px, -46px); } }
@keyframes f-seed { from { transform: translate(-40px, 30px) rotate(-10deg); opacity: 0; } 15%, 80% { opacity: 1; } to { transform: translate(240px, -210px) rotate(50deg); opacity: 0; } }
@keyframes f-sway { from { transform: skewX(2.5deg); } to { transform: skewX(-4deg); } }
@keyframes f-rustle { from { transform: rotate(-1deg); } to { transform: rotate(1.4deg); } }
@keyframes f-cage { from { transform: rotate(-6deg); } to { transform: rotate(7deg); } }
@keyframes f-cagedoor { from { transform: scaleX(1); } to { transform: scaleX(.6); } }
@keyframes f-feather { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(70px, 260px) rotate(220deg); opacity: 0; } }
@keyframes f-fall { from { opacity: .7; } to { opacity: 1; } }
.gate-portal { margin: calc(12px * var(--s)) 0 0; text-align: center; font-size: clamp(13px, calc(14px * var(--s)), 16px); color: #cfe0f5; }
.gate-portal a { color: #ffe2a8; text-underline-offset: 3px; }
.gate-portal a:hover { color: #fff; }
.gate-portal a:focus-visible { outline: 2px solid #fff0c4; outline-offset: 3px; }
.design-entry .login form button { cursor: pointer; }
.design-entry .login form { padding-bottom: calc(18px * var(--s)); }
@media (prefers-reduced-motion: reduce) { .freedom * { animation: none !important; } }
