.site-skeleton { display: none; }
html[data-site-loading] .site-skeleton {
 position: fixed;
 inset: 0;
 z-index: 2147483000;
 display: block;
 overflow: hidden;
 background: #f3eee5;
}
html[data-site-loading] body > :not(.site-skeleton) { visibility: hidden; }

.site-skeleton-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 height: clamp(70px, 9vw, 112px);
 padding-inline: max(20px, calc((100% - 1100px) / 2));
 border-bottom: 1px solid #d7cbbb;
}
.site-skeleton-brand { flex: 0 0 clamp(88px, 15vw, 180px); height: 34px; }
.site-skeleton-nav { flex: 0 1 52%; height: 18px; }

.site-skeleton-body {
 display: grid;
 width: min(calc(100% - 40px), 1100px);
 margin: clamp(38px, 7vw, 86px) auto 0;
 gap: 28px;
}
.site-skeleton-content { display: grid; align-content: start; gap: 14px; }
.site-skeleton-title { width: min(72%, 360px); height: clamp(30px, 4vw, 50px); margin-bottom: 12px; }
.site-skeleton-line { width: min(88%, 410px); height: 13px; }
.site-skeleton-line:last-child { width: min(64%, 300px); }
.site-skeleton-detail { display: grid; gap: 12px; }
.site-skeleton-detail i { height: 58px; }
.site-skeleton-detail i:last-child { height: 90px; }

.skeleton-block {
 display: block;
 border-radius: 6px;
 background-color: #e4dacd;
}
.skeleton-row {
 display: block;
 min-height: 66px;
 margin-block: 8px;
 border-radius: 8px;
 background: linear-gradient(#d8cbbb, #d8cbbb) 18px 17px / min(55%, 260px) 10px no-repeat,
             linear-gradient(#d8cbbb, #d8cbbb) 18px 37px / min(35%, 175px) 8px no-repeat,
             #e9e0d3;
}
@media (prefers-reduced-motion: no-preference) {
 .site-skeleton .skeleton-block, .skeleton-row { animation: skeleton-breathe 1.5s ease-in-out infinite alternate; }
}
@keyframes skeleton-breathe {
 from { opacity: .72; }
 to { opacity: 1; }
}

@media (min-width: 701px) {
 html:is([data-site-loading="contact"], [data-site-loading="recruit"], [data-site-loading="photo"]) .site-skeleton-body {
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(30px, 5vw, 74px);
 }
}
html:is([data-site-loading="home"], [data-site-loading="photo"]) .site-skeleton-detail {
 min-height: clamp(230px, 46vh, 470px);
 border-radius: 12px;
 background: #e4dacd;
}
html:is([data-site-loading="home"], [data-site-loading="photo"]) .site-skeleton-detail i { display: none; }
html[data-site-loading="home"] .site-skeleton-header { display: none; }
html[data-site-loading="home"] .site-skeleton-body { margin-top: clamp(52px, 12vh, 140px); }
html[data-site-loading="home"] .site-skeleton-content { justify-items: center; }
