@font-face{font-family:'Source Sans 3';src:url(source-sans-3-latin-400-normal.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url(source-sans-3-latin-700-normal.woff2) format('woff2');font-weight:700;font-display:swap}
*{box-sizing:border-box}
html{color:#252525;background:#f4f7f8;font-family:'Source Sans 3',Arial,sans-serif}
body{margin:0}
main{width:100%;container-type:inline-size}
.scene{position:relative}
.room{display:block;width:100%;height:auto;aspect-ratio:1487/1058}
.profile{padding:1.75rem 1.5rem 0}
h2{margin:0;color:#37223f;font-size:2.5rem;font-weight:700;line-height:1.08}
h2 span{display:block}
.description{font-size:1.25rem;line-height:1.4;margin:1.25rem 0}
.company{font-size:1.0625rem;line-height:1.5;margin:0;color:#37223f}
.contact{display:inline-flex;align-items:center;min-height:48px;margin:1rem 1.5rem 2rem;color:#57223f;font-size:1.125rem;text-underline-offset:.2em;text-decoration-thickness:.08em}
.contact:hover{text-decoration-thickness:.14em}
.contact:focus-visible{outline:3px solid #37223f;outline-offset:5px;border-radius:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@container (min-width:68.75rem){
 .profile{position:absolute;top:30.91%;left:3.77%;width:16.81%;padding:0}
 h2{font-size:3.497cqw;line-height:1.08;font-weight:700}
 .description{font-size:1.614cqw;line-height:1.25;margin:1.68cqw 0 1.95cqw}
 .company{font-size:1.345cqw;line-height:1.4}
 .contact{position:absolute;left:84.06%;top:48.68%;width:10.42%;height:37.71%;margin:0;display:block;font-size:1.345cqw;min-height:0;color:#fff;text-decoration:none}
 .contact span{position:absolute;left:50%;top:38.85%;transform:translate(-50%,-50%);white-space:nowrap;text-shadow:0 1px 1px #37223f,0 0 2px #37223f,0 0 2px #37223f;padding:0 .15em;line-height:1.2}
 .contact:hover span,.contact:focus-visible span{text-decoration:underline;text-underline-offset:.2em}
 .contact:focus-visible{outline:3px solid #fff;outline-offset:-7px;box-shadow:inset 0 0 0 4px #37223f}
}
@media print{html{background:white}.contact::after{content:' — linkedin.com/in/markuspuustinen';font-size:.8em}.profile{position:static!important;width:auto!important;padding:1rem!important}.contact{position:static!important;width:auto!important;height:auto!important;margin:1rem!important;color:#37223f!important}.contact span{position:static!important;transform:none!important;background:none!important}}

#flight-room { position: relative; }
.flight-scene { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
#flight-room:not([data-ready]) .flight-scene, #airborne, #still-route { display: none; }
#flight-room[data-flight="flying"] #airborne, #flight-room[data-flight="route"] #still-route { display: inline; }
#paper-curl { opacity: 0; transform-box: fill-box; transform-origin: right top; }
@keyframes paper-draft {
  0%, 100% { opacity: 0; transform: scale(.1); }
  45%, 57% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  #flight-room[data-ready][data-flight="idle"] #paper-curl { animation: paper-draft .9s .45s 1 both; }
}
#launch-paper {
  position: absolute; left: 80%; top: 17.916%; transform: translate(-50%, -50%);
  width: max(44px, 6%); height: max(44px, 7%); padding: 0; border: 0;
  background: transparent; color: #37223f; font: inherit; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#launch-paper:focus-visible { outline: 3px solid #37223f; outline-offset: 2px; box-shadow: 0 0 0 2px #fffdf4; border-radius: 2px; }
@container (max-width: 48rem) {
  #still-route > use:first-child { stroke-width: 7; }
  #still-route > use:nth-child(2) { stroke-width: 3.8; stroke-dasharray: 6 10; }
}
@media (forced-colors: active) {
  #launch-paper:focus-visible { outline-color: Highlight; }
}
@media print { .flight-scene, #launch-paper { display: none !important; } }

.room-floor { display: none; }
@media screen and (aspect-ratio < 1487/1058) {
  @container (min-width: 68.75rem) {
    .room-floor {
      display: block; position: relative; pointer-events: none;
      margin-top: -1px;
      height: calc(100vh - 100cqw * 1058 / 1487 + 1px);
      height: calc(100dvh - 100cqw * 1058 / 1487 + 1px);
      background: #bfc4cd url(huone-lattia.2c022a13e6bd.webp) center top / 100% auto no-repeat;
    }
  }
}
@media screen {
  @container (min-width: 68.75rem) {
    #flight-room { background: linear-gradient(#91354d, #91354d) 93.6% 78.3% / 9.5% 37.75% no-repeat; }
    .profile {
      left: 3.3%; top: 30.75%; width: 21cqw;
      transform-origin: 0 0;
      transform: perspective(47.5cqw) rotateY(35deg) skewY(5.5deg) scaleX(1.25);
      color: #433b40; mix-blend-mode: multiply; opacity: .93;
    }
    .profile h2 {
      color: #483549; font-size: 4.23cqw; line-height: 1.04; letter-spacing: -.02em;
    }
    .profile .description {
      font-size: 1.8cqw; line-height: 1.29; margin: 1.45cqw 0 1.62cqw;
    }
    .profile .company { color: #483a46; font-size: 1.48cqw; line-height: 1.42; }

    .contact {
      left: 84.72%; top: 48.76%; width: 12.58%; height: 37.75%;
      transform-origin: 0 0;
      transform: perspective(67.6cqw) rotateY(34deg) skewY(7.75deg);
    }
    .contact span {
      top: 34%; color: rgb(255 253 247 / .99); text-shadow: none;
      font-size: 1.53cqw; font-weight: 700; letter-spacing: .035em;
    }
    @media (forced-colors: active) {
      .profile, .contact span { opacity: 1; mix-blend-mode: normal; background: Canvas; }
      .contact:focus-visible { outline-color: Highlight; }
    }
  }
}
