/* Homepage portfolio and factory: readable cards and consistent photographic presentation. */
.site-main .home-showcase{height:auto;padding:clamp(48px,6vw,88px) 0;overflow:visible}
.site-main .works-section.home-showcase{background:#fff}
.site-main .factory-section.home-showcase{background:#f3f7fa;border-top:1px solid #e7eef3}
.site-main .home-showcase .container{width:min(100% - 64px,1240px)}
.site-main .home-showcase .works-grid,.site-main .home-showcase .factory-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:start}
.site-main .home-showcase .works-copy,.site-main .home-showcase .factory-copy{width:100%;display:flex;flex-direction:row;align-items:end;justify-content:space-between;gap:32px}
.site-main .home-showcase .section-copy-text{max-width:760px}
.site-main .home-showcase .section-copy-text h2{font-size:clamp(28px,3.2vw,42px);font-weight:700;line-height:1.35;letter-spacing:.035em;color:#062c4a}
.site-main .home-showcase .section-copy-text h2:before{content:'';display:block;width:34px;height:4px;background:#ebb53e;border-radius:4px;margin-bottom:15px}
.site-main .home-showcase .section-copy-text p{font-size:16px;line-height:1.85;letter-spacing:.015em;color:#526b7c;margin-top:14px;max-width:44em;text-wrap:pretty}
.site-main .home-showcase .works-button-art-link,.site-main .home-showcase .factory-button-art-link{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:none;width:auto;min-width:250px;min-height:52px;padding:13px 22px;margin:0;border:1px solid #062c4a;border-radius:8px;background:#062c4a;color:#fff;font-size:14px;font-weight:600;line-height:1.5;transition:background .2s,box-shadow .2s;overflow:visible}
.site-main .home-showcase .works-button-art,.site-main .home-showcase .factory-button-art{display:none}
.site-main .home-showcase .home-mobile-button-label{display:block;white-space:normal}
.site-main .home-showcase .works-button-art-link:after,.site-main .home-showcase .factory-button-art-link:after{content:'→';font-size:20px;line-height:1;flex:none}
.site-main .home-showcase a:focus-visible{outline:3px solid #ebb53e;outline-offset:5px}
.site-main .home-showcase .works-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;align-items:stretch}
.site-main .home-showcase .works-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dfe8ef;border-radius:14px;background:#fff;box-shadow:0 4px 16px #062c4a06;overflow:hidden;color:#062c4a;transition:box-shadow .22s,transform .22s}
.site-main .home-showcase .works-card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transform:none;box-shadow:none;transition:filter .22s}
.site-main .home-showcase .works-card span{display:block;font-size:14px;font-weight:600;line-height:1.7;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;margin:16px 16px 0}
.site-main .home-showcase .works-card small{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.6;color:#6a7e8e;margin:10px 16px 18px}
.site-main .home-showcase .works-card small:before{content:'';width:5px;height:5px;background:#ebb53e;border-radius:50%;flex:none}
.site-main .home-showcase .works-card:last-child{grid-column:auto;display:flex;align-items:stretch}
.site-main .home-showcase .works-card:last-child img,.site-main .home-showcase .works-card:last-child span,.site-main .home-showcase .works-card:last-child small{grid-column:auto;grid-row:auto;align-self:auto}
.site-main .home-showcase .works-card:last-child img{height:auto;aspect-ratio:4/3}
.site-main .home-showcase .factory-gallery{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.35fr);align-items:stretch;gap:24px}
.site-main .home-showcase .factory-feature{margin:0;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dde6ed;border-radius:16px;background:#062c4a;box-shadow:0 6px 24px #062c4a0a}
.site-main .home-showcase .factory-main{width:100%;max-width:none;height:0;min-height:300px;flex:1;aspect-ratio:auto;object-fit:cover;border-radius:0;object-position:center}
.site-main .home-showcase .factory-feature figcaption{padding:22px 26px;color:#fff;background:#062c4a}
.site-main .home-showcase .factory-feature figcaption span{display:block;font-size:12px;color:#b8ccd9;letter-spacing:.1em;margin-bottom:7px}
.site-main .home-showcase .factory-feature figcaption strong{display:block;font-size:22px;font-weight:600;line-height:1.5;letter-spacing:.025em}
.site-main .home-showcase .factory-equipment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.site-main .home-showcase .factory-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;color:#062c4a;border:1px solid #dde6ed;border-radius:14px;box-shadow:0 4px 16px #062c4a04}
.site-main .home-showcase .factory-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.site-main .home-showcase .factory-card div{flex:1;background:#fff;height:auto;min-height:0;padding:16px 18px 18px;margin:0}
.site-main .home-showcase .factory-card strong{display:block;font-size:16px;font-weight:700;line-height:1.55;color:#062c4a}
.site-main .home-showcase .factory-card p{font-size:13px;line-height:1.8;white-space:normal;overflow-wrap:anywhere;margin-top:7px;color:#607789}
@media(hover:hover){
.site-main .home-showcase .works-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #062c4a14}
.site-main .home-showcase .works-card:hover img{transform:none;box-shadow:none;filter:brightness(1.04)}
.site-main .home-showcase .works-button-art-link:hover,.site-main .home-showcase .factory-button-art-link:hover{background:#0b4967;box-shadow:0 5px 16px #062c4a18}
}
@media(max-width:1100px){
.site-main .home-showcase .works-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.site-main .home-showcase .works-card{grid-column:span 2}
.site-main .home-showcase .works-card:nth-child(n+4){grid-column:span 3}
.site-main .home-showcase .works-card:nth-child(n+4) img{aspect-ratio:16/9}
.site-main .home-showcase .factory-gallery{grid-template-columns:minmax(0,1fr);gap:24px}
.site-main .home-showcase .factory-main{height:auto;min-height:0;aspect-ratio:16/7;flex:none}
.site-main .home-showcase .factory-feature figcaption{padding:18px 24px}
.site-main .home-showcase .factory-equipment{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.site-main .home-showcase .factory-card div{padding:14px}
.site-main .home-showcase .factory-card strong{font-size:15px}
}
@media(max-width:800px){
.site-main .home-showcase .container{width:calc(100% - 40px)}
.site-main .home-showcase .works-copy,.site-main .home-showcase .factory-copy{flex-direction:column;align-items:start;gap:22px}
.site-main .home-showcase .factory-equipment{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.site-main .home-showcase .factory-card strong{font-size:16px}.site-main .home-showcase .factory-card p{font-size:14px}
.site-main .home-showcase .works-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.site-main .home-showcase .works-card{grid-column:auto}
.site-main .home-showcase .works-card:nth-child(4){grid-column:auto}.site-main .home-showcase .works-card:nth-child(4) img{aspect-ratio:4/3}
.site-main .home-showcase .works-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}
.site-main .home-showcase .works-card:last-child img{grid-column:1;grid-row:1/3;aspect-ratio:16/10;height:100%;object-fit:cover}
.site-main .home-showcase .works-card:last-child span{grid-column:2;align-self:end;margin-top:18px}
.site-main .home-showcase .works-card:last-child small{grid-column:2;align-self:start}
}
@media(max-width:540px){
.site-main .home-showcase{padding:44px 0}
.site-main .home-showcase .container{width:calc(100% - 36px)}
.site-main .home-showcase .works-grid,.site-main .home-showcase .factory-grid{gap:26px}
.site-main .home-showcase .section-copy-text h2{font-size:28px}
.site-main .home-showcase .section-copy-text h2:before{width:28px;margin-bottom:12px}
.site-main .home-showcase .section-copy-text p{font-size:14px;line-height:1.9;margin-top:12px}
.site-main .home-showcase .works-button-art-link,.site-main .home-showcase .factory-button-art-link{width:100%;min-width:0;padding:14px 18px;min-height:50px}
.site-main .home-showcase .works-list,.site-main .home-showcase .factory-equipment{gap:14px 12px}
.site-main .home-showcase .works-card,.site-main .home-showcase .factory-card{border-radius:12px}
.site-main .home-showcase .works-card span{font-size:13px;line-height:1.75;margin:12px 12px 0}
.site-main .home-showcase .works-card small{font-size:12px;margin:8px 12px 14px}
.site-main .home-showcase .factory-main{aspect-ratio:4/3}
.site-main .home-showcase .factory-feature figcaption{padding:18px 20px}
.site-main .home-showcase .factory-feature figcaption strong{font-size:19px}
.site-main .home-showcase .factory-card img{aspect-ratio:4/3}
.site-main .home-showcase .factory-card div{padding:14px 12px}
.site-main .home-showcase .factory-card strong{font-size:14px;line-height:1.6}
.site-main .home-showcase .factory-card p{font-size:12px;line-height:1.85}
}
@media(prefers-reduced-motion:reduce){.site-main .home-showcase a,.site-main .home-showcase img{transition:none!important}.site-main .home-showcase .works-card:hover{transform:none}}
/* Override fixed section heights from the dynamically loaded Nuxt stylesheet. */
.site-main section.home-showcase.home-showcase{height:auto;min-height:0;padding:clamp(48px,6vw,88px) 0}
.site-main .home-showcase .home-mobile-button-label{width:auto;flex:1}
.site-main .home-showcase .home-mobile-button-label:after{content:none;display:none}
.site-main .home-showcase .works-button-art-link:after,.site-main .home-showcase .factory-button-art-link:after{content:'→';display:block;position:static;width:auto;height:auto;background:none;color:inherit;transform:none}
@media(max-width:540px){.site-main section.home-showcase.home-showcase{padding:44px 0}}
.site-main section.works-section.home-showcase{height:auto!important}
@media(min-width:600px) and (max-width:800px){
.site-main .home-showcase .works-list{grid-template-columns:repeat(6,minmax(0,1fr))}
.site-main .home-showcase .works-card{grid-column:span 2}
.site-main .home-showcase .works-card:nth-child(n+4){grid-column:span 3;display:flex;align-items:stretch}
.site-main .home-showcase .works-card:nth-child(n+4) img{grid-column:auto;grid-row:auto;aspect-ratio:16/9;height:auto}
.site-main .home-showcase .works-card:last-child span,.site-main .home-showcase .works-card:last-child small{grid-column:auto;align-self:auto}
}

/* Keep the desktop overview compact without compressing mobile cards. */
@media(min-width:1001px){
.site-main section.home-showcase.home-showcase{padding:52px 0}
.site-main .home-showcase .section-copy-text h2{font-size:36px}
.site-main .home-showcase .section-copy-text h2:before{margin-bottom:10px}
.site-main .home-showcase .section-copy-text p{font-size:15px;line-height:1.7;margin-top:10px}
.site-main .home-showcase .works-grid,.site-main .home-showcase .factory-grid{gap:24px}
.site-main .home-showcase .works-list,.site-main .home-showcase .factory-equipment{gap:18px}
.site-main .home-showcase .works-card img{aspect-ratio:16/11}
.site-main .home-showcase .works-card span{margin:12px 14px 0}
.site-main .home-showcase .works-card small{margin:8px 14px 14px}
.site-main .home-showcase .factory-gallery{gap:20px}
.site-main .home-showcase .factory-main{min-height:260px}
.site-main .home-showcase .factory-feature figcaption{padding:16px 22px}
.site-main .home-showcase .factory-feature figcaption strong{font-size:20px}
.site-main .home-showcase .factory-card img{aspect-ratio:2/1}
.site-main .home-showcase .factory-card div{padding:12px 16px 14px}
.site-main .home-showcase .factory-card p{line-height:1.65;margin-top:5px}
}
@media(min-width:1001px) and (max-width:1100px){
.site-main .home-showcase .factory-main{aspect-ratio:16/6;min-height:0}
}
