/* Shared frontend: Figma Desktop 1920px / Phone 440px, audited 2026-10-09. */
.home-redesign {
    --home-navy: #163264;
    --home-card: #f5f5f7;
    --home-text: #50514d;
    --theme-color: #163264;
    background: #fff;
    color: var(--home-text);
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    letter-spacing: .06em;
}
.home-redesign .preloader { background-color: var(--home-navy); }
.home-redesign h1, .home-redesign h2, .home-redesign h3 {
    font-family: inherit;
    letter-spacing: .04em;
}
.home-redesign a { text-decoration: none; }
.home-redesign a, .home-redesign button { transition: color .2s, background-color .2s, border-color .2s, opacity .2s; }
.home-redesign a:focus-visible, .home-redesign button:focus-visible,
.home-redesign summary:focus-visible, .home-service-track:focus-visible {
    outline: 3px solid #8eaddb;
    outline-offset: 5px;
}
.home-container { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
html { scroll-padding-top: var(--home-header-scroll-offset, 0px); }
.home-header-spacer { height: var(--home-header-height, 82px); }
.home-header { font-family: "PingFang TC", "Microsoft JhengHei", sans-serif; background: var(--home-navy); position: relative; z-index: 20; }
.home-header.is-fixed {
    position: fixed;
    inset: 0 0 auto;
    z-index: 90;
    box-shadow: 0 6px 24px rgba(2, 21, 38, .18);
    animation: home-header-enter .55s cubic-bezier(.25, .1, .25, 1);
}
@keyframes home-header-enter {
    from { transform: translateY(-16px); opacity: 0; box-shadow: 0 6px 24px rgba(2, 21, 38, 0); }
    to { transform: translateY(0); opacity: 1; box-shadow: 0 6px 24px rgba(2, 21, 38, .18); }
}
.home-header-inner {
    width: min(1440px, calc(100% - 96px));
    min-height: 82px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}
.home-brand { display: inline-flex; align-items: center; gap: 18px; color: #fff; flex-shrink: 0; }
.home-brand:hover { color: #fff; }
.home-brand span { font-size: 30px; line-height: 1.4; font-weight: 400; letter-spacing: .08em; }
.home-brand-mark { width: 30px; height: 33px; flex-shrink: 0; object-fit: contain; }
.home-brand-custom { max-width: 330px; max-height: 58px; object-fit: contain; }
.home-desktop-nav { display: flex; align-items: center; gap: 32px; }
.home-desktop-nav a { color: #e3e8f1; font-size: 16px; white-space: nowrap; padding-block: 28px; }
.home-desktop-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 7px; }
.home-mobile-menu { display: none; }
.home-skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: #fff; color: var(--home-navy); }
.home-skip-link:focus { top: 12px; }
.home-banner { position: relative; height: 540px; margin-top: -82px; }
.home-banner picture { display: block; height: 100%; }
.home-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-banner::after { content: ""; position: absolute; inset: 0; background: rgba(2, 21, 38, .4); pointer-events: none; }
.home-section { padding-block: 120px; }
.home-section-heading { text-align: center; margin-bottom: 56px; }
.home-eyebrow { margin: 0 0 20px; color: var(--home-navy); font-size: 20px; font-weight: 600; line-height: 30px; }
.home-section-heading h2 { margin: 0; color: var(--home-text); font-size: 36px; font-weight: 700; line-height: 1.5; }
.home-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-article-card { display: flex; flex-direction: column; min-height: 360px; padding: 48px 32px 32px; border-radius: 30px; background: var(--home-card); }
.home-article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 22px; color: #70706f; font-size: 14px; line-height: 1.6; letter-spacing: .04em; }
.home-article-meta span + time { border-left: 1px solid #cdced3; padding-left: 18px; }
.home-article-meta i { color: var(--home-navy); margin-right: 6px; }
.home-article-card h3 { font-size: 28px; line-height: 1.5; font-weight: 600; margin: 0 0 36px; overflow-wrap: anywhere; }
.home-article-card h3 a { color: var(--home-navy); }
.home-article-card h3 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.home-read-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 24px; margin-top: auto; border-radius: 99px; color: var(--home-navy); background: #fff; font-size: 16px; transition: background .2s, color .2s; }
.home-read-more:hover { background: var(--home-navy); color: #fff; }
.home-read-more i { font-size: 20px; }
.home-service-carousel { position: relative; }
.home-service-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 28px; }
.home-service-track::-webkit-scrollbar { display: none; }
.home-service-card { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; min-height: 272px; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 44px 32px; border-radius: 28px; background: var(--home-card); scroll-snap-align: start; color: var(--home-navy); }
.home-service-card img { position: absolute; z-index: -1; width: 130px; height: 130px; right: 20px; top: 38px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.home-service-card img.home-service-union { width: var(--union-width); height: var(--union-height); right: 50px; top: 40px; filter: none; opacity: 1; pointer-events: none; }
.home-service-card h3 { margin: 0 0 28px; color: var(--home-navy); font-size: 28px; font-weight: 600; line-height: 1.5; text-wrap: balance; }
.home-service-card p { color: #686966; font-size: 16px; line-height: 1.8; margin: 0; }
.home-service-card:hover { background: #ebeff5; }
.home-service-track .home-service-card:focus-visible { outline-offset: -5px; }
.home-service-controls button { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--home-navy); font-size: 30px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; }
.home-service-controls button:disabled { opacity: .35; cursor: default; }
.home-service-prev { left: -88px; }
.home-service-next { right: -88px; }
.home-client-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 24px; }
.home-client-logo { min-width: 0; min-height: 132px; display: grid; place-items: center; }
.home-client-logo img { width: 110px; height: 100px; object-fit: contain; }
.home-clients .home-section-heading { margin-bottom: 50px; }
.home-empty { grid-column: 1 / -1; width: 100%; padding: 40px 20px; text-align: center; background: var(--home-card); border-radius: 24px; }
.home-footer { background: var(--home-navy); color: #c2cada; padding: 112px 0 72px; }
.home-footer-grid { display: grid; grid-template-columns: 2.1fr .8fr 1.2fr 1.7fr; }
.home-footer-grid > * { min-width: 0; padding-inline: 54px; border-left: 1px solid #8391aa; }
.home-footer-grid > :first-child { padding-left: 0; border-left: 0; }
.home-footer-grid > :last-child { padding-right: 0; }
.home-footer .home-brand { gap: 16px; margin-bottom: 24px; }
.home-footer .home-brand span { font-size: 28px; }
.home-footer .home-brand-mark { width: 30px; height: 33px; }
.home-footer p, .home-footer li { color: inherit; font-size: 16px; line-height: 1.9; margin: 0; }
.home-footer h2, .home-footer h3 { color: #fff; font-size: 20px; line-height: 1.5; font-weight: 500; }
.home-footer h2 { margin-bottom: 20px; }
.home-footer h3 { margin: 22px 0 4px; }
.home-footer a { color: #e1e6ee; }
.home-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.home-footer ul { list-style: none; padding: 0; margin: 0; }
.home-footer li + li { margin-top: 10px; }
.home-footer-contact { overflow-wrap: anywhere; }
.home-socials { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.home-socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--home-navy); font-size: 28px; }
.home-socials img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.home-socials a:hover { background: #dce6f6; color: var(--home-navy); text-decoration: none; }
.home-copyright { margin-top: 48px; padding-top: 26px; border-top: 1px solid #8391aa; text-align: center; font-size: 14px; line-height: 1.8; }
.home-footer-legal { margin-top: 6px; font-size: 12px; }
@media (max-width: 1550px) {
    .home-brand span { font-size: 25px; }
    .home-desktop-nav { gap: 22px; }
    .home-service-prev { left: -46px; }
    .home-service-next { right: -46px; }
    .home-footer-grid > * { padding-inline: 28px; }
    .home-footer .home-brand span { font-size: 23px; }
}
@media (max-width: 1199px) {
    .home-header-inner { min-height: 76px; }
    .home-desktop-nav { gap: 16px; }
    .home-desktop-nav a { font-size: 14px; padding-block: 25px; }
    .home-brand span { font-size: 22px; }
    .home-brand { gap: 10px; }
    .home-brand-mark { width: 30px; height: 33px; }
    .home-section { padding-block: 80px; }
    .home-article-card { padding: 30px 24px; min-height: 330px; }
    .home-article-card h3 { font-size: 24px; }
    .home-service-card { flex-basis: calc((100% - 48px) / 3); padding: 32px 24px; }
    .home-service-card h3 { font-size: 24px; }
    .home-footer-grid { grid-template-columns: 1.4fr 1fr; gap: 44px 0; }
    .home-footer-grid > :nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 991px) {
    .home-container, .home-header-inner { width: calc(100% - 64px); }
    .home-desktop-nav { display: none; }
    .home-mobile-menu { display: block; }
    .home-mobile-menu summary { width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; list-style: none; border: 1px solid #6c809f; border-radius: 8px; }
    .home-mobile-menu summary::-webkit-details-marker { display: none; }
    .home-mobile-menu summary span { width: 22px; height: 2px; background: #fff; }
    .home-mobile-menu[open] summary { background: #304e7a; }
    .home-mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--home-header-height, 82px)); overflow-y: auto; overscroll-behavior: contain; padding: 16px 32px 24px; background: var(--home-navy); box-shadow: 0 14px 20px #19366326; display: grid; grid-template-columns: 1fr 1fr; }
    .home-mobile-menu nav a { color: #fff; padding: 14px 12px; border-radius: 6px; }
    .home-mobile-menu nav a:hover { background: #304e7a; }
    .home-banner { margin-top: -76px; }
    .home-section-heading h2 { font-size: 30px; }
    .home-article-grid { gap: 16px; }
    .home-article-card { padding: 28px 20px; }
    .home-article-meta { font-size: 12px; }
    .home-article-meta span + time { border-left: 0; padding-left: 0; }
    .home-article-card h3 { font-size: 22px; }
    .home-read-more { font-size: 14px; padding: 10px 18px; }
    .home-service-card { flex-basis: calc((100% - 24px) / 2); }
    .home-service-controls { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
    .home-service-controls[hidden] { display: none; }
    .home-service-controls button { position: static; transform: none; }
    .home-client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .home-footer { padding: 64px 0 40px; }
}
@media (max-width: 575px) {
    .home-container, .home-header-inner { width: calc(100% - 40px); }
    .home-header-inner { min-height: 72px; gap: 12px; }
    .home-brand span { font-size: 19px; letter-spacing: .02em; }
    .home-brand-mark { width: 26px; height: 28.6px; }
    .home-brand-custom { max-width: 230px; max-height: 48px; }

    .home-section { padding-block: 56px; }
    .home-section-heading { margin-bottom: 32px; }
    .home-eyebrow { font-size: 15px; margin-bottom: 12px; }
    .home-section-heading h2 { font-size: 26px; line-height: 1.5; text-wrap: balance; }
    .home-article-grid { grid-template-columns: 1fr; gap: 20px; }
    .home-article-card { padding: 30px 26px 26px; min-height: 280px; border-radius: 24px; }
    .home-article-meta { font-size: 12px; gap: 12px; margin-bottom: 20px; }
    .home-article-meta span + time { border-left: 1px solid #cdced3; padding-left: 12px; }
    .home-article-card h3 { font-size: 24px; margin-bottom: 28px; }
    .home-service-track { gap: 16px; }
    .home-service-card { flex-basis: 88%; min-height: 260px; border-radius: 24px; padding: 36px 28px; }
    .home-service-card h3 { font-size: 26px; }
    .home-client-grid { gap: 16px 8px; }
    .home-client-logo { min-height: 90px; }
    .home-client-logo img { width: 88px; height: 88px; max-width: 100%; }
    .home-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .home-footer-grid > * { padding: 0; border: 0; }
    .home-footer-brand, .home-footer-contact { grid-column: 1 / -1; }
    .home-footer .home-brand span { font-size: 23px; }
    .home-footer p, .home-footer li { font-size: 14px; }
    .home-footer li a { display: inline-block; padding-block: 6px; }
    .home-footer li + li { margin-top: 2px; }
    .home-footer h2, .home-footer h3 { font-size: 18px; }
    .home-copyright { font-size: 12px; line-height: 2; margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-redesign *, .home-redesign *::before, .home-redesign *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (min-width: 1200px) {
    .home-clients .home-section-heading h2 { font-size: 40px; line-height: 1.6; letter-spacing: .05em; color: #4b4a48; }
}

/* The phone frame includes a 60px OS status bar; the webpage starts at its 82px header. */
@media (max-width: 767px) {
    .home-container, .home-header-inner { width: calc(100% - 48px); }
    .home-header-inner { min-height: 82px; gap: 12px; }
    .home-header .home-brand { gap: 24px; }
    .home-header .home-brand span { font-size: 30px; line-height: 1.4; letter-spacing: .08em; }
    .home-header .home-brand-mark { width: 30px; height: 33px; }
    .home-mobile-menu summary { width: 32px; height: 32px; gap: 4px; border-radius: 50%; border-color: #c2cada; }
    .home-mobile-menu summary span { width: 17px; height: 1px; }
    .home-banner { height: 360px; margin-top: -82px; }
    .home-section { padding-block: 80px; }
    .home-section-heading { margin-bottom: 32px; }
    .home-section-heading h2 { font-size: 28px; line-height: 1.4; }
    .home-eyebrow { font-size: 20px; line-height: 28px; margin-bottom: 12px; }
    .home-article-grid { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 30px; }
    .home-article-grid::-webkit-scrollbar { display: none; }
    .home-article-card { flex: 0 0 100%; min-width: 0; min-height: 283px; padding: 40px 32px 24px; border-radius: 30px; scroll-snap-align: start; }
    .home-article-card h3 { font-size: 24px; line-height: 1.4; margin-bottom: 32px; }
    .home-article-meta { margin-bottom: 16px; }
    .home-service-track { display: grid; gap: 16px; overflow: visible; border-radius: 0; }
    .home-service-card { min-height: 182px; padding: 32px; border-radius: 30px; }
    .home-service-card h3 { font-size: 24px; line-height: 1.4; margin-bottom: 16px; text-wrap: initial; }
    .home-service-card p { font-size: 16px; line-height: 1.6; }
    .home-service-card img.home-service-union { right: 32px; top: 50%; transform: translateY(-50%); }
    .home-service-additional, .home-service-controls { display: none; }
    .home-client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 12px; }
    .home-client-logo { min-height: 100px; }
    .home-client-logo img { width: 88px; height: 80px; max-width: 100%; }
    .home-client-logo:nth-last-child(2) { grid-column: 2; }
    .home-clients .home-section-heading { margin-bottom: 28px; }
    .home-footer { padding: 80px 0 40px; }
    .home-footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .home-footer-grid > * { position: relative; padding: 0 0 40px; border: 0; }
    .home-footer-grid > *::after { content: ""; position: absolute; bottom: 0; left: 0; width: 85%; border-bottom: 1px solid #8391aa; }
    .home-footer-grid > :last-child::after { display: none; }
    .home-footer-grid > :last-child { padding-bottom: 0; border-bottom: 0; }
    .home-footer .home-brand span { font-size: 28px; letter-spacing: .04em; }
    .home-footer p, .home-footer li { font-size: 16px; line-height: 1.6; }
    .home-footer h2, .home-footer h3 { font-size: 20px; }
    .home-footer li a { padding-block: 0; }
    .home-footer li + li { margin-top: 10px; }
    .home-footer-brand, .home-footer-contact { grid-column: auto; }
    .home-copyright { margin-top: 40px; font-size: 12px; }
}
@media (max-width: 389px) {
    .home-header .home-brand { gap: 12px; }
    .home-header .home-brand span { font-size: 24px; }
    .home-footer .home-brand span { font-size: 22px; }
    .home-section-heading h2 { font-size: 24px; }
}

.home-eyebrow-mobile { display: none; }
@media (min-width: 768px) and (max-width: 1199px) { .home-banner { margin-top: -76px; } }
@media (max-width: 767px) { .home-eyebrow-mobile { display: block; } }
