/* Split-tone equipment showcase, scoped to the domestic homepage. */
.cn-home .model-panel { grid-template-columns: 1.1fr 1fr; align-items: stretch; border: 1px solid #dde7eb; border-radius: 12px; background: #f3f7f8; }
.cn-home .model-photo { display: flex; align-items: center; justify-content: center; min-height: 430px; padding: 26px 12px; overflow: hidden; background: radial-gradient(ellipse at 48% 48%,#2b5968 0%,#183e50 48%,#123447 100%); }
.cn-home .model-photo::after { content: ''; position: absolute; inset: auto 8% 9%; height: 1px; background: linear-gradient(90deg,transparent,#8eb9c336,transparent); pointer-events: none; }
.cn-home .model-photo img { display: block; height: 330px; object-fit: contain; filter: drop-shadow(0 20px 18px #04192366); }
.cn-home .model-photo img:is([src*="hgf-300-p-"],[src*="hgf-300-j-"]) { transform: scale(1.15); }
.cn-home .model-watermark { color: #e2f8fa; opacity: .055; font-size: clamp(130px,14vw,190px); top: 34px; left: 24px; }
.cn-home .model-copy { padding: 42px 34px; align-self: center; }
@media(max-width:1150px) {
  .cn-home .model-panel { grid-template-columns: 1fr 1fr; }
  .cn-home .model-copy { padding: 32px 26px; }
  .cn-home .model-photo { min-height: 410px; }
  .cn-home .model-photo img { height: 300px; }
}
@media(max-width:700px) {
  .cn-home .model-panel { grid-template-columns: 1fr; }
  .cn-home .model-photo { min-height: 250px; padding: 12px; }
  .cn-home .model-photo img { height: 235px; }
  .cn-home .model-watermark { top: 18px; font-size: 125px; }
  .cn-home .model-copy { padding: 27px 24px 30px; }
}
@media(max-width:360px) {
  .cn-home .model-photo { min-height: 220px; }
  .cn-home .model-photo img { height: 200px; }
  .cn-home .model-copy { padding-inline: 20px; }
}

/* Case choices should read as a visible, usable selector. */
.cn-home #cases .case-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; border:0; margin-bottom:28px; }
.cn-home #cases .case-tabs button { display:flex; align-items:center; justify-content:center; gap:14px; min-width:0; min-height:82px; margin:0; padding:20px 16px; border:0; border-radius:6px; background:#e5eef2; color:#254657; font-size:22px; font-weight:600; line-height:1.4; letter-spacing:0; white-space:normal; cursor:pointer; transition:background .18s,color .18s; }
.cn-home #cases .case-tabs button>span:last-child { text-wrap:balance; }
.cn-home #cases .case-tabs .case-tab-number { font-size:13px; font-weight:500; opacity:.75; }
.cn-home #cases .case-tabs button:hover { background:#d1e8e7; color:#123447; }
.cn-home #cases .case-tabs button[aria-selected=true] { background:#123447; color:#fff; }
.cn-home #cases .case-tabs button:focus-visible { outline:3px solid #1567c9; outline-offset:4px; }
@media(max-width:700px) {
  .cn-home #cases .case-tabs { gap:8px; margin-bottom:20px; }
  .cn-home #cases .case-tabs button { min-height:76px; padding:14px 10px; font-size:18px; }
  .cn-home #cases .case-tabs .case-tab-number { display:none; }
}
@media(max-width:360px) { .cn-home #cases .case-tabs button { font-size:16px; padding-inline:8px; } }
@media(prefers-reduced-motion:reduce) { .cn-home #cases .case-tabs button { transition:none; } }

/* K: trim only transparent vertical margins; halve the existing container padding. */
.cn-home .model-panel[aria-labelledby="model-tab-k"] .model-photo { padding:13px 6px; }
.cn-home .model-photo img[src*="hgf-300-k-"] { height:auto; aspect-ratio:1920 / 805; object-fit:cover; object-position:50% 62.9%; transform:none; }
@media(max-width:700px) { .cn-home .model-panel[aria-labelledby="model-tab-k"] .model-photo { padding:6px; } }

/* Coordinated machine selection: one continuous indicator and a bounded crossfade. */
.cn-home .model-tabs { position:relative; }
.cn-home .model-tabs.has-motion-indicator button::after { display:none; }
.cn-home .model-tab-indicator { position:absolute; bottom:-1px; left:0; height:3px; background:var(--teal); pointer-events:none; }
.cn-home .model-visual { position:relative; width:100%; min-width:0; display:flex; align-items:center; justify-content:center; }
.cn-home .model-visual-ghost { position:absolute; pointer-events:none; }
.cn-home .model-tabs button:focus-visible { outline:3px solid var(--blue); outline-offset:-3px; }
@media(max-width:700px) { .cn-home .model-photo { overflow:hidden; } }

/* Case stories keep a shared height, including on phones. Hidden panels reserve space only. */
.cn-home .case-story-stage { display:grid; isolation:isolate; }
.cn-home .case-story-stage > .case-panel { grid-area:1 / 1; min-width:0; align-self:stretch; }
.cn-home .case-story-stage > .case-panel[hidden] { display:grid !important; visibility:hidden; pointer-events:none; }
.cn-home .case-story-stage > .case-panel:not([hidden]) { visibility:visible; }
.cn-home .case-story-stage .case-image { overflow:hidden; }
.cn-home .case-story-stage .case-image > span { z-index:2; }
.cn-home .case-story-stage .case-image-outgoing { pointer-events:none; z-index:0; }
