/* Homepage intro styles. Shared header/footer keep their original appearance. */
html{scrollbar-gutter:auto}
:root{--header-height:91px;--compact-height:140px;--ending-blur:8px;--art-gap:24px;--intro-top-offset:0px}
.home-stage,.intro-backdrop{--ink:#283e35;--paper:#f6f8f2}
.home-stage{font-family:'Microsoft YaHei','PingFang SC','Hiragino Sans GB',sans-serif;font-size:16px;line-height:normal;color:var(--ink)}
.collection-card h2{letter-spacing:normal}
@media(max-width:780px){:root{--header-height:104px;--compact-height:116px;--ending-blur:4px;--art-gap:12px}}
.home-stage{position:relative;z-index:1;flex:1;width:min(1200px,calc(100% - 72px));margin:0 auto 28px}
.video-hero{position:relative;width:100%;height:var(--compact-height);display:grid;place-items:center;overflow:hidden;transition:height .85s cubic-bezier(.22,.75,.3,1)}
.intro-backdrop{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:#071011;opacity:0;visibility:hidden;transition:opacity 1.2s ease}
.intro-active .intro-backdrop{opacity:1;visibility:visible}
.intro-leaving .intro-backdrop{visibility:visible}
.intro-expanded .video-hero{height:calc(100svh - var(--header-height))}
.video-scene{position:absolute;inset:0;pointer-events:none}
.video-poster,.video-scene video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% 50%}
.video-scene video{opacity:var(--video-opacity,0)}
.home-message{width:calc(100% - 32px);text-align:center;color:var(--ink);text-shadow:0 0 0 transparent;transition:color 1.2s ease,text-shadow 1.2s ease}
.intro-active .home-message{color:var(--ink);text-shadow:0 1px 2px rgba(255,255,255,.9),0 0 8px rgba(255,255,255,.7)}
.home-message h1{font:600 36px/1.4 'Microsoft YaHei','PingFang SC','Hiragino Sans GB',sans-serif;letter-spacing:.09em;margin:0 0 10px;transition:font-size .85s ease,margin .85s ease}
.home-message p{font:400 22px/1.6 'Microsoft YaHei','PingFang SC','Hiragino Sans GB',sans-serif;letter-spacing:.045em;margin:0;transition:font-size .85s ease}
.intro-expanded .home-message h1{font-size:clamp(30px,4vw,54px);margin-bottom:17px}
.intro-expanded .home-message p{font-size:36px}
.reveal-line{display:block}
.has-js .reveal-line{opacity:0}
.has-js .reveal-line.is-visible{opacity:1}
.letter{display:inline-block;white-space:pre}
.has-js .reveal-line.is-visible .letter{opacity:0;animation:ink-arrive .48s cubic-bezier(.22,.75,.3,1) both;animation-delay:var(--delay)}
.intro-copy-ready .reveal-line{opacity:1}
.intro-copy-ready .letter{opacity:1!important;animation:none!important;filter:none;transform:none;clip-path:none}
.intro-settled .video-hero,.intro-settled .home-message,.intro-settled .home-message h1,.intro-settled .home-message p{transition:none}
.collection-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:stretch;margin-top:24px}
.collection-card{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:23px 18px 20px;border:1px solid #dce5d8;border-radius:8px;background:#f0f4eb;transition:background-color .25s,border-color .25s}
.collection-card:hover{background:#eaf1e3;border-color:#b9ccb3}
.cover-wrap{display:block;width:114px;aspect-ratio:5/7;margin-bottom:16px;box-shadow:2px 5px 10px rgba(34,55,36,.15);transition:transform .25s,box-shadow .25s}
.cover-wrap img{display:block;width:100%;height:auto;aspect-ratio:5/7;object-fit:contain}
.collection-card:hover .cover-wrap{transform:translateY(-3px);box-shadow:3px 8px 13px rgba(34,55,36,.18)}
.collection-card h2{margin:0 0 8px;font-size:19px;line-height:1.6;font-weight:500;color:#344b3b}
.collection-card h2>span{display:inline-block;white-space:nowrap}
.entry-label{font-size:13px;line-height:1.6;color:#778b6c;letter-spacing:.04em}
.entry-label>span{margin-left:9px;color:#6f8968}
.empty-cover{display:grid;place-items:center;width:114px;aspect-ratio:5/7;margin-bottom:16px;border:1px solid #cdd9c6;background:rgba(228,235,220,.25);border-radius:2px;color:#a4b49a}
.empty-cover>span{font-family:Arial,sans-serif;font-size:32px;font-weight:200;opacity:.7}
.coming-soon{background:#f4f6ef;border-style:dashed;border-color:#d6dfcf}
.coming-soon:hover{background:#f4f6ef;border-color:#d6dfcf}
.coming-soon h2{color:#8a9b80}
.coming-soon .entry-label{color:#9ba78f}
@keyframes ink-arrive{from{opacity:0;filter:blur(3px);transform:translateY(5px);clip-path:inset(25% 0 0)}to{opacity:1;filter:blur(0);transform:translateY(0);clip-path:inset(0)}}
@keyframes ink-arrive-soft{from{opacity:0}to{opacity:1}}
@media(max-width:1050px){
.collection-links{gap:20px}
.collection-card{padding:19px 12px 17px}
.collection-card h2{font-size:17px}
.cover-wrap,.empty-cover{width:100px}
}
@media(max-width:780px){
.home-stage{width:calc(100% - 32px);margin:0 auto 24px}
.video-poster,.video-scene video{object-position:64% 50%}
.home-message{width:calc(100% - 24px)}
.home-message h1{font-size:26px;letter-spacing:.055em;margin-bottom:10px}
.home-message p{font-size:16px;letter-spacing:0}
.intro-expanded .home-message h1{font-size:28px;margin-bottom:12px}
.intro-expanded .home-message p{font-size:16px}
.collection-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin-top:20px}
.collection-card{padding:14px 6px 13px;border-radius:6px}
.cover-wrap{width:88px;margin-bottom:12px}
.collection-card h2{font-size:14px;line-height:1.6;margin-bottom:6px}
.entry-label{font-size:12px}
.coming-soon{grid-column:1/-1;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:16px;min-height:66px;padding:11px 13px}
.empty-cover{width:31px;aspect-ratio:5/6;margin:0}
.empty-cover>span{font-size:22px}
.coming-copy{text-align:left}
.coming-soon h2{font-size:14px;margin:0 0 2px}
.coming-soon .entry-label{font-size:11px}
}
@media(max-width:359px){
.home-message h1{font-size:26px}
.collection-links{column-gap:12px}
.cover-wrap{width:82px}
.collection-card h2{min-height:44px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;font-size:14px;line-height:1.5}
.coming-soon h2{display:block;min-height:0}
}
@media(min-width:781px) and (max-height:700px){
.cover-wrap,.empty-cover{width:96px}
.collection-card{padding:18px 12px 16px}
.home-message h1{font-size:32px}
}
@media(prefers-reduced-motion:reduce){
.intro-backdrop,.home-message{transition-duration:.35s}
.video-hero{transition-duration:.35s}
.home-message h1,.home-message p,.cover-wrap,.collection-card{transition:none}
.has-js .reveal-line.is-visible .letter{animation-name:ink-arrive-soft;animation-duration:.25s;filter:none;transform:none;clip-path:none}
}
.intro-expanded .video-hero{height:var(--playing-hero-height,calc(100svh - var(--header-height)))}
.intro-active .video-hero{transition:none}
.intro-active .intro-backdrop,.intro-leaving .intro-backdrop{inset:auto;left:var(--playing-left,0px);top:var(--playing-top,0px);width:var(--playing-width,100%);height:var(--playing-height,100svh);border-radius:var(--playing-radius,0px)}
.video-poster,.video-scene video{object-fit:fill}
.home-message{position:relative;z-index:1}
.illustration-scene{position:absolute;inset:0;overflow:hidden;background:var(--paper);opacity:0;transition:opacity 1.5s cubic-bezier(.4,0,.2,1)}
.illustration-scene .ending-art{position:absolute;left:-6.25%;top:-11.111111%;width:112.5%;height:122.222222%;max-width:none;display:block}
.step04-crossfade .illustration-scene{opacity:1}
.final-frost{position:absolute;inset:0;background:rgba(255,255,255,.14);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .65s ease;pointer-events:none}
.step04-frosted-copy .final-frost{opacity:1}
.step04-final .video-hero{height:calc(var(--art-height) + var(--art-gap)*2);transition:none}
.step04-final .intro-backdrop{position:absolute;inset:auto;left:0;top:var(--art-gap);width:100%;height:var(--art-height);border-radius:8px;background:var(--paper);opacity:1;visibility:visible;transition:none}
.step04-final .illustration-scene{opacity:1;transition:none}
.step04-final .final-frost{opacity:1;transition:none}
.step04-final .video-scene{display:none}
.step04-final .home-message{color:var(--ink);text-shadow:0 1px 2px rgba(255,255,255,.9),0 0 8px rgba(255,255,255,.7)}
.intro-expanded .home-message h1,.step04-final .home-message h1{font-size:45px;margin-bottom:17px}
.intro-expanded .home-message p,.step04-final .home-message p{font-size:30px}
@media(max-width:780px){
.intro-expanded .home-message h1,.step04-final .home-message h1{font-size:28px;margin-bottom:12px}
.intro-expanded .home-message p,.step04-final .home-message p{font-size:16px}
.final-frost{backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
}
.final-frost{background:rgba(255,255,255,.07);transition:opacity 1.5s ease}
.single-reset .illustration-scene,.single-reset .final-frost{transition:none!important}
.intro-replay{position:absolute;right:4px;bottom:calc(var(--art-gap) + 2px);z-index:2;display:none;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#526b5a}
.intro-replay::before{content:"";position:absolute;inset:5px;border:1px solid rgba(91,117,95,.18);border-radius:50%;background:rgba(255,255,255,.55);transition:background-color .2s,border-color .2s}
.intro-replay svg{position:relative;width:17px;height:17px}
.intro-replay:hover::before{background:rgba(255,255,255,.9);border-color:rgba(91,117,95,.4)}
.step04-final .intro-replay{display:grid}

/* Keep the confirmed layout with JavaScript disabled, and account for the admin toolbar. */
:root{--intro-top-offset:0px;--art-height:min(clamp(260px,40svh,400px),max(120px,calc(100svh - var(--header-height) - var(--intro-top-offset) - 48px)))}
html:not(.has-js) .video-hero{height:calc(var(--art-height) + var(--art-gap)*2)}
html:not(.has-js) .intro-backdrop{position:absolute;inset:auto;left:0;top:var(--art-gap);width:100%;height:var(--art-height);opacity:1;visibility:visible;border-radius:8px;background:var(--paper)}
html:not(.has-js) .video-scene{display:none}html:not(.has-js) .illustration-scene,html:not(.has-js) .final-frost{opacity:1;transition:none}
html:not(.has-js) .home-message h1{font-size:45px}html:not(.has-js) .home-message p{font-size:30px}
@media(max-width:780px){:root{--art-height:min(clamp(220px,40svh,320px),max(120px,calc(100svh - var(--header-height) - var(--intro-top-offset) - 24px)))}}
@media(max-width:780px){html:not(.has-js) .home-message h1{font-size:28px}html:not(.has-js) .home-message p{font-size:16px}}

/* The opening covers the shared header; normal site chrome returns as the video shrinks. */
html.intro-active:not(.intro-content-ready),html.intro-active:not(.intro-content-ready) body{overflow:hidden}
.intro-active .intro-backdrop{z-index:30}
.intro-active .home-stage{z-index:31}
.has-js body>.kx-header,.has-js body>.kx-footer{transition:opacity .8s ease,visibility .8s}
.has-js .collection-links{transition:opacity .9s ease,transform .9s cubic-bezier(.22,.75,.3,1),visibility .9s}
.intro-active:not(.intro-content-ready) body>.kx-header,.intro-active:not(.intro-content-ready) body>.kx-footer,.intro-active:not(.intro-content-ready) .collection-links{opacity:0;visibility:hidden;pointer-events:none}
.intro-active:not(.intro-content-ready) .collection-links{transform:translateY(20px)}
.single-reset body>.kx-header,.single-reset body>.kx-footer,.single-reset .collection-links{transition:none!important}
@media(prefers-reduced-motion:reduce){.has-js body>.kx-header,.has-js body>.kx-footer,.has-js .collection-links{transition-duration:.25s}.intro-active:not(.intro-content-ready) .collection-links{transform:none}}
