/* 四段式首頁與展會相簿；限定 four-home，不改動品牌內頁。 */
.four-home { --four-ink: #082d54; --four-muted: #526c82; background: #f7fafc; }
.four-home .four-shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.four-home h2 { margin: 0; font: 700 clamp(28px, 2.5vw, 36px)/1.35 var(--upgrade-serif); color: var(--four-ink); }
.four-home h3 { color: var(--four-ink); }
.four-home p { font-size: 16px; line-height: 1.8; }
.four-home a:focus-visible, .four-home button:focus-visible, .four-home summary:focus-visible { outline: 3px solid #076ac6; outline-offset: 5px; }
.four-home :is(section,article)[id] { scroll-margin-top: 100px; }
.four-home .four-eyebrow { display: block; color: #1762a4; font-size: 12px; font-weight: 800; letter-spacing: .14em; margin-bottom: 12px; }
.four-home .four-link { display: inline-flex; align-items: center; min-height: 44px; color: #095fac; font-size: 15px; font-weight: 750; text-decoration: none; }
.four-home .four-link:hover { color: #00305e; text-decoration: underline; text-underline-offset: 6px; }
.four-home .four-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.four-home .upgrade-hero, .four-home .upgrade-hero-inner { min-height: 610px; }
.four-home .upgrade-hero-inner { padding-top: 46px; padding-bottom: 106px; }
.four-hero-values { position: absolute; bottom: 22px; left: max(32px, calc((100% - 1240px)/2)); display: flex; align-items: center; gap: 28px; color: #edf6ff; font-size: 14px; }
.four-hero-values span + span { border-left: 1px solid #7d91a2; padding-left: 28px; }
.four-home .upgrade-motion-control { bottom: 19px; }

/* 英文長句增加可用欄寬，不縮小主要內文。 */
html[lang="en"] .four-home .upgrade-hero-copy h1 { max-width: none; font-size: clamp(34px, 3.5vw, 50px); line-height: 1.16; text-wrap: balance; }
html[lang="en"] .four-preview-copy h3 { font-size: clamp(24px, 2.1vw, 28px); line-height: 1.3; }
html[lang="en"] .four-home .four-next-chapter address { font-size: 19px; line-height: 1.7; }
@media(max-width:768px) {
    html[lang="en"] .four-home .four-hero-values { flex-wrap: wrap; gap: 8px 12px; right: 16px; }
    html[lang="en"] .four-home .four-hero-values span + span { padding-left: 12px; }
    html[lang="en"] .four-home .four-preview { grid-template-columns: 1fr; }
    html[lang="en"] .four-home .four-preview-copy { padding: 18px 22px; }
    html[lang="en"] .four-bulletin a { flex-wrap: wrap; }
    html[lang="en"] .four-bulletin a > span { width: 100%; }
    html[lang="en"] .four-home .four-photo-story .four-photo-main { grid-column: 1/-1; }
    html[lang="en"] .four-home .four-photo-story :is(.four-photo-group,.four-photo-overhead) { grid-column: span 3; }
    html[lang="en"] .four-home .four-service-line p { line-height: 2; }
}

.four-technology { padding: 76px 0 60px; background: #f7fafc; }
.four-explorer { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 44px; }
.four-needs { display: grid; align-content: start; border-top: 1px solid #c5d4df; }
.four-needs :is(button,.four-more-brands) { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 66px; padding: 17px 14px; border: 0; border-bottom: 1px solid #c5d4df; color: #315571; background: transparent; cursor: pointer; text-align: left; text-decoration: none; box-sizing: border-box; }
.four-needs :is(button,.four-more-brands) > span { color: #52778f; font-size: 12px; }
.four-needs strong { font-size: 17px; font-weight: 650; line-height: 1.55; }
.four-needs i { font-style: normal; margin-left: auto; font-size: 20px; }
.four-needs button[aria-pressed="true"] { background: #082f59; color: #fff; border-left: 3px solid #ffd21c; padding-left: 11px; }
.four-needs button[aria-pressed="true"] > span { color: #ffd21c; }
.four-needs :is(button,.four-more-brands):hover:not([aria-pressed="true"]) { background: #e9f1f7; }
.four-preview { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-width: 0; min-height: 396px; background: #eaf2f8; }
.four-preview-image { height: 356px; padding: 20px; min-width: 0; }
.four-preview-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.four-preview-image img[src*="cleaner-exterior"] { mix-blend-mode: normal; }
.four-preview:has(img[src*="cleaner-exterior"]) .four-preview-image { background: #f4f4f6; }
.four-preview-copy { padding: 30px 30px 30px 14px; }
.four-preview-copy h3 { margin: 0; font: 700 28px/1.4 var(--upgrade-serif); text-wrap: balance; }
.four-preview-copy p { color: var(--four-muted); margin: 18px 0 16px; }
.four-preview-copy small { display: block; margin-top: 26px; font-size: 12px; color: #647d91; }
.four-partners { display: grid; grid-template-columns: 165px 1fr; gap: 30px; align-items: center; margin-top: 36px; padding: 25px 0; border-bottom: 1px solid #c5d4df; }
.four-rail-label span { display: block; font-size: 15px; color: var(--four-ink); font-weight: 750; }
.four-rail-label small { display: block; color: #617b90; font-size: 11px; margin-top: 8px; }
.four-logo-lineup { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); align-items: center; gap: 14px 24px; }
.four-logo-lineup a { display: flex; min-height: 44px; align-items: center; justify-content: center; }
.four-logo-lineup img { display: block; width: auto; height: auto; max-width: 100%; max-height: 34px; mix-blend-mode: multiply; }
.four-owned { display: grid; grid-template-columns: .85fr 2fr; gap: 30px; align-items: center; padding-top: 30px; }
.four-owned-label h3 { font: 700 23px/1.4 var(--upgrade-serif); margin: 0; }
.four-owned-label p { font-size: 14px; color: var(--four-muted); margin: 9px 0 0; }
.four-owned-product { display: flex; align-items: center; min-height: 132px; gap: 22px; text-decoration: none; border-left: 1px solid #c5d4df; padding-left: 24px; }
.four-owned-product img { width: 112px; height: 112px; object-fit: contain; mix-blend-mode: multiply; }
.four-owned-product img[src*="cleaner-exterior"] { width: 160px; height: 124px; mix-blend-mode: normal; }
.four-owned-product span { display: grid; gap: 8px; }
.four-owned-product small { font-size: 13px; color: var(--four-muted); }
.four-owned-product strong { font: 700 20px/1.4 var(--upgrade-serif); color: var(--four-ink); }
.four-owned-product em { font-size: 14px; font-style: normal; color: #095fac; }

.four-home .upgrade-footer { padding-top: 30px; padding-bottom: 24px; }

/* 真實展會照片版本：公告、照片與服務收斂在同一條閱讀動線。 */
.four-bulletin { background: #eef3f6; border-bottom: 1px solid #d5e0e7; }
.four-bulletin .four-shell { display: grid; grid-template-columns: 1.15fr 1fr; }
.four-bulletin a { min-height: 76px; display: flex; align-items: center; gap: 18px; color: #123955; text-decoration: none; padding: 16px 0; }
.four-bulletin a + a { border-left: 1px solid #ccd9e2; margin-left: 30px; padding-left: 30px; }
.four-bulletin span { flex-shrink: 0; font-size: 13px; color: #557184; }
.four-bulletin strong { font-size: 16px; font-weight: 650; line-height: 1.6; }
.four-bulletin i { font-style: normal; margin-left: auto; color: #1762a4; }
.four-bulletin a:hover strong { color: #095fac; }
.four-technology { padding-top: 56px; }
.four-field-notes { padding: 58px 0 34px; background: #fff; border-top: 1px solid #e1e9ef; }
.four-field-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; margin-bottom: 32px; }
.four-field-heading p { color: var(--four-muted); max-width: 35em; margin: 0 0 16px; }
.four-event-date { font-size: 14px; color: #526c82; }
.four-photo-story { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: start; }
.four-photo-story figure { grid-column: span 4; margin: 0; min-width: 0; }
.four-photo-story .four-photo-space { grid-column: span 7; }
.four-photo-story .four-photo-space:first-child { grid-column: span 5; }
.four-photo-story a { display: block; aspect-ratio: 16/9; overflow: hidden; }
.four-photo-story .four-photo-space:first-child a { aspect-ratio: 4/3; }
.four-photo-story .four-photo-space img { object-fit: contain; }
.four-photo-story img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .2s ease; }
.four-photo-story a:hover img { opacity: .86; }
.four-photo-story a { background: #edf2f6; }
.four-photo-story .four-photo-group a, .four-photo-story .four-photo-overhead a { aspect-ratio: 4/3; }
.four-album-invite { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #d5e0e7; margin-top: 26px; padding-top: 16px; }
.four-album-invite p { color: var(--four-muted); margin: 0; }
@media(max-width:768px) { .four-album-invite { display: block; } }
.four-photo-main img { object-position: 50% 40%; }
.four-photo-group img { object-position: 50% 65%; }
.four-photo-conversations img { object-position: 50% 60%; }
.four-photo-story figcaption { padding-top: 12px; color: #526c82; font-size: 14px; line-height: 1.7; }
.four-photo-story figcaption span { display: block; color: #164460; font-weight: 650; }
.four-home .four-photo-note { font-size: 14px; color: #627789; margin: 18px 0 0; }
.four-service-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #d5e0e7; margin-top: 30px; padding-top: 20px; }
.four-service-line p { color: #496477; font-size: 15px; margin: 0; }
.four-service-line p span { padding: 0 16px; color: #9cb0bf; }
.four-home .four-next-chapter { padding: 52px 0; background: #eaf1f5; }
.four-next-address { padding-left: 44px; border-left: 1px solid #bdcdd8; }
.four-next-chapter .relocation-status { margin-bottom: 4px; }
.four-home .four-next-chapter h2 { font-size: clamp(28px,2.5vw,36px); }
.four-home .four-next-chapter p { font-size: 15px; }
.four-home .four-next-chapter address { font-size: 22px; line-height: 1.7; }

@media(max-width:1000px) {
    .four-bulletin a { flex-wrap: wrap; gap: 4px 16px; }
    .four-bulletin span { width: 100%; }
    .four-photo-story { gap: 20px; }
    .four-field-heading { gap: 30px; }
    .four-service-line p span { padding: 0 6px; }
}
@media(max-width:768px) {
    .four-bulletin .four-shell { grid-template-columns: 1fr; }
    .four-bulletin a { min-height: 62px; flex-wrap: nowrap; gap: 12px; padding: 14px 0; }
    .four-bulletin a + a { margin-left: 0; padding-left: 0; border-left: 0; border-top: 1px solid #d5e0e7; }
    .four-bulletin span { width: auto; font-size: 12px; }
    .four-bulletin strong { font-size: 14px; }
    .four-field-notes { padding: 40px 0 24px; }
    .four-field-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 24px; }
    .four-photo-story { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px 12px; }
    .four-photo-story figure { grid-column: span 2; }
    .four-photo-story .four-photo-space, .four-photo-story .four-photo-space:first-child { grid-column: 1/-1; }
    .four-photo-story a { aspect-ratio: 4/3; }
    .four-photo-story .four-photo-space a { aspect-ratio: 16/9; }
    .four-photo-story figcaption { font-size: 14px; }
    .four-service-line { display: block; margin-top: 24px; padding-top: 18px; }
    .four-service-line p { font-size: 14px; }
    .four-service-line p span { padding: 0 4px; }
    .four-service-line .four-link { margin-top: 8px; }
    .four-home .four-next-chapter { padding: 34px 0; }
    .four-next-address { padding-left: 0; border-left: 0; border-top: 1px solid #bdcdd8; padding-top: 24px; }
    .four-home .four-next-chapter address { font-size: 20px; }
}
@media(prefers-reduced-motion:reduce) { .four-photo-story img { transition: none; } }

@media(max-width:1100px) {
    .four-explorer { grid-template-columns: 280px minmax(0,1fr); gap: 24px; }
    .four-preview { grid-template-columns: 1fr 1fr; }
    .four-preview-copy { padding-right: 20px; }
    .four-preview-copy h3 { font-size: 24px; }
    .four-owned { gap: 20px; }
    .four-owned-product { gap: 12px; padding-left: 16px; }
    .four-owned-product img { width: 80px; height: 100px; }
}
@media(max-width:768px) {
    .four-home .four-shell { width: calc(100% - 32px); }
    .four-home .upgrade-hero, .four-home .upgrade-hero-inner { min-height: 600px; }
    .four-home .upgrade-hero-inner { padding-top: 60px; padding-bottom: 75px; }
    .four-hero-values { left: 20px; bottom: 23px; gap: 16px; font-size: 12px; }
    .four-hero-values span + span { padding-left: 16px; }
    .four-home .upgrade-motion-control { top: 18px; bottom: auto; }
    .four-technology { padding: 44px 0; }
    .four-home .four-heading { align-items: start; flex-direction: column; gap: 6px; margin-bottom: 22px; }
    .four-home h2 { font-size: 28px; }
    .four-explorer { grid-template-columns: 1fr; gap: 20px; }
    .four-needs { grid-template-columns: repeat(2,minmax(0,1fr)); border-left: 1px solid #c5d4df; }
    .four-needs :is(button,.four-more-brands) { min-height: 75px; gap: 8px; padding: 12px; border-right: 1px solid #c5d4df; }
    .four-needs strong { font-size: 15px; }
    .four-needs i { display: none; }
    .four-needs button[aria-pressed="true"] { padding-left: 9px; }
    .four-preview { grid-template-columns: 1fr 1fr; min-height: 290px; }
    .four-preview-image { height: 255px; padding: 12px; }
    .four-preview-copy { padding: 20px 16px 20px 0; }
    .four-preview-copy h3 { font-size: 23px; }
    .four-preview:has(img[src*="cleaner-exterior"]) { grid-template-columns: 1fr; }
    .four-preview:has(img[src*="cleaner-exterior"]) .four-preview-image { height: 250px; }
    .four-preview:has(img[src*="cleaner-exterior"]) .four-preview-copy { padding: 18px 22px; }
    .four-preview-copy p { font-size: 15px; margin: 12px 0 8px; }
    .four-preview-copy .four-link { font-size: 14px; }
    .four-preview-copy small { margin-top: 12px; }
    .four-partners { grid-template-columns: 1fr; gap: 18px; padding-top: 0; margin-top: 28px; }
    .four-rail-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .four-rail-label small { margin: 0; font-size: 10px; }
    .four-logo-lineup { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px 18px; }
    .four-logo-lineup img { max-height: 30px; }
    .four-owned { grid-template-columns: 1fr; gap: 16px; padding-top: 22px; }
    .four-owned-label { grid-column: 1/-1; }
    .four-owned-label h3 { font-size: 22px; }
    .four-owned-label p { margin-top: 6px; }
    .four-owned-product { flex-direction: row; align-items: center; padding: 0; border: 0; gap: 22px; }
    .four-owned-product img { width: 130px; height: 120px; }
    .four-owned-product strong { font-size: 19px; }
}
