/* A focused client-facing entrance. Artwork stays uncropped. */
.page-entrance{background:#f6f5e8;isolation:isolate}
.page-entrance .site-header{background:#fffcf5ed;backdrop-filter:blur(16px);border-bottom-color:#fff9}
.entrance-backdrop{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden;background:#e4eddc}
.entrance-backdrop img{width:100%;height:100%;object-fit:cover;filter:blur(18px) saturate(.85);opacity:.46;transform:scale(1.08)}
.entrance-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,#e9f2e03b,#fffcf59c 48%,#fff8ead4)}
.entrance-main{width:min(1490px,calc(100% - 80px));margin:auto;padding:30px 0 35px}
.welcome{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(610px,1.15fr);gap:24px clamp(28px,3.2vw,54px);align-items:start}
.art-column{grid-column:1;grid-row:1/3;position:sticky;top:116px;max-width:min(530px,calc((100svh - 300px)*.75));width:100%;justify-self:center}
.art-heading{display:flex;align-items:center;justify-content:space-between;padding:0 12px 12px;font:700 11px/1.5 Arial,sans-serif;letter-spacing:.2em}
.art-heading>span:last-child{font-size:27px;color:var(--orange);line-height:1}
.mobile-map-jump{display:none}
.scene-postcard{padding:9px 9px 0;background:#fffefa;border-radius:16px;box-shadow:0 18px 45px #36523c20;transform:rotate(-1.3deg);border:1px solid #fff;transition:transform .4s}
.scene-window{aspect-ratio:3/4;position:relative;isolation:isolate;overflow:hidden;border-radius:9px;background:#f1ebdc}
.scene-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .42s ease;z-index:1}
.scene-image.is-visible{opacity:1}
.scene-halo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(25px);opacity:.24}
.scene-postcard figcaption{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:53px;padding:11px 10px;font-size:14px;font-weight:700;line-height:1.6}
.scene-postcard figcaption>span:last-child{font-size:27px;color:var(--orange-bright);flex-shrink:0}
.scene-selector{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:22px}
.scene-selector>span{font:10px/1.5 Arial,sans-serif;letter-spacing:.12em;margin-right:5px;max-width:80px}
.scene-selector button{padding:3px;width:40px;height:50px;border:2px solid transparent;border-radius:8px;background:#fff9;transition:transform .2s,border-color .2s}
.scene-selector button img{width:100%;height:100%;object-fit:contain;border-radius:3px}
.scene-selector button[aria-pressed=true]{border-color:var(--orange)}
.scene-selector button:hover{transform:translateY(-3px)}
.welcome-panel{grid-column:2;padding:28px 28px 20px;background:#fffcf5d9;border:1px solid #ffffffde;border-radius:24px;backdrop-filter:blur(15px);box-shadow:0 18px 50px #2447460b;min-width:0}
.welcome-heading .eyebrow{font-size:10px;letter-spacing:.2em;color:var(--orange)}
.welcome-heading h1{display:flex;align-items:baseline;gap:0;font:800 clamp(42px,4.5vw,65px)/1.22 Arial,sans-serif;letter-spacing:-3px;margin-top:3px}
.welcome-heading h1>span{color:var(--orange-bright)}
.welcome-heading h1>small{font:12px/1.7 var(--sans);letter-spacing:.08em;margin-left:18px}
.welcome-lead{font-size:clamp(17px,1.45vw,22px);font-weight:800;margin-top:9px;line-height:1.7;letter-spacing:-.03em}
.welcome-lead>span{color:var(--orange)}
.welcome-description{font-size:13px;color:#526960;line-height:1.85;margin-top:9px}
.map-label{margin-top:24px;margin-bottom:13px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.map-label h2{font:700 10px/1.7 Arial,var(--sans);letter-spacing:.12em;white-space:nowrap}
.map-label h2>span{font:700 12px/1.7 var(--sans);letter-spacing:0;margin-left:12px}
.hover-hint{font-size:10px;color:#657666}
.picture-map{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.picture-link{display:flex;position:relative;align-items:center;gap:12px;padding:7px 20px 7px 7px;background:#fffffff0;border:1px solid #dddccf;border-radius:12px;min-width:0;transition:transform .24s,box-shadow .24s,border-color .24s,background .24s}
.picture-link:hover,.picture-link:focus-visible{transform:translateY(-3px);border-color:#e7a17d;box-shadow:0 6px 15px #81572e13;background:#fff9eb}
.picture-link.is-previewed{border-color:#d87852;background:#fff9eb}
.picture-thumb{display:block;position:relative;width:65px;height:86px;flex:0 0 65px;background:#eee9dc;border-radius:6px;overflow:hidden}
.picture-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;visibility:hidden;transition:opacity .24s}
.picture-thumb .picture-primary{opacity:1;visibility:visible}
/* Hide the outgoing artwork, including the space around a different aspect ratio. */
.picture-link:focus-visible .picture-primary{opacity:0;visibility:hidden}
.picture-link:focus-visible .picture-alternate{opacity:1;visibility:visible}
@media(hover:hover){.picture-link:hover .picture-primary{opacity:0;visibility:hidden}.picture-link:hover .picture-alternate{opacity:1;visibility:visible}}
.picture-copy{min-width:0;display:block}
.picture-kicker{display:block;font:8px/1.7 Arial,sans-serif;letter-spacing:.045em;color:#617568;margin-bottom:4px}
.picture-copy h2{font-size:14px;font-weight:800;line-height:1.5;letter-spacing:-.025em}
.picture-description{display:block;font-size:10px;line-height:1.7;color:#63756b;margin-top:4px}
.picture-arrow{position:absolute;right:7px;top:7px;font:17px/1 Arial,sans-serif;color:var(--orange);transition:transform .24s}
.picture-link:hover .picture-arrow{transform:translate(2px,-2px)}
.picture-contact{background:#fff0d6;border-color:#e7cd9f}
.picture-contact{border-color:#a7c8bb;background:#e9f3ec}
.welcome-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:20px}
.welcome-actions .button{font-size:13px;padding:12px 20px;min-height:48px}
.welcome-actions .text-link{font-size:12px;min-height:44px}
.welcome-proof{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:17px;padding-top:13px;border-top:1px solid #deded2;font-size:10px;color:#536b60}
.welcome-proof strong{color:var(--ink);font-size:13px}
.welcome-proof a:hover{text-decoration:underline;text-underline-offset:4px}
.page-entrance .site-footer{grid-column:2;position:relative;background:#fffaf0ba;border:1px solid #fff9;border-radius:20px;padding:18px 25px 14px;width:100%;margin:0;backdrop-filter:blur(15px)}
.page-entrance .footer-top{padding-bottom:12px}.page-entrance .footer-bottom{padding-top:12px}.page-entrance .site-footer .brand{font-size:27px}
@media(min-width:1450px) and (min-height:880px){.welcome-panel{padding:25px 30px}.picture-thumb{width:64px;flex-basis:64px;height:84px}.picture-copy h2{font-size:15px}.picture-description{font-size:11px}}
@media(min-width:1101px) and (max-height:860px){.art-column{max-width:min(425px,calc((100svh - 260px)*.75))}.art-heading{padding-bottom:8px}.scene-selector{margin-top:14px}.welcome-panel{padding-top:22px}.welcome-heading h1{font-size:52px}.welcome-description{font-size:12px}.map-label{margin-top:18px}.picture-thumb{height:70px;width:53px;flex-basis:53px}}
@media(max-width:1200px){.entrance-main{width:calc(100% - 48px)}.welcome{grid-template-columns:minmax(280px,.7fr) minmax(550px,1.2fr);gap:24px}.welcome-panel{padding:22px}.picture-link{gap:8px}.picture-thumb{width:54px;flex-basis:54px;height:76px}.picture-copy h2{font-size:13px}.hover-hint{display:none}}
@media(max-width:1000px){.welcome{grid-template-columns:minmax(220px,.65fr) minmax(420px,1.2fr);gap:20px}.welcome-panel{padding:20px}.picture-map{grid-template-columns:1fr}.picture-thumb{width:58px;flex-basis:58px;height:72px}.picture-copy h2{font-size:15px}.picture-kicker{font-size:9px}.picture-description{font-size:12px}.art-column{top:106px}.welcome-lead>span{display:block}.welcome-proof{gap:8px;flex-direction:column}}
@media(max-width:740px){.entrance-main{width:calc(100% - 32px);padding-top:18px}.welcome{display:flex;flex-direction:column;gap:24px}.art-column{position:relative;top:auto;max-width:365px;width:calc(100% - 20px)}.art-heading{font-size:10px}.scene-window{aspect-ratio:3/4}.scene-selector{margin-top:16px}.scene-postcard figcaption{font-size:12px;min-height:48px}.welcome-panel{width:100%;padding:25px 18px 20px}.welcome-heading h1{font-size:53px}.welcome-lead{font-size:20px}.welcome-lead>span{display:inline}.welcome-description{font-size:13px}.picture-map{grid-template-columns:1fr}.picture-thumb{width:73px;flex-basis:73px;height:90px}.picture-link{gap:16px}.picture-copy h2{font-size:16px}.picture-kicker{font-size:9px}.picture-description{font-size:12px}.map-label{margin-top:24px}.map-label h2>span{font-size:12px}.welcome-proof{flex-direction:row;gap:8px 15px}.page-entrance .site-footer{width:calc(100% - 32px);padding:22px 18px}.art-heading:before{content:"ようこそ、moframeへ。";font:700 15px/1.7 var(--sans);letter-spacing:0}.art-heading>span:first-child{display:none}}
@media(hover:none){.hover-hint{display:none}.picture-link:hover{transform:none}}
@media(max-width:740px){.mobile-map-jump{display:block;font:700 11px/1.7 var(--sans);letter-spacing:0;border-bottom:1px solid currentColor}.art-heading>span:last-child{display:none}.welcome-heading h1{font-size:clamp(32px,11vw,45px)}.welcome-heading h1>small{font-size:11px;white-space:nowrap;margin-left:12px;flex-shrink:0}.page-entrance .site-footer{width:100%}}
@media(prefers-reduced-motion:reduce){.scene-image,.scene-postcard,.picture-link,.picture-thumb img,.picture-arrow,.scene-selector button{transition:none}}
@media(max-width:740px){.welcome-panel{order:-1}.welcome-actions{gap:8px 16px}.welcome-actions .button{width:100%;justify-content:center}.welcome-actions .text-link{margin:auto}.welcome-description{font-size:14px}.art-column{max-width:280px}.page-entrance .site-footer{order:2}}
/* A landscape showreel leads the entrance; browsing stays one tap away. */
.welcome{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:start}
.showreel-column{max-width:none;grid-row:1;top:116px}
.showreel{overflow:hidden;background:#fffcf5;border:1px solid #ffffffd9;border-radius:18px;box-shadow:0 18px 45px #24474618}
.showreel-screen{aspect-ratio:16/9;background:#152d2c;overflow:hidden}
.showreel-screen video{display:block;width:100%;height:100%;object-fit:contain}
.showreel-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 8px}
.showreel-caption .eyebrow{font-size:10px;color:var(--orange);letter-spacing:.15em}
.showreel-caption p{font-size:14px;font-weight:700;line-height:1.6;margin-top:6px}
.showreel-duration{font:12px/1.5 Arial,sans-serif;color:#526960}
.showreel-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 20px 18px}
.showreel-controls button{border:1px solid #b5c6bf;border-radius:24px;background:#fff;padding:10px 16px;min-height:44px;font-size:12px;font-weight:700;color:var(--ink)}
.showreel-controls button:hover{background:#e8f2ed}.showreel-controls button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.showreel-controls [data-reel-status]{font-size:11px;color:#526960;margin-left:auto}
.page-entrance .site-footer{grid-column:1/-1}
.showreel-explore{display:none}
@media(min-width:741px) and (max-width:1100px){.welcome{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.showreel-column{max-width:none}}
@media(max-width:740px){.welcome{gap:18px}.welcome-panel{display:contents}.welcome-heading{order:0;padding:8px 5px 0}.showreel-column{order:1;position:static;max-width:none;width:100%}.map-label{order:2;margin:8px 0 -5px}.picture-map{order:3;width:100%}.welcome-proof{order:4;width:100%;margin-top:0}.page-entrance .site-footer{order:5}.showreel-caption{padding:14px 14px 5px}.showreel-caption p{font-size:13px}.showreel-controls{padding:8px 14px 14px}.showreel-controls button{padding:9px 13px}.welcome-heading .welcome-description{font-size:13px}.welcome-heading h1{font-size:37px}}
/* Desktop: let the film lead, sized to both viewport dimensions without cropping. */
@media(min-width:741px){
 .entrance-main{width:100%;padding:0 0 35px}
 .welcome{grid-template-columns:minmax(0,1fr);gap:32px}
 .showreel-column{grid-column:1;grid-row:auto;position:static;max-width:none;width:100%}
 .showreel{display:grid;grid-template-columns:minmax(0,1fr) auto;border:0;border-radius:0;box-shadow:none}
 .showreel-screen{grid-column:1/-1;aspect-ratio:auto;height:min(56.25vw,calc(100svh - 232px));background:#0e1516}
 .showreel-caption{padding:14px clamp(24px,3vw,56px);gap:24px;min-width:0}
 .showreel-caption p{margin-top:4px}
 .showreel-duration{font-variant-numeric:tabular-nums;white-space:nowrap}
 .showreel-controls{padding:14px clamp(24px,3vw,56px) 14px 0;gap:10px}
 .showreel-explore{display:flex;align-items:center;justify-content:center;gap:16px;min-height:48px;font-size:12px;font-weight:700;background:#fffcf5d9;border-top:1px solid var(--line)}
 .showreel-explore:hover{color:var(--orange)}
 .showreel-explore:focus-visible{outline:2px solid var(--orange);outline-offset:-4px}
 .welcome-panel{grid-column:1;grid-row:auto;width:min(1180px,calc(100% - 64px));margin:0 auto;padding:32px}
 .picture-map{grid-template-columns:1fr 1fr}
 .welcome-proof{flex-direction:row;gap:10px 24px}
 .page-entrance .site-footer{width:min(1180px,calc(100% - 64px));margin:0 auto}
}
