/* mgb-ai.se: the night sky of the browser theme's dark look, with the nebula bear and one address. */

@font-face {
  font-family: "Comic Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/comic-neue-400-latin.woff2") format("woff2");
}

html, body { margin: 0; background: #03050a; }

.sky {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  box-sizing: border-box;
  padding: 64px 16px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #02040a 0%, #050913 48%, #08101a 78%, #04070c 100%);
  color: #ededea;
  font-family: "Comic Neue", "Comic Sans MS", "Chalkboard SE", cursive;
}

.layer { position: absolute; inset: 0; pointer-events: none; }

/* Northern lights: four soft glows in the logo's green, violet, teal and blue, and faint rays. */
.aur { position: absolute; pointer-events: none; mix-blend-mode: screen; will-change: transform; }
.g1 { left: -15%; top: -22%; width: 90%; height: 78%; filter: blur(34px);
  background: radial-gradient(60% 55% at 45% 50%, rgba(86, 205, 149, .62), rgba(86, 205, 149, 0) 70%); }
.g2 { right: -18%; top: -26%; width: 80%; height: 80%; filter: blur(40px);
  background: radial-gradient(55% 50% at 55% 50%, rgba(98, 80, 179, .7), rgba(98, 80, 179, 0) 70%); }
.g3 { left: 18%; top: 4%; width: 64%; height: 60%; filter: blur(46px);
  background: radial-gradient(50% 45% at 50% 45%, rgba(2, 169, 178, .5), rgba(2, 169, 178, 0) 72%); }
.g4 { left: 30%; top: -30%; width: 46%; height: 50%; filter: blur(30px);
  background: radial-gradient(50% 50% at 50% 60%, rgba(62, 109, 189, .5), rgba(62, 109, 189, 0) 70%); }
.rays { left: -10%; top: -6%; width: 120%; height: 64%;
  background: repeating-linear-gradient(94deg, rgba(210, 255, 236, .07) 0, rgba(210, 255, 236, .07) 1px, rgba(210, 255, 236, 0) 2px, rgba(210, 255, 236, 0) 9px);
  -webkit-mask-image: radial-gradient(60% 70% at 40% 20%, #000, transparent 75%);
  mask-image: radial-gradient(60% 70% at 40% 20%, #000, transparent 75%); }

.g1, .g4 { animation: drift1 34s ease-in-out infinite alternate; }
.g2 { animation: drift2 41s ease-in-out infinite alternate; }
.g3 { animation: drift3 47s ease-in-out infinite alternate; }
.rays { animation: sway 23s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate3d(-5%, 0, 0) scaleY(1); } to { transform: translate3d(6%, 4%, 0) scaleY(1.18); } }
@keyframes drift2 { from { transform: translate3d(4%, 2%, 0) rotate(-3deg); } to { transform: translate3d(-6%, -2%, 0) rotate(4deg); } }
@keyframes drift3 { from { transform: translate3d(0, -3%, 0) scale(1); } to { transform: translate3d(-3%, 4%, 0) scale(1.12); } }
@keyframes sway { from { transform: skewX(-6deg) translateX(-3%); } to { transform: skewX(7deg) translateX(3%); } }

/* Stars */
.star { position: absolute; border-radius: 50%; background: #eafbff;
  box-shadow: 0 0 6px rgba(190, 250, 255, .8); animation: tw 5s ease-in-out infinite; }
@keyframes tw { 0%, 100% { opacity: .18; } 50% { opacity: 1; } }

/* Mountains and film grain */
.ridge { position: absolute; left: 0; bottom: 0; width: 100%; height: 200px; pointer-events: none; }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .07; mix-blend-mode: overlay; }

/* The bear and the address */
.centre { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mark { position: relative; width: clamp(240px, 34vw, 480px); aspect-ratio: 1 / 1; margin: 0; }
.halo { position: absolute; inset: 6%; border-radius: 50%; filter: blur(24px);
  background: radial-gradient(50% 50% at 50% 50%, rgba(43, 211, 224, .28), rgba(98, 80, 179, .16) 55%, rgba(98, 80, 179, 0) 72%);
  animation: breathe 10s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .85; transform: scale(1.06); } }
.bear { position: relative; display: block; width: 100%; height: 100%; animation: float 10s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.mail { position: relative; display: inline-block; padding: 14px 4px; color: #d8f3ea; text-decoration: none;
  font-size: clamp(16px, 1.6vw, 21px); font-weight: 400; letter-spacing: .16em;
  transition: color .4s ease, letter-spacing .6s ease; }
.mail::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 8px; height: 1px;
  background: linear-gradient(90deg, #56cd95, #02a9b2, #3e6dbd, #6250b3); transition: left .6s ease, right .6s ease; }
.mail:hover { color: #fff; letter-spacing: .22em; }
.mail:hover::after, .mail:focus-visible::after { left: 0; right: 0; }
.mail:focus-visible { outline: 1px solid #56cd95; outline-offset: 6px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  .aur, .star, .halo, .bear { animation: none !important; }
  .mail { transition: none; }
}

/* stars:begin (node tools/stars.js) */
.s1{left:96.53%;top:33.51%;width:1.2px;height:1.2px;animation-delay:1.24s;animation-duration:8.27s}
.s2{left:98.25%;top:33.31%;width:1.7px;height:1.7px;animation-delay:4.13s;animation-duration:5.75s}
.s3{left:52.19%;top:23.16%;width:1.7px;height:1.7px;animation-delay:5.76s;animation-duration:7.42s}
.s4{left:36.71%;top:4.99%;width:1.2px;height:1.2px;animation-delay:2.60s;animation-duration:8.48s}
.s5{left:68.96%;top:40.79%;width:1.7px;height:1.7px;animation-delay:1.18s;animation-duration:4.63s}
.s6{left:15.90%;top:43.35%;width:2.6px;height:2.6px;animation-delay:0.52s;animation-duration:5.73s}
.s7{left:73.48%;top:58.93%;width:2.6px;height:2.6px;animation-delay:1.98s;animation-duration:7.35s}
.s8{left:99.84%;top:27.05%;width:1.2px;height:1.2px;animation-delay:1.79s;animation-duration:4.88s}
.s9{left:91.68%;top:23.24%;width:2.6px;height:2.6px;animation-delay:2.02s;animation-duration:5.90s}
.s10{left:78.69%;top:14.90%;width:1.2px;height:1.2px;animation-delay:3.90s;animation-duration:4.89s}
.s11{left:98.12%;top:15.60%;width:1.7px;height:1.7px;animation-delay:2.78s;animation-duration:5.59s}
.s12{left:72.43%;top:51.27%;width:1.7px;height:1.7px;animation-delay:3.32s;animation-duration:7.93s}
.s13{left:36.45%;top:63.05%;width:1.7px;height:1.7px;animation-delay:4.02s;animation-duration:4.03s}
.s14{left:78.52%;top:50.90%;width:1.7px;height:1.7px;animation-delay:3.97s;animation-duration:5.20s}
.s15{left:69.98%;top:12.05%;width:2.6px;height:2.6px;animation-delay:0.52s;animation-duration:5.91s}
.s16{left:2.28%;top:8.83%;width:1.2px;height:1.2px;animation-delay:0.67s;animation-duration:6.77s}
.s17{left:2.46%;top:14.39%;width:1.2px;height:1.2px;animation-delay:5.61s;animation-duration:4.31s}
.s18{left:2.36%;top:11.47%;width:1.7px;height:1.7px;animation-delay:4.09s;animation-duration:7.51s}
.s19{left:38.04%;top:63.63%;width:2.6px;height:2.6px;animation-delay:3.82s;animation-duration:3.60s}
.s20{left:39.09%;top:5.26%;width:1.7px;height:1.7px;animation-delay:3.56s;animation-duration:7.18s}
.s21{left:87.63%;top:61.79%;width:1.7px;height:1.7px;animation-delay:2.29s;animation-duration:3.81s}
.s22{left:49.85%;top:52.32%;width:1.2px;height:1.2px;animation-delay:3.41s;animation-duration:3.77s}
.s23{left:33.07%;top:65.67%;width:2.6px;height:2.6px;animation-delay:0.72s;animation-duration:7.21s}
.s24{left:45.63%;top:3.69%;width:1.2px;height:1.2px;animation-delay:2.33s;animation-duration:3.94s}
.s25{left:26.54%;top:16.45%;width:1.2px;height:1.2px;animation-delay:5.44s;animation-duration:5.46s}
.s26{left:58.22%;top:17.17%;width:1.7px;height:1.7px;animation-delay:2.38s;animation-duration:5.02s}
.s27{left:88.56%;top:62.18%;width:1.7px;height:1.7px;animation-delay:2.39s;animation-duration:4.28s}
.s28{left:51.35%;top:49.56%;width:1.7px;height:1.7px;animation-delay:0.60s;animation-duration:4.88s}
.s29{left:58.81%;top:50.29%;width:1.2px;height:1.2px;animation-delay:4.17s;animation-duration:3.69s}
.s30{left:26.53%;top:54.90%;width:1.2px;height:1.2px;animation-delay:2.63s;animation-duration:8.20s}
.s31{left:26.22%;top:4.30%;width:1.7px;height:1.7px;animation-delay:0.22s;animation-duration:5.20s}
.s32{left:19.97%;top:13.60%;width:1.7px;height:1.7px;animation-delay:4.59s;animation-duration:4.63s}
.s33{left:92.77%;top:12.52%;width:1.2px;height:1.2px;animation-delay:4.01s;animation-duration:3.65s}
.s34{left:75.34%;top:43.30%;width:1.2px;height:1.2px;animation-delay:3.41s;animation-duration:4.04s}
.s35{left:92.26%;top:22.41%;width:1.7px;height:1.7px;animation-delay:1.74s;animation-duration:7.46s}
.s36{left:87.82%;top:47.60%;width:1.7px;height:1.7px;animation-delay:4.66s;animation-duration:6.57s}
.s37{left:29.52%;top:16.27%;width:1.2px;height:1.2px;animation-delay:2.35s;animation-duration:5.53s}
.s38{left:73.99%;top:20.69%;width:1.2px;height:1.2px;animation-delay:0.63s;animation-duration:4.15s}
.s39{left:57.14%;top:67.65%;width:1.7px;height:1.7px;animation-delay:0.71s;animation-duration:5.51s}
.s40{left:47.28%;top:72.59%;width:1.7px;height:1.7px;animation-delay:1.30s;animation-duration:6.07s}
.s41{left:32.05%;top:18.29%;width:1.2px;height:1.2px;animation-delay:3.14s;animation-duration:4.28s}
.s42{left:3.68%;top:72.03%;width:2.6px;height:2.6px;animation-delay:2.33s;animation-duration:6.71s}
.s43{left:54.34%;top:14.13%;width:1.2px;height:1.2px;animation-delay:2.50s;animation-duration:4.96s}
.s44{left:54.80%;top:35.07%;width:1.2px;height:1.2px;animation-delay:5.05s;animation-duration:7.14s}
.s45{left:59.20%;top:24.88%;width:1.7px;height:1.7px;animation-delay:0.43s;animation-duration:5.17s}
.s46{left:58.43%;top:8.22%;width:1.2px;height:1.2px;animation-delay:2.08s;animation-duration:3.87s}
.s47{left:77.32%;top:30.10%;width:1.2px;height:1.2px;animation-delay:4.05s;animation-duration:7.58s}
.s48{left:3.17%;top:37.48%;width:1.2px;height:1.2px;animation-delay:3.93s;animation-duration:4.50s}
.s49{left:88.00%;top:38.79%;width:1.7px;height:1.7px;animation-delay:3.39s;animation-duration:6.13s}
.s50{left:45.95%;top:13.70%;width:1.2px;height:1.2px;animation-delay:2.00s;animation-duration:5.68s}
.s51{left:39.29%;top:67.73%;width:1.7px;height:1.7px;animation-delay:1.41s;animation-duration:6.79s}
.s52{left:38.69%;top:34.16%;width:1.7px;height:1.7px;animation-delay:3.99s;animation-duration:4.80s}
.s53{left:38.77%;top:9.18%;width:1.2px;height:1.2px;animation-delay:3.01s;animation-duration:5.38s}
.s54{left:38.38%;top:66.43%;width:1.7px;height:1.7px;animation-delay:3.84s;animation-duration:6.32s}
.s55{left:38.64%;top:72.09%;width:1.7px;height:1.7px;animation-delay:3.39s;animation-duration:7.47s}
.s56{left:1.14%;top:13.99%;width:1.7px;height:1.7px;animation-delay:4.46s;animation-duration:6.48s}
.s57{left:25.90%;top:52.21%;width:1.2px;height:1.2px;animation-delay:1.82s;animation-duration:4.42s}
.s58{left:83.78%;top:39.22%;width:1.7px;height:1.7px;animation-delay:2.62s;animation-duration:6.28s}
.s59{left:53.73%;top:70.64%;width:1.7px;height:1.7px;animation-delay:1.84s;animation-duration:6.36s}
.s60{left:1.44%;top:55.76%;width:1.2px;height:1.2px;animation-delay:3.12s;animation-duration:3.85s}
.s61{left:74.87%;top:37.13%;width:1.2px;height:1.2px;animation-delay:2.89s;animation-duration:3.69s}
.s62{left:14.48%;top:58.56%;width:2.6px;height:2.6px;animation-delay:4.86s;animation-duration:7.46s}
.s63{left:57.79%;top:46.62%;width:2.6px;height:2.6px;animation-delay:5.74s;animation-duration:5.02s}
.s64{left:37.01%;top:16.76%;width:1.2px;height:1.2px;animation-delay:1.52s;animation-duration:6.51s}
.s65{left:65.39%;top:6.77%;width:1.2px;height:1.2px;animation-delay:4.84s;animation-duration:7.12s}
.s66{left:88.97%;top:11.63%;width:1.2px;height:1.2px;animation-delay:1.02s;animation-duration:3.97s}
.s67{left:32.67%;top:41.21%;width:1.7px;height:1.7px;animation-delay:2.93s;animation-duration:8.27s}
.s68{left:59.23%;top:65.93%;width:1.2px;height:1.2px;animation-delay:1.20s;animation-duration:3.57s}
.s69{left:18.54%;top:14.51%;width:1.2px;height:1.2px;animation-delay:2.59s;animation-duration:7.32s}
.s70{left:94.46%;top:64.78%;width:2.6px;height:2.6px;animation-delay:5.27s;animation-duration:7.72s}
.s71{left:53.36%;top:14.75%;width:1.7px;height:1.7px;animation-delay:1.06s;animation-duration:4.52s}
.s72{left:44.48%;top:70.53%;width:1.2px;height:1.2px;animation-delay:1.77s;animation-duration:5.82s}
.s73{left:47.01%;top:68.12%;width:1.7px;height:1.7px;animation-delay:3.53s;animation-duration:4.65s}
.s74{left:84.90%;top:26.76%;width:1.2px;height:1.2px;animation-delay:0.52s;animation-duration:4.28s}
.s75{left:62.67%;top:54.78%;width:1.2px;height:1.2px;animation-delay:2.34s;animation-duration:7.03s}
.s76{left:67.12%;top:6.63%;width:1.2px;height:1.2px;animation-delay:4.68s;animation-duration:7.39s}
.s77{left:36.76%;top:67.34%;width:1.7px;height:1.7px;animation-delay:3.88s;animation-duration:6.89s}
.s78{left:51.93%;top:19.77%;width:1.2px;height:1.2px;animation-delay:3.12s;animation-duration:6.77s}
.s79{left:17.80%;top:59.72%;width:1.7px;height:1.7px;animation-delay:3.90s;animation-duration:5.58s}
.s80{left:93.99%;top:35.55%;width:1.2px;height:1.2px;animation-delay:5.29s;animation-duration:7.53s}
.s81{left:23.89%;top:13.64%;width:1.2px;height:1.2px;animation-delay:5.78s;animation-duration:6.14s}
.s82{left:40.10%;top:6.04%;width:1.7px;height:1.7px;animation-delay:0.39s;animation-duration:6.93s}
.s83{left:26.74%;top:28.42%;width:1.2px;height:1.2px;animation-delay:4.22s;animation-duration:5.96s}
.s84{left:9.64%;top:50.20%;width:1.2px;height:1.2px;animation-delay:5.82s;animation-duration:7.38s}
.s85{left:79.67%;top:55.66%;width:1.2px;height:1.2px;animation-delay:3.91s;animation-duration:6.03s}
.s86{left:36.85%;top:11.66%;width:2.6px;height:2.6px;animation-delay:2.56s;animation-duration:7.87s}
.s87{left:58.81%;top:23.38%;width:1.7px;height:1.7px;animation-delay:3.61s;animation-duration:3.81s}
.s88{left:84.13%;top:58.87%;width:1.7px;height:1.7px;animation-delay:5.81s;animation-duration:7.00s}
.s89{left:78.89%;top:69.70%;width:1.2px;height:1.2px;animation-delay:1.58s;animation-duration:4.77s}
.s90{left:32.56%;top:17.87%;width:2.6px;height:2.6px;animation-delay:4.39s;animation-duration:6.12s}
/* stars:end */
