* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { overflow-x: hidden; }
.profile-stage { top: var(--profile-offset-y, 0px); }
body { background: #81d1ef url('assets/profile/background.png') center / cover fixed no-repeat; color: #68534a; font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; }
.profile-stage { position: absolute; width: 1920px; height: 1080px; left: 50%; transform: translateX(-50%) scale(var(--profile-scale, 1)); transform-origin: top center; }
.main-photo { position: absolute; left: 156px; top: 162px; width: 553px; height: auto; display: block; }
.profile-copy { position: absolute; left: 805px; top: 150px; width: 970px; font-size: 32px; line-height: 1.5; }
h1 { font-size: 40px; line-height: 1.5; margin: 0 0 16px; }
p { margin: 0 0 10px; }
.home-link { position: absolute; left: 1428px; top: 52px; width: 408px; height: 153px; color: inherit; font-size: 40px; text-decoration: none; display: grid; place-items: center; }
.home-link img { position: absolute; width: 100%; height: auto; }
.home-link span { position: relative; }
.home-link:focus-visible { outline: 3px solid #68534a; outline-offset: 5px; border-radius: 50px; }
.small-cloud { position: absolute; left: 1658px; top: 176px; width: 195px; height: auto; pointer-events: none; }
.cat-photos { position: absolute; left: 786px; top: 652px; width: 954px; display: flex; justify-content: space-between; align-items: flex-start; }
.cat-photos img { display: block; width: 189px; height: auto; }
@media (max-width: 700px) {
 body { overflow-x: hidden; }
 .profile-stage { position: relative; top: auto; width: auto; height: auto; min-height: 100vh; left: auto; transform: none; margin: 0; padding: 28px 24px 36px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
 .home-link { top: 20px; left: auto; right: 20px; width: 180px; height: 72px; font-size: 28px; }
 .small-cloud { display: none; }
 .main-photo { position: static; width: min(100%, 360px); align-self: center; }
 .profile-copy { position: static; width: auto; font-size: 20px; }
 .profile-copy br { display: none; }
 h1 { font-size: 32px; }
 .cat-photos { position: static; width: 100%; gap: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
 .cat-photos img { width: 100%; }
}
.profile-intro .main-photo, .profile-intro .profile-copy,
.profile-intro .cat-photos img, .profile-intro .home-link, .profile-intro .small-cloud { visibility: hidden; }
.profile-intro .is-visible { visibility: visible; }
.profile-intro .cat-photos img.is-visible { visibility: visible; }
.profile-intro .main-photo.is-visible, .profile-intro .profile-copy.is-visible { animation: profile-appear 800ms ease-out both; }
@keyframes profile-appear { from { opacity: 0; } to { opacity: 1; } }
.profile-intro .home-link.is-visible, .profile-intro .small-cloud.is-visible { animation: profile-appear 800ms ease-out both; }
.home-link img { width: 80%; left: 10%; top: 50%; transform: translateY(-50%); }
.small-cloud { scale: .8; transform-origin: center; }
@media (max-width: 700px) {
 .profile-intro .main-photo, .profile-intro .profile-copy,
 .profile-intro .cat-photos img, .profile-intro .home-link, .profile-intro .small-cloud,
 .profile-stage .is-visible { visibility: visible; animation: none !important; }
}
