html:has(#welcome[open]) {overflow:hidden; overscroll-behavior:none}
#welcome {
  position:fixed; inset:0; margin:0; box-sizing:border-box; width:100%; height:100dvh;
  max-width:none; max-height:none; padding:0; border:0; border-radius:0; box-shadow:none;
  background:transparent; color:#fff4d9; overflow:hidden; overscroll-behavior:contain;
}
#welcome[open] {display:grid; place-items:center}
#welcome::backdrop {background:transparent}
.welcome-landscape {
  position:absolute; inset:0; background-color:#152b42;
  background-image:linear-gradient(90deg,#08192bc9,transparent 71%),linear-gradient(0deg,#0a253add,transparent 28%),url(media/trail-horizon.webp);
  background-position:center; background-size:cover;
}
.welcome-landscape::after {
  content:""; position:absolute; inset:clamp(12px,2.4vmin,30px);
  border:1px solid #f6dab85e; outline:1px solid #f6dab825; outline-offset:4px; pointer-events:none;
}
.welcome-cover {
  position:relative; isolation:isolate; width:min(86vw,1240px);
  display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:center; justify-items:start;
  grid-template-rows:auto auto; row-gap:clamp(18px,4vh,46px);
}
.welcome-copy {grid-area:1/1; align-self:end; z-index:1}
#welcome .welcome-imprint {
  display:block; width:clamp(104px,10vw,140px); height:auto; margin:0 0 clamp(18px,3.5vh,40px)
}
#welcome-title {
  font-size:clamp(64px,min(8.4vw,18vh),136px); line-height:.89; letter-spacing:-.068em;
  text-transform:uppercase; margin:0; overflow-wrap:normal; text-shadow:0 2px 16px #03172c45;
}
#welcome-description {margin:clamp(16px,2.6vh,28px) 0 0; color:#fff6e9; font-size:clamp(12px,1.2vw,18px); line-height:1.5}
#welcome-sleigh {
  grid-area:1/2/3/3; display:block; justify-self:center; width:min(100%,720px,99vh);
  height:auto; pointer-events:none; transform-origin:50% 84%; animation:sleigh-float 5.5s ease-in-out infinite;
}
@keyframes sleigh-float {50% {transform:translateY(-5px) rotate(-1deg)}}
#start-trail {
  grid-area:2/1; align-self:start; position:relative; display:inline-flex; gap:1.7em; align-items:center;
  justify-content:center; padding:15px 24px; min-height:54px; color:#083d3c; font:inherit;
  font-size:clamp(15px,1.35vw,20px); border:1px solid #abf5dc; border-radius:99px;
  background:linear-gradient(165deg,#a5f3dd,#43d4c5); box-shadow:inset 0 1px #e4fff0,0 3px #187870;
}
#start-trail:focus-visible {outline:3px solid #fff1bf; outline-offset:6px}
#start-trail:hover {background:linear-gradient(165deg,#c0ffeb,#65e2d3)}
#start-trail span:last-child {font:700 1.45em/1 system-ui}
@media (max-aspect-ratio:4/5), (max-width:600px) and (orientation:portrait) {
  .welcome-landscape {background-image:linear-gradient(180deg,#0b1c3866,transparent 56%,#0e273c9c),url(media/trail-horizon.webp)}
  .welcome-cover {grid-template: auto auto auto / minmax(0,1fr); justify-items:center; text-align:center; row-gap:clamp(10px,2.6dvh,24px)}
  .welcome-copy {grid-area:1/1}
  #welcome .welcome-imprint {margin:0 auto clamp(10px,2.5dvh,26px)}
  #welcome-title {font-size:clamp(48px,min(15.8vw,11.7dvh),100px)}
  #welcome-description {margin-top:12px}
  #welcome-sleigh {grid-area:2/1; width:min(90vw,54dvh,580px)}
  #start-trail {grid-area:3/1; width:min(280px,100%); min-height:56px}
}
@media (orientation:landscape) and (max-height:490px) {
  #welcome-title {font-size:clamp(38px,14.5dvh,72px)}
  #welcome .welcome-imprint {margin-bottom:10px}
  #welcome-description {margin-top:10px}
  .welcome-cover {row-gap:13px}
}
@media (prefers-reduced-motion:reduce) {#welcome-sleigh {animation:none}}
