/* winnovation_home.html — 張飛創意行銷首頁 */

.wh-page {
    --wh-font: "Roboto", "Noto Sans TC", "Source Han Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    --wh-maxw: 1200px;
    --wh-cols: 12;
    --wh-gap: 32px;
    /* Layout — 12 col grid · max 1200px · gap 32 (see .wh-grid-12) */
    --wh-text-max: 720px;
    --wh-gutter: clamp(20px, 4vw, 40px);
    --wh-space-hero: 160px;
    --wh-space-section: 100px;
    --wh-space-cases: 140px;
    --wh-space-cta: 160px;
    --wh-section: var(--wh-space-section);
    /* Type scale — Hero 64 · Section 42 · Body 18 · Small 16 */
    --wh-fs-hero: clamp(36px, 5.5vw + 1rem, 64px);
    --wh-fs-section: clamp(28px, 2.8vw + 0.85rem, 42px);
    --wh-fs-body: 18px;
    --wh-fs-small: 16px;
    --wh-fs-h3: var(--wh-fs-body);
    --wh-primary: #72a089;
    --wh-primary-dark: #5a8570;
    --wh-primary-soft: rgba(114, 160, 137, 0.12);
    --wh-accent: var(--wh-primary);
    --wh-text: #0f1419;
    --wh-muted: #5c6570;
    --wh-line: #d4d9e0;
    --wh-bg: #f5f6f8;
    --wh-surface: #ffffff;
    --wh-white: #ffffff;
    --wh-dark: #0f1419;
    --wh-radius: 16px;
    /* Elevation — 依元件語意分級，卡片不全用同一陰影 */
    --wh-shadow-none: none;
    --wh-shadow-xs: 0 1px 2px rgba(15, 20, 25, 0.05);
    --wh-shadow-sm: 0 4px 12px rgba(15, 20, 25, 0.06);
    --wh-shadow-md: 0 12px 32px rgba(15, 20, 25, 0.08);
    --wh-shadow-lg: 0 20px 48px rgba(15, 20, 25, 0.1);
    --wh-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    --wh-shadow-header: 0 1px 0 rgba(15, 20, 25, 0.04), 0 10px 28px rgba(15, 20, 25, 0.07);
    --wh-shadow-mega: 0 18px 44px rgba(15, 20, 25, 0.11);
    --wh-shadow-mock-hero: 0 22px 52px rgba(15, 20, 25, 0.11), 0 0 0 1px rgba(15, 20, 25, 0.04);
    --wh-shadow-kpi: 0 2px 14px rgba(114, 160, 137, 0.1);
    --wh-shadow-kpi-active: 0 10px 28px rgba(114, 160, 137, 0.16);
    --wh-shadow-solution-hover: 0 14px 36px rgba(15, 20, 25, 0.09);
    --wh-shadow-ai-hover: 0 12px 32px rgba(90, 133, 112, 0.14);
    --wh-shadow-timeline: 0 6px 20px rgba(15, 20, 25, 0.05);
    --wh-shadow-case-media: 0 14px 32px rgba(15, 20, 25, 0.08);
    --wh-shadow-case-media-hover: 0 20px 44px rgba(15, 20, 25, 0.11);
    --wh-shadow: var(--wh-shadow-none);
    --wh-btn-shadow: 0 2px 8px rgba(90, 133, 112, 0.2);
    --wh-btn-shadow-hover: 0 8px 24px rgba(90, 133, 112, 0.28);
    --wh-ease: 200ms ease-out;
    --wh-ease-fluid: 280ms ease-out;
    --wh-ease-btn: 220ms cubic-bezier(0.22, 1, 0.36, 1);
    --wh-ease-accordion: 260ms cubic-bezier(0.22, 1, 0.36, 1);
    --wh-icon-stroke: 1.75;
    font-family: var(--wh-font);
    font-size: var(--wh-fs-body);
    line-height: 1.65;
    margin: 0;
    padding: 0;
    color: var(--wh-text);
    background: var(--wh-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

@media (min-width: 900px) {
    .wh-page {
        --wh-fs-hero: 64px;
        --wh-fs-section: 42px;
    }
}

.wh-page *,
.wh-page *::before,
.wh-page *::after {
    box-sizing: border-box;
}

.wh-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wh-bleed {
    margin: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.wh-bleed img {
    width: 100%;
    height: min(52vh, 560px);
    object-fit: cover;
    display: block;
}

.wh-page a {
    color: inherit;
    text-decoration: none;
}

.wh-page button,
.wh-page input,
.wh-page select,
.wh-page textarea {
    font: inherit;
}

.wh-wrap {
    width: min(var(--wh-maxw), 100% - var(--wh-gutter) * 2);
    margin-inline: auto;
}

.wh-grid-12,
.wh-grid {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
}

.wh-col-12 { grid-column: span 12; }
.wh-col-6 { grid-column: span 6; }
.wh-col-4 { grid-column: span 4; }
.wh-col-3 { grid-column: span 3; }
.wh-col-2 { grid-column: span 2; }

@media (max-width: 639px) {
    .wh-col-sm-12 { grid-column: span 12; }
    .wh-col-sm-6 { grid-column: span 6; }
}

@media (min-width: 640px) {
    .wh-col-md-6 { grid-column: span 6; }
    .wh-col-md-4 { grid-column: span 4; }
    .wh-col-md-3 { grid-column: span 3; }
}

@media (min-width: 960px) {
    .wh-col-lg-7 { grid-column: span 7; }
    .wh-col-lg-6 { grid-column: span 6; }
    .wh-col-lg-5 { grid-column: span 5; }
    .wh-col-lg-4 { grid-column: span 4; }
    .wh-col-lg-3 { grid-column: span 3; }
    .wh-col-lg-2 { grid-column: span 2; }
}

.wh-anchor {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.wh-kicker {
    display: block;
    margin: 0 0 12px;
    font-size: var(--wh-fs-small);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--wh-muted);
}

.wh-title {
    margin: 0;
    font-size: var(--wh-fs-section);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

/* Short hairline under section titles — light rhythm, not decoration clutter */
.wh-section__head .wh-title::after,
.wh-kpi__title::after,
.wh-inline-cta__title::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    margin-top: 16px;
    background: color-mix(in srgb, var(--wh-text) 28%, var(--wh-line));
}

.wh-section__head--center .wh-title::after,
.wh-kpi__head .wh-kpi__title::after {
    margin-inline: auto;
}

.wh-section--dark .wh-section__head .wh-title::after {
    background: rgba(255, 255, 255, 0.35);
}

.wh-lead {
    margin: 16px 0 0;
    max-width: var(--wh-text-max);
    font-size: var(--wh-fs-body);
    color: var(--wh-muted);
    line-height: 1.7;
}

.wh-section {
    position: relative;
    padding-block: clamp(72px, 12.5vw, var(--wh-space-section));
    background: transparent;
}

/* Light bands stay open so page ruled lines show through */
.wh-section--surface,
.wh-section--light {
    background: transparent;
}

.wh-section--dark {
    --wh-text: #f3f5f7;
    --wh-muted: #aeb6c0;
    --wh-line: rgba(255, 255, 255, 0.14);
    --wh-bg: #161a1f;
    --wh-surface: rgba(255, 255, 255, 0.06);
    background: var(--wh-dark, #0f1419);
    color: var(--wh-text);
}

.wh-section--dark .wh-title,
.wh-section--dark .wh-kicker {
    color: var(--wh-text);
}

.wh-section--dark .wh-lead {
    color: var(--wh-muted);
}

.wh-section + .wh-section {
    border-top: 1px solid color-mix(in srgb, var(--wh-text) 10%, var(--wh-line));
}

/* Stronger horizontal rhythm between light / open bands */
.wh-section--light + .wh-section--light,
.wh-logos + .wh-section--light {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: color-mix(in srgb, var(--wh-text) 14%, var(--wh-line));
}

#cases.wh-section {
    padding-block: clamp(96px, 17.5vw, var(--wh-space-cases));
}

@media (min-width: 900px) {
    .wh-section {
        padding-block: var(--wh-space-section);
    }

    #cases.wh-section {
        padding-block: var(--wh-space-cases);
    }
}

/* —— Sub-page hero（services / cases / careers / articles / about） —— */
.wh-page-hero {
    padding: clamp(140px, 20vw, 220px) 0 clamp(64px, 10vw, 96px);
    background: var(--wh-dark);
    color: #f3f5f7;
}

.wh-page-hero .wh-kicker {
    color: var(--wh-accent);
}

.wh-page-hero__title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.wh-page-hero__desc {
    margin: 16px 0 0;
    max-width: 38em;
    font-size: var(--wh-fs-body);
    line-height: 1.7;
    color: #aeb6c0;
}

.wh-page-hero[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;
}

.wh-page-hero[style*="background-image"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: -1;
}

.wh-section__head {
    margin-bottom: clamp(40px, 5vw, 64px);
}

.wh-section__head--center {
    text-align: center;
}

.wh-section__head--center .wh-lead {
    margin-inline: auto;
}

.wh-canvas {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: transparent;
}

.wh-canvas > * {
    position: relative;
    z-index: 1;
}

/* Sparse vertical rhythm lines */
#main-content {
    position: relative;
    background-color: var(--wh-bg);
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 199px,
        color-mix(in srgb, var(--wh-text) 5%, transparent) 199px,
        color-mix(in srgb, var(--wh-text) 5%, transparent) 200px
    );
    background-size: 200px 100%;
    background-position: center top;
    background-repeat: repeat;
}

.wh-skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 10px 16px;
    background: var(--wh-primary);
    color: var(--wh-white);
    border-radius: var(--wh-radius);
    font-weight: 500;
    font-size: 0.9375rem;
}

.wh-skip:focus {
    top: 16px;
    outline: 2px solid var(--wh-text);
    outline-offset: 2px;
}

.wh-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* —— Buttons —— */
.wh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: var(--wh-radius);
    font-size: var(--wh-fs-body);
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background var(--wh-ease-btn),
        color var(--wh-ease-btn),
        border-color var(--wh-ease-btn),
        box-shadow var(--wh-ease-btn),
        transform var(--wh-ease-btn);
}

.wh-btn:focus-visible {
    outline: 2px solid var(--wh-primary);
    outline-offset: 2px;
}

.wh-btn--primary {
    background: var(--wh-primary-dark);
    color: var(--wh-white);
    box-shadow: none;
}

.wh-page a.wh-btn--primary {
    color: var(--wh-white);
}

.wh-btn--primary:hover {
    background: color-mix(in srgb, var(--wh-primary-dark) 92%, #000);
    box-shadow: none;
    transform: translateY(-1px);
}

.wh-page a.wh-btn--primary:hover {
    color: var(--wh-white);
}

.wh-btn--primary:active {
    background: color-mix(in srgb, var(--wh-primary-dark) 85%, #000);
    box-shadow: none;
    transform: translateY(0) scale(0.98);
    transition-duration: 120ms;
}

.wh-btn--ghost {
    background: var(--wh-surface);
    border-color: var(--wh-line);
    color: var(--wh-text);
    box-shadow: var(--wh-shadow-none);
}

.wh-page a.wh-btn--ghost {
    color: var(--wh-text);
}

.wh-btn--ghost:hover {
    border-color: color-mix(in srgb, var(--wh-text) 18%, var(--wh-line));
    background: var(--wh-bg);
    color: var(--wh-text);
    box-shadow: none;
    transform: translateY(-1px);
}

.wh-btn--ghost:active {
    background: var(--wh-bg);
    border-color: color-mix(in srgb, var(--wh-text) 22%, var(--wh-line));
    box-shadow: none;
    transform: translateY(0) scale(0.98);
    transition-duration: 120ms;
}

.wh-btn--light {
    background: var(--wh-white);
    border-color: var(--wh-white);
    color: var(--wh-dark);
    box-shadow: none;
}

.wh-page a.wh-btn--light,
.wh-cta-band a.wh-btn--light {
    color: var(--wh-dark);
}

.wh-btn--light:hover {
    background: #f4f6f8;
    border-color: #f4f6f8;
    box-shadow: none;
    transform: translateY(-1px);
}

.wh-btn--light:active {
    background: #e8ecef;
    transform: translateY(0) scale(0.98);
    box-shadow: none;
    transition-duration: 120ms;
}

/* —— Header —— */
.wh-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--wh-white);
    border-bottom: 1px solid transparent;
    overflow: visible;
    transition:
        background-color var(--wh-ease),
        border-color var(--wh-ease),
        box-shadow var(--wh-ease),
        backdrop-filter var(--wh-ease);
}

.wh-header.is-scrolled {
    border-color: color-mix(in srgb, var(--wh-line) 85%, transparent);
    background: color-mix(in srgb, var(--wh-white) 82%, transparent);
    box-shadow: var(--wh-shadow-header);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .wh-header.is-scrolled {
        background: var(--wh-white);
    }
}

.wh-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    transition: min-height var(--wh-ease), gap var(--wh-ease);
}

.wh-header.is-scrolled .wh-header__inner {
    min-height: 56px;
    gap: 20px;
}

.wh-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.wh-logo img {
    display: block;
    height: 48px;
    width: auto;
    transition: height var(--wh-ease);
}

.wh-header.is-scrolled .wh-logo img {
    height: 40px;
}

.wh-nav {
    display: none;
    align-items: center;
    gap: 28px;
    transition: gap var(--wh-ease);
}

.wh-header.is-scrolled .wh-nav {
    gap: 22px;
}

.wh-nav a {
    font-size: var(--wh-fs-small);
    font-weight: 500;
    color: var(--wh-muted);
    transition: color var(--wh-ease), font-size var(--wh-ease);
}

.wh-header.is-scrolled .wh-nav a {
    font-size: 0.9375rem;
}

.wh-nav a:hover,
.wh-nav a:focus-visible {
    color: var(--wh-text);
}

.wh-nav__mega {
    position: relative;
}

.wh-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: var(--wh-fs-small);
    font-weight: 500;
    color: var(--wh-muted);
    cursor: pointer;
    transition: color var(--wh-ease), font-size var(--wh-ease);
}

.wh-header.is-scrolled .wh-nav__trigger {
    font-size: 0.9375rem;
}

.wh-nav__trigger:hover,
.wh-nav__trigger:focus-visible {
    color: var(--wh-text);
}

.wh-nav__trigger[aria-expanded="true"] {
    color: var(--wh-text);
}

.wh-nav__chev {
    transition: transform var(--wh-ease);
}

.wh-nav__trigger[aria-expanded="true"] .wh-nav__chev {
    transform: rotate(180deg);
}

/* Desktop mega panel */
.wh-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 99;
    padding: 20px 0 28px;
    border-bottom: 1px solid var(--wh-line);
    background: color-mix(in srgb, var(--wh-white) 88%, transparent);
    box-shadow: var(--wh-shadow-mega);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
        opacity var(--wh-ease-fluid),
        transform var(--wh-ease-fluid),
        visibility var(--wh-ease-fluid);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    backdrop-filter: blur(14px) saturate(1.12);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .wh-mega {
        background: var(--wh-white);
    }
}

.wh-header.is-mega-open .wh-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.wh-header.is-mega-open {
    border-color: var(--wh-line);
    background: color-mix(in srgb, var(--wh-white) 82%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
}

.wh-mega__grid {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
}

.wh-mega__col {
    grid-column: span 6;
}

@media (min-width: 768px) {
    .wh-mega__col {
        grid-column: span 4;
    }
}

@media (min-width: 1100px) {
    .wh-mega__col {
        grid-column: span 2;
    }
}

.wh-mega__title {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--wh-line);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wh-text);
}

.wh-mega__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wh-mega__list a {
    display: block;
    padding: 6px 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--wh-muted);
    transition: color var(--wh-ease);
}

.wh-mega__list a:hover,
.wh-mega__list a:focus-visible {
    color: var(--wh-text);
}

@media (max-width: 959px) {
    .wh-mega {
        display: none;
    }
}

/* Mobile mega accordion */
.wh-mobile-mega {
    border-bottom: 1px solid var(--wh-line);
}

.wh-mobile-mega__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 4px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--wh-text);
    cursor: pointer;
}

.wh-mobile-mega__trigger[aria-expanded="true"] .wh-nav__chev {
    transform: rotate(180deg);
}

.wh-mobile-mega__panel {
    padding: 0 0 12px;
}

.wh-mobile-mega__panel[hidden] {
    display: none;
}

.wh-mobile-mega__group {
    border-bottom: 1px solid var(--wh-line);
}

.wh-mobile-mega__group summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--wh-text);
    cursor: pointer;
    list-style: none;
}

.wh-mobile-mega__group summary::-webkit-details-marker {
    display: none;
}

.wh-mobile-mega__group summary::after {
    content: "+";
    margin-left: auto;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--wh-muted);
}

.wh-mobile-mega__group[open] summary::after {
    content: "−";
}

.wh-mobile-mega__group ul {
    margin: 0;
    padding: 0 0 8px 12px;
    list-style: none;
}

.wh-mobile-mega__group a {
    display: block;
    padding: 8px 4px;
    font-size: 0.9375rem;
    color: var(--wh-muted);
    border: 0;
}

.wh-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Header CTA — 實心底色，對齊新 logo 的輕量比例 */
.wh-header__actions .wh-btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 10px;
    border: 0;
    background: var(--wh-primary);
    color: var(--wh-white);
    box-shadow: none;
}

.wh-page .wh-header__actions a.wh-btn {
    color: var(--wh-white);
}

/* ponytail: 觸控點擊後 :hover 會黏住，只在真 hover 裝置加深 */
@media (hover: hover) and (pointer: fine) {
    .wh-header__actions .wh-btn:hover {
        background: var(--wh-primary-dark);
        color: var(--wh-white);
        box-shadow: none;
        transform: none;
    }

    .wh-page .wh-header__actions a.wh-btn:hover {
        color: var(--wh-white);
    }
}

.wh-header__actions .wh-btn:active {
    background: var(--wh-primary-dark);
    color: var(--wh-white);
    box-shadow: none;
    transform: none;
}

.wh-page .wh-header__actions a.wh-btn:active {
    color: var(--wh-white);
}

/* CTA 捲動後維持可點尺寸，不跟著縮小 */
.wh-header.is-scrolled .wh-header__actions .wh-btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.875rem;
}

.wh-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    transition: background var(--wh-ease);
}

@media (hover: hover) and (pointer: fine) {
    .wh-menu-btn:hover {
        background: var(--wh-primary-soft);
    }
}

.wh-menu-btn:active {
    background: transparent;
}

.wh-menu-btn span {
    display: block;
    height: 2px;
    background: var(--wh-text);
    border-radius: 1px;
    transition: transform var(--wh-ease), opacity var(--wh-ease);
}

.wh-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.wh-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.wh-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.wh-mobile-nav {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    border-top: 1px solid transparent;
    transition: max-height var(--wh-ease-accordion), opacity var(--wh-ease-accordion), padding var(--wh-ease-accordion), border-color var(--wh-ease);
}

.wh-mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    padding: 12px 0 32px;
    border-color: var(--wh-line);
}

.wh-mobile-nav > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 4px;
    font-size: 1rem;
    color: var(--wh-text);
    border-bottom: 1px solid var(--wh-line);
}

.wh-mobile-nav > a:last-child {
    margin-top: 12px;
    justify-content: center;
    border: 0;
    border-radius: var(--wh-radius);
    background: var(--wh-primary);
    color: var(--wh-white);
    font-weight: 600;
}

@media (min-width: 960px) {
    .wh-nav {
        display: flex;
    }

    .wh-menu-btn {
        display: none;
    }

    .wh-mobile-nav {
        display: none !important;
    }
}

@media (max-width: 959px) {
    .wh-header__cta--desktop {
        display: none;
    }
}

/* —— Hero —— */
.wh-hero {
    position: relative;
    isolation: isolate;
    min-height: min(92vh, 820px);
    display: flex;
    align-items: center;
    padding-block: clamp(96px, 16vw, var(--wh-space-hero));
    background: #0b0e11;
    color: #f3f5f7;
    overflow: clip;
}

@media (min-width: 900px) {
    .wh-hero {
        padding-block: var(--wh-space-hero);
    }
}

/* Full-bleed editorial backdrop */
.wh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("../../../images/home/hero-backdrop.webp") center / cover no-repeat;
    filter: saturate(0.55) grayscale(0.08);
}

/* Scrim for readable type — left/bottom weighted, no floating badges */
.wh-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            105deg,
            rgba(11, 14, 17, 0.78) 0%,
            rgba(11, 14, 17, 0.55) 42%,
            rgba(11, 14, 17, 0.28) 72%,
            rgba(11, 14, 17, 0.35) 100%
        ),
        linear-gradient(
            180deg,
            rgba(11, 14, 17, 0.35) 0%,
            transparent 28%,
            rgba(11, 14, 17, 0.45) 100%
        );
}

.wh-hero__grid {
    position: relative;
    z-index: 1;
    width: min(var(--wh-maxw), 100% - var(--wh-gutter) * 2);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
    align-items: center;
}

.wh-hero__copy {
    grid-column: span 12;
    max-width: 36em;
}

@media (min-width: 960px) {
    .wh-hero__copy {
        grid-column: span 7;
    }
}

.wh-hero__brand {
    margin: 0 0 20px;
    font-size: var(--wh-fs-small);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.wh-hero__title {
    margin: 0;
    max-width: var(--wh-text-max);
    font-size: var(--wh-fs-hero);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-wrap: balance;
}

.wh-hero__desc {
    margin: 24px 0 0;
    max-width: var(--wh-text-max);
    font-size: var(--wh-fs-body);
    line-height: 1.65;
    color: rgba(243, 245, 247, 0.82);
}

.wh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.wh-btn--ghost-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.42);
    color: #ffffff;
}

.wh-page a.wh-btn--ghost-light {
    color: #ffffff;
}

.wh-btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.wh-page a.wh-btn--ghost-light:hover {
    color: #ffffff;
}

.wh-btn--ghost-light:active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.wh-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.wh-hero__proof li {
    font-size: var(--wh-fs-small);
    color: rgba(243, 245, 247, 0.72);
}

.wh-hero__proof strong {
    color: #ffffff;
    font-weight: 700;
    margin-right: 4px;
}

/* Feature / shared SaaS dashboard mock */
.wh-mock {
    overflow: hidden;
    border: 0;
    border-top: 1px solid var(--wh-line);
    border-bottom: 1px solid var(--wh-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.wh-mock.is-ready {
    opacity: 1;
    transform: translateY(0);
}

.wh-mock__chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--wh-line);
    background: #fafbfc;
}

.wh-mock__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d5db;
}

.wh-mock__chrome-title {
    margin-left: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--wh-muted);
    letter-spacing: 0.02em;
}

.wh-mock__body {
    display: grid;
    gap: 0;
}

@media (min-width: 640px) {
    .wh-mock__body {
        grid-template-columns: 132px minmax(0, 1fr);
    }
}

.wh-mock__sidebar {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px 12px;
    border-right: 1px solid var(--wh-line);
    background: #fafbfc;
}

@media (min-width: 640px) {
    .wh-mock__sidebar {
        display: flex;
    }
}

.wh-mock__nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--wh-radius);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--wh-muted);
}

.wh-mock__nav-item.is-active {
    background: var(--wh-bg);
    color: var(--wh-text);
}

.wh-mock__nav-item span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid currentColor;
    opacity: 0.55;
    flex-shrink: 0;
}

.wh-mock__nav-item.is-active span {
    opacity: 1;
    border-width: 2px;
}

.wh-mock__main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.wh-mock__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.wh-mock__metric {
    padding: 10px 8px;
    border: 1px solid var(--wh-line);
    border-radius: var(--wh-radius);
    background: #fafbfc;
}

.wh-mock__metric-val {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--wh-text);
    line-height: 1.1;
}

.wh-mock__metric-lbl {
    display: block;
    margin-top: 4px;
    font-size: 0.6875rem;
    color: var(--wh-muted);
}

.wh-mock__panel {
    padding: 10px 12px;
    border: 1px solid var(--wh-line);
    border-radius: var(--wh-radius);
    background: var(--wh-surface);
}

.wh-mock__panel--agent {
    border-color: var(--wh-line);
    background: var(--wh-bg);
}

.wh-mock__panel-title {
    margin: 0 0 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wh-muted);
}

.wh-mock__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.75rem;
    color: var(--wh-text);
}

.wh-mock__row + .wh-mock__row {
    border-top: 1px solid var(--wh-line);
}

.wh-mock__row em {
    font-style: normal;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--wh-muted);
    white-space: nowrap;
}

.wh-mock__row em.is-live {
    color: var(--wh-text);
}

/* Feature mocks (reuse wh-mock tokens) */
.wh-mock--feature {
    opacity: 1;
    transform: none;
    box-shadow: var(--wh-shadow-none);
}

.wh-mock--flat {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* No sidebar, so collapse the sidebar track too */
.wh-mock__body--wide {
    grid-template-columns: minmax(0, 1fr);
}

.wh-mock__body--wide .wh-mock__sidebar {
    display: none;
}

.wh-mock__metrics--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 480px) {
    .wh-mock__metrics--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.wh-feature__media {
    grid-column: span 12;
    margin: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    border: 0;
}

.wh-feature__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.wh-fmock {
    display: flex;
    flex-direction: column;
    padding: clamp(16px, 3vw, 24px);
    will-change: transform;
}

.wh-fmock__results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: calc(-1 * clamp(16px, 3vw, 24px)) calc(-1 * clamp(16px, 3vw, 24px)) clamp(14px, 2vw, 18px);
    padding: clamp(14px, 2.5vw, 18px) clamp(10px, 2vw, 16px);
    list-style: none;
    background: var(--wh-bg);
    border-bottom: 1px solid var(--wh-line);
}

.wh-fmock__results li {
    text-align: center;
}

.wh-fmock__results-lbl {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--wh-muted);
}

.wh-fmock__results-val {
    display: block;
    margin-top: 2px;
    font-size: clamp(1.375rem, 2.8vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--wh-text);
}

.wh-fmock__duo-body {
    display: flex;
    align-items: flex-end;
    gap: clamp(12px, 2.5vw, 20px);
    min-height: 0;
}

.wh-fmock--duo {
    min-height: 220px;
}

.wh-fmock--duo .wh-fmock__results--wide {
    margin-bottom: clamp(12px, 2vw, 16px);
}

.wh-fmock--dash > .wh-mock,
.wh-fmock--crm > .wh-mock {
    flex: 1;
}

.wh-fmock--mac > .wh-fmock__mac {
    flex: 1;
}

.wh-fmock__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wh-fmock__chips span {
    padding: 4px 10px;
    border-radius: var(--wh-radius);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--wh-text);
    background: var(--wh-surface);
    border: 1px solid var(--wh-line);
}

/* MacBook frame */
.wh-fmock__mac {
    flex: 1;
    min-width: 0;
}

.wh-fmock__mac-screen {
    overflow: hidden;
    border: 2px solid #2a2f36;
    border-radius: 16px 16px 0 0;
    background: #1a1d21;
}

.wh-fmock__mac-base {
    height: 10px;
    margin: 0 12%;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, #c8cdd3 0%, #9aa1a9 100%);
}

.wh-fmock__mac--solo .wh-fmock__mac-screen {
    border-radius: 16px 16px 0 0;
}

/* Duo: Mac + iPhone */
.wh-fmock--duo .wh-fmock__mac {
    flex: 1.15;
}

.wh-fmock__mini {
    padding: 14px 16px;
    background: var(--wh-surface);
    font-size: 0.75rem;
    color: var(--wh-text);
}

.wh-fmock__mini-title {
    margin: 0 0 10px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--wh-muted);
}

.wh-fmock__mini-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wh-fmock__mini-list li {
    padding: 6px 0;
    border-top: 1px solid var(--wh-line);
    color: var(--wh-muted);
    line-height: 1.45;
}

.wh-fmock__mini-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.wh-fmock__mini-list strong {
    color: var(--wh-text);
    font-weight: 600;
    margin-right: 6px;
}

.wh-fmock__mini-bar {
    height: 6px;
    margin-top: 12px;
    border-radius: var(--wh-radius);
    background: var(--wh-line);
    overflow: hidden;
}

.wh-fmock__mini-bar span {
    display: block;
    height: 100%;
    width: 78%;
    border-radius: inherit;
    background: var(--wh-text);
}

.wh-fmock__mini-caption {
    margin: 6px 0 0;
    font-size: 0.6875rem;
    color: var(--wh-muted);
}

/* iPhone frame */
.wh-fmock__phone {
    flex: 0 0 clamp(96px, 28%, 120px);
    padding: 8px 6px 10px;
    border: 2px solid #2a2f36;
    border-radius: var(--wh-radius);
    background: #1a1d21;
}

.wh-fmock__phone-notch {
    width: 36%;
    height: 4px;
    margin: 0 auto 8px;
    border-radius: var(--wh-radius);
    background: #0f1419;
}

.wh-fmock__phone-screen {
    padding: 10px 8px;
    border-radius: var(--wh-radius);
    background: var(--wh-surface);
    min-height: 140px;
}

.wh-fmock__phone-head {
    margin: 0 0 8px;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--wh-muted);
}

.wh-fmock__phone-card {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px;
    margin-bottom: 6px;
    border: 1px solid var(--wh-line);
    border-radius: var(--wh-radius);
    background: #fafbfc;
    font-size: 0.625rem;
    line-height: 1.4;
}

.wh-fmock__phone-card--muted {
    opacity: 0.85;
}

.wh-fmock__phone-card strong {
    display: block;
    font-size: 0.6875rem;
    color: var(--wh-text);
}

.wh-fmock__phone-card p {
    margin: 2px 0 0;
    color: var(--wh-muted);
}

.wh-fmock__avatar {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--wh-bg);
    border: 1px solid var(--wh-line);
}

.wh-fmock--mac {
    padding: clamp(20px, 3vw, 28px) clamp(16px, 4vw, 32px) clamp(12px, 2vw, 16px);
}

.wh-fmock--mac .wh-fmock__mac--solo {
    max-width: 100%;
}

/* CRM board */
.wh-fmock__crm-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.wh-fmock__crm-col > p {
    margin: 0 0 6px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--wh-muted);
}

.wh-fmock__crm-card {
    padding: 8px;
    margin-bottom: 6px;
    border: 1px solid var(--wh-line);
    border-radius: var(--wh-radius);
    background: #fafbfc;
    font-size: 0.6875rem;
}

.wh-fmock__crm-card strong {
    display: block;
    color: var(--wh-text);
    font-weight: 600;
}

.wh-fmock__crm-card span {
    display: block;
    margin-top: 2px;
    color: var(--wh-muted);
    font-size: 0.625rem;
}

.wh-fmock__crm-card--highlight {
    border-color: color-mix(in srgb, var(--wh-text) 14%, var(--wh-line));
    background: var(--wh-bg);
}

@media (max-width: 479px) {
    .wh-fmock__crm-board {
        grid-template-columns: 1fr;
    }

    .wh-fmock--duo .wh-fmock__duo-body {
        flex-direction: column;
        align-items: stretch;
    }

    .wh-fmock--duo .wh-fmock__phone {
        flex: none;
        max-width: 140px;
        align-self: flex-end;
    }
}

/* —— Logos + KPI —— */
.wh-logos {
    padding-block: clamp(72px, 12.5vw, var(--wh-space-section));
    border-top: 1px solid color-mix(in srgb, var(--wh-text) 14%, var(--wh-line));
    background: transparent;
}

@media (min-width: 900px) {
    .wh-logos {
        padding-block: var(--wh-space-section);
    }
}

.wh-kpi__head {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.wh-kpi__title {
    margin: 0;
    font-size: var(--wh-fs-section);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--wh-text);
}

.wh-logos__stats {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
    margin: 0 0 48px;
    padding: 0 0 48px;
    list-style: none;
    border-bottom: 1px solid var(--wh-line);
}

.wh-logos__stats > li {
    grid-column: span 6;
}

.wh-kpi__grid {
    gap: var(--wh-gap);
}

@media (min-width: 768px) {
    .wh-logos__stats > li {
        grid-column: span 3;
    }
}

.wh-kpi__item {
    position: relative;
    padding: clamp(12px, 2vw, 20px) 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.wh-kpi.wh-reveal.is-visible .wh-kpi__item {
    animation: wh-kpi-in 520ms ease-out both;
}

.wh-kpi.wh-reveal.is-visible .wh-kpi__item:nth-child(1) {
    animation-delay: 0ms;
}

.wh-kpi.wh-reveal.is-visible .wh-kpi__item:nth-child(2) {
    animation-delay: 80ms;
}

.wh-kpi.wh-reveal.is-visible .wh-kpi__item:nth-child(3) {
    animation-delay: 160ms;
}

.wh-kpi.wh-reveal.is-visible .wh-kpi__item:nth-child(4) {
    animation-delay: 240ms;
}

@keyframes wh-kpi-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wh-kpi__item.is-counted {
    border-color: transparent;
    box-shadow: none;
}

.wh-kpi__item.is-counted .wh-kpi__val {
    color: var(--wh-text);
}

.wh-logos__stat {
    text-align: center;
}

.wh-logos__stat-val {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--wh-text);
}

.wh-kpi__val {
    min-height: 1.15em;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-variant-numeric: tabular-nums;
    transition: color var(--wh-ease-fluid);
}

.wh-kpi__count {
    display: inline-block;
}

.wh-logos__stat-lbl {
    margin: 10px 0 0;
    font-size: var(--wh-fs-small);
    color: var(--wh-muted);
}

.wh-logos__label {
    margin: 0;
    flex-shrink: 0;
    text-align: left;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--wh-text);
}

.wh-logos__trust {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .wh-logos__trust {
        flex-direction: row;
        align-items: center;
        gap: clamp(28px, 4vw, 48px);
    }

    .wh-logos__label {
        width: min(240px, 28%);
    }

    .wh-logos__marquee {
        flex: 1;
        min-width: 0;
    }
}

.wh-logos__marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.wh-logos__track {
    display: flex;
    width: max-content;
    animation: wh-logo-marquee 42s linear infinite;
}

.wh-logos__set {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.wh-logos__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
    margin: 0;
    padding: 0 24px;
    list-style: none;
}

.wh-logos__list li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
}

.wh-logos__list img {
    max-height: 48px;
    max-width: 136px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: transform 280ms ease-out;
    will-change: transform;
}

/* 第二列錯位，與 about 客戶 logo 一致 */
.wh-logos__set .wh-logos__list:nth-child(2) {
    padding-left: 104px;
}

.wh-logos__list li:hover img,
.wh-logos__list li:focus-within img {
    transform: translateY(-4px) scale(1.08);
}

@keyframes wh-logo-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wh-logos__track {
        animation: none;
    }

    .wh-logos__marquee {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .wh-logos__set[aria-hidden="true"] {
        display: none;
    }

    .wh-logos__list img {
        transition: none;
        will-change: auto;
    }

    .wh-logos__list li:hover img,
    .wh-logos__list li:focus-within img {
        transform: none;
    }
}

/* —— Metrics —— */
.wh-metrics {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
}

.wh-metric {
    grid-column: span 12;
    padding: 32px 28px;
    border: 1px solid var(--wh-line);
    border-radius: var(--wh-radius);
    background: var(--wh-surface);
}

.wh-metric__value {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--wh-text);
}

.wh-metric__label {
    margin: 12px 0 0;
    font-size: 1rem;
    color: var(--wh-muted);
}

@media (min-width: 768px) {
    .wh-metric {
        grid-column: span 4;
    }
}

/* —— Icon (outline only) —— */
.wh-svg-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: var(--wh-icon-stroke);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wh-icon {
    display: inline-flex;
    color: var(--wh-text);
}

.wh-icon svg,
.wh-icon .wh-svg-icon {
    width: 22px;
    height: 22px;
}

.wh-nav__chev.wh-svg-icon {
    width: 1em;
    height: 1em;
}

/* —— Solutions —— */
.wh-solutions {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
}

.wh-solution {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.wh-solution__media {
    margin: 0 auto;
    width: 88px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: visible;
    background: transparent;
}

.wh-solution__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 220ms ease-out;
}

.wh-solution:hover .wh-solution__media img {
    transform: translateY(-2px);
}

.wh-solution__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    flex: 1;
    width: 100%;
}

.wh-solutions-group {
    margin-top: clamp(56px, 7vw, 88px);
    padding-top: clamp(40px, 5vw, 56px);
    border-top: 1px solid var(--wh-line);
}

.wh-solutions-group__head {
    text-align: center;
    max-width: 36em;
    margin: 0 auto clamp(32px, 4vw, 48px);
}

.wh-solutions-group__title {
    margin: 0 0 12px;
    font-size: var(--wh-fs-body);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.wh-solutions-group__lead {
    margin: 0;
    font-size: var(--wh-fs-small);
    line-height: 1.65;
    color: var(--wh-muted);
}

@media (min-width: 1024px) {
    .wh-solution {
        grid-column: span 3;
    }
}

.wh-solution:hover {
    transform: none;
    box-shadow: none;
}

.wh-solution__icon {
    margin-bottom: 4px;
}

.wh-solution h3 {
    margin: 0;
    font-size: var(--wh-fs-h3);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.wh-solution p {
    margin: 0;
    flex: 1;
    font-size: var(--wh-fs-small);
    line-height: 1.65;
    color: var(--wh-muted);
}

.wh-solution__link {
    margin-top: 4px;
    font-size: var(--wh-fs-small);
    font-weight: 600;
    color: var(--wh-text);
    transition: color var(--wh-ease);
}

.wh-solution__link:hover {
    color: var(--wh-muted);
}

/* —— AI 時代 —— */
.wh-ai-era {
    background: transparent;
}

/* Dark band + faint editorial photo (not flat sage wash) */
.wh-ai-era.wh-section--dark {
    isolation: isolate;
    overflow: hidden;
    background: #0b0e11;
}

.wh-ai-era.wh-section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("../../../images/home/scenes/scene-ai-banner.webp") center / cover no-repeat;
    opacity: 0.22;
    filter: saturate(0.4) grayscale(0.2) brightness(0.55);
}

.wh-ai-era.wh-section--dark::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(11, 14, 17, 0.72) 0%,
        rgba(11, 14, 17, 0.88) 55%,
        rgba(11, 14, 17, 0.94) 100%
    );
}

.wh-ai-era.wh-section--dark > .wh-wrap {
    position: relative;
    z-index: 1;
}

.wh-ai-era.wh-section--dark .wh-ai-era__media {
    border: 0;
    box-shadow: none;
}

.wh-ai-era.wh-section--dark .wh-ai-era__media img {
    filter: saturate(0.55) grayscale(0.1);
}

.wh-ai-era.wh-section--dark .wh-ai-card {
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    box-shadow: none;
    padding: 20px 0;
}

.wh-ai-era.wh-section--dark .wh-ai-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
    transform: none;
}

.wh-ai-era.wh-section--dark .wh-icon {
    color: #d5dde6;
}

.wh-ai-era__media {
    margin: 0 0 clamp(28px, 4vw, 40px);
    border-radius: 0;
    overflow: hidden;
    border: 0;
    aspect-ratio: 16 / 9;
    background: transparent;
}

.wh-ai-era__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wh-ai-era__grid {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
}

.wh-ai-card {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    border: 0;
    border-top: 1px solid var(--wh-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.wh-ai-card:hover {
    transform: none;
    border-color: color-mix(in srgb, var(--wh-text) 22%, var(--wh-line));
    box-shadow: none;
}

@media (min-width: 960px) {
    .wh-ai-card {
        grid-column: span 4;
    }
}

/* 5 cards don't divide into 12 columns, so switch this grid to 5 equal tracks */
@media (min-width: 1200px) {
    .wh-ai-era__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .wh-ai-card {
        grid-column: auto;
    }
}

.wh-ai-card__icon {
    margin-bottom: 4px;
}

.wh-ai-card h3 {
    margin: 0;
    font-size: var(--wh-fs-h3);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.wh-ai-card p {
    margin: 0;
    flex: 1;
    font-size: var(--wh-fs-small);
    line-height: 1.65;
    color: var(--wh-muted);
}

.wh-ai-era__actions {
    margin: clamp(40px, 5vw, 56px) 0 0;
    text-align: center;
}

/* —— Platform note (merged under workflow) —— */
.wh-platform-note {
    margin: clamp(40px, 5vw, 56px) 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--wh-line);
    max-width: 42em;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--wh-muted);
}

.wh-platform-note strong {
    display: inline;
    margin-right: 8px;
    color: var(--wh-text);
    font-weight: 700;
}

/* —— Features (alternating) —— */
.wh-features {
    display: flex;
    flex-direction: column;
    gap: calc(var(--wh-gap) * 2);
}

.wh-feature {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
    align-items: center;
}

.wh-feature__body {
    grid-column: span 12;
}

@media (min-width: 960px) {
    .wh-feature__media {
        grid-column: span 5;
    }

    .wh-feature__body {
        grid-column: span 7;
    }

    .wh-feature--reverse .wh-feature__media {
        order: 2;
    }

    .wh-feature--reverse .wh-feature__body {
        order: 1;
    }
}

.wh-feature__body h3 {
    margin: 0;
    font-size: var(--wh-fs-h3);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.wh-feature__body p {
    margin: 14px 0 0;
    max-width: 36em;
    font-size: var(--wh-fs-body);
    color: var(--wh-muted);
    line-height: 1.7;
}

.wh-feature__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

/* Neutral chips — brand green reserved for CTAs */
.wh-feature__tags li {
    display: inline-flex;
    align-items: center;
    padding: 0 12px 0 0;
    border: 0;
    border-right: 1px solid var(--wh-line);
    border-radius: 0;
    font-size: var(--wh-fs-small);
    font-weight: 600;
    line-height: 1.4;
    color: var(--wh-muted);
    background: transparent;
}

.wh-feature__tags li:last-child {
    border-right: 0;
    padding-right: 0;
}

/* —— Workflow timeline —— */
.wh-workflow {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
    align-items: center;
}

.wh-workflow__media,
.wh-workflow .wh-timeline {
    grid-column: span 12;
}

.wh-workflow__media {
    margin: 0;
}

/* Portrait beside the timeline on desktop; a band on mobile so it stays above the fold */
.wh-workflow__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

@media (min-width: 960px) {
    .wh-workflow__media {
        grid-column: span 5;
    }

    .wh-workflow__media img {
        aspect-ratio: 4 / 5;
    }

    .wh-workflow .wh-timeline {
        grid-column: span 7;
        max-width: none;
        margin: 0;
    }
}

.wh-timeline {
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.wh-timeline__item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0 20px;
    align-items: stretch;
}

.wh-timeline__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wh-timeline__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--wh-text);
}

.wh-timeline__icon svg,
.wh-timeline__icon .wh-svg-icon {
    width: 22px;
    height: 22px;
}

.wh-timeline__connector {
    flex: 1;
    width: 2px;
    min-height: 24px;
    margin: 6px 0;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--wh-text) 28%, var(--wh-line)) 0%,
        var(--wh-line) 100%
    );
    position: relative;
}

.wh-timeline__item--last .wh-timeline__connector {
    display: none;
}

.wh-timeline__card {
    margin-bottom: clamp(20px, 3vw, 28px);
    padding: 4px 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.wh-timeline__item--last .wh-timeline__card {
    margin-bottom: 0;
}

.wh-timeline__step {
    margin: 0 0 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wh-muted);
}

.wh-timeline__card h3 {
    margin: 0;
    font-size: var(--wh-fs-h3);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.wh-timeline__time {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 0;
    font-size: var(--wh-fs-small);
    font-weight: 600;
    color: var(--wh-text);
}

.wh-timeline__time-lbl {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wh-muted);
}

.wh-timeline__desc {
    margin: 12px 0 0;
    font-size: var(--wh-fs-small);
    color: var(--wh-muted);
    line-height: 1.65;
}

@media (min-width: 768px) {
    .wh-timeline {
        max-width: 560px;
    }
}

/* —— Cases —— */
.wh-cases {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
}

.wh-case {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
    transition: none;
}

.wh-case:hover {
    transform: none;
}

@media (min-width: 768px) {
    .wh-case {
        grid-column: span 4;
    }
}

.wh-case__media {
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.wh-case:hover .wh-case__media {
    box-shadow: none;
}

.wh-case__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: opacity var(--wh-ease-fluid);
}

.wh-case:hover .wh-case__media img {
    transform: none;
    opacity: 0.92;
}

.wh-case__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    flex: 1;
}

.wh-case__tag {
    margin: 0;
    font-size: var(--wh-fs-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--wh-muted);
}

.wh-case h3 {
    margin: 0;
    font-size: var(--wh-fs-h3);
    font-weight: 700;
}

.wh-case p {
    margin: 0;
    font-size: var(--wh-fs-small);
    color: var(--wh-muted);
    line-height: 1.65;
}

.wh-case__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: auto 0 0;
    padding: 12px 0 0;
    list-style: none;
    border: 0;
    border-top: 1px solid var(--wh-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.wh-case__stats li {
    text-align: center;
    padding: 6px 4px;
}

.wh-case__stat-lbl {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wh-muted);
}

.wh-case__stat-val {
    display: block;
    margin-top: 4px;
    font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--wh-text);
}

/* —— Group brands —— */
.wh-brands {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
}

.wh-brand {
    grid-column: span 12;
    padding: clamp(24px, 3vw, 32px) 0;
    border-top: 1px solid var(--wh-line);
}

@media (min-width: 640px) {
    .wh-brand {
        grid-column: span 4;
    }
}

.wh-brand__logo {
    display: flex;
    align-items: center;
    height: 72px;
    margin-bottom: 16px;
}

.wh-brand__logo img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.wh-brand h3 {
    margin: 0 0 8px;
    font-size: var(--wh-fs-h3);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.wh-brand p {
    margin: 0;
    font-size: var(--wh-fs-small);
    line-height: 1.65;
    color: var(--wh-muted);
}

/* —— FAQ —— */
.wh-faq {
    display: grid;
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.wh-faq__media {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    border: 0;
    aspect-ratio: 4 / 3;
    background: transparent;
}

.wh-faq__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wh-faq__list {
    min-width: 0;
    border-top: 1px solid var(--wh-line);
}

@media (min-width: 900px) {
    /* ponytail: 無圖 FAQ（服務頁）維持單欄滿版；有圖才走首頁兩欄 */
    .wh-faq:has(.wh-faq__media) {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
        gap: clamp(40px, 5vw, 64px);
    }

    .wh-faq__media {
        position: sticky;
        top: 96px;
        aspect-ratio: 3 / 4;
        max-height: min(640px, 72vh);
    }
}

.wh-faq__item {
    border-bottom: 1px solid var(--wh-line);
}

.wh-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 64px;
    padding: 20px 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: var(--wh-fs-body);
    font-weight: 600;
    color: var(--wh-text);
    cursor: pointer;
}

.wh-faq__question:focus-visible {
    outline: 2px solid var(--wh-primary);
    outline-offset: 2px;
}

.wh-faq__icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--wh-muted);
}

.wh-faq__icon .wh-svg-icon {
    width: 22px;
    height: 22px;
    transition: transform var(--wh-ease);
}

.wh-faq__item.is-open .wh-faq__icon .wh-svg-icon {
    transform: rotate(180deg);
}

.wh-faq__answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--wh-ease-accordion);
}

.wh-faq__answer p {
    margin: 0 0 20px;
    padding-right: 36px;
    font-size: 1rem;
    color: var(--wh-muted);
    line-height: 1.7;
}

/* —— CTA band —— */
.wh-cta-band {
    position: relative;
    padding-block: clamp(88px, 20vw, var(--wh-space-cta));
    background: var(--wh-dark);
    color: var(--wh-white);
    overflow: hidden;
}

@media (min-width: 900px) {
    .wh-cta-band {
        padding-block: var(--wh-space-cta);
    }
}

.wh-cta-band__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wh-gap);
    max-width: var(--wh-text-max);
}

@media (min-width: 768px) {
    .wh-cta-band__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: none;
        gap: var(--wh-gap);
    }
}

.wh-cta-band__title {
    margin: 0 0 12px;
    font-size: var(--wh-fs-section);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.wh-cta-band p {
    margin: 0;
    font-size: var(--wh-fs-body);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

/* —— Inline CTA — dark action band (distinct from content sections) —— */
.wh-inline-cta {
    padding-block: clamp(48px, 8vw, 72px);
    border-block: 0;
    background: var(--wh-dark);
    color: #f3f5f7;
}

@media (min-width: 900px) {
    .wh-inline-cta {
        padding-block: clamp(56px, 7vw, 80px);
    }
}

.wh-inline-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wh-gap);
}

@media (min-width: 768px) {
    .wh-inline-cta__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: var(--wh-gap);
    }

    .wh-inline-cta__copy {
        flex: 1;
        min-width: 0;
    }
}

.wh-inline-cta__copy {
    max-width: 36em;
}

.wh-inline-cta__title {
    margin: 0 0 8px;
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #ffffff;
}

.wh-inline-cta__title::after {
    display: none;
}

.wh-inline-cta__desc {
    margin: 0;
    font-size: var(--wh-fs-small);
    line-height: 1.65;
    color: rgba(243, 245, 247, 0.72);
}

.wh-inline-cta .wh-btn {
    flex-shrink: 0;
}

/* —— Contact —— */
.wh-contact {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
    align-items: start;
}

.wh-contact__copy {
    grid-column: span 12;
}

.wh-contact .wh-form {
    grid-column: span 12;
}

@media (min-width: 960px) {
    .wh-contact__copy {
        grid-column: span 5;
    }

    .wh-contact .wh-form {
        grid-column: span 7;
    }
}

.wh-contact__meta {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wh-contact__meta li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    font-size: 0.9375rem;
}

.wh-contact__meta span {
    color: var(--wh-muted);
    font-weight: 500;
}

.wh-contact__meta a:hover {
    color: var(--wh-text);
}

.wh-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.wh-form__row {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
}

.wh-form__row .wh-field {
    grid-column: span 12;
}

@media (min-width: 640px) {
    .wh-form__row .wh-field {
        grid-column: span 6;
    }
}

.wh-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wh-field label {
    font-size: var(--wh-fs-small);
    font-weight: 600;
    color: var(--wh-text);
}

.wh-field input,
.wh-field select,
.wh-field textarea {
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--wh-line);
    border-radius: var(--wh-radius);
    background: var(--wh-white);
    color: var(--wh-text);
    transition: border-color var(--wh-ease);
}

.wh-field textarea {
    min-height: 120px;
    resize: vertical;
}

.wh-field input:focus,
.wh-field select:focus,
.wh-field textarea:focus {
    outline: none;
    border-color: var(--wh-primary);
}

.wh-field input::placeholder,
.wh-field textarea::placeholder {
    color: #9aa3ad;
}

/* —— Footer —— */
.wh-footer {
    padding: 72px 0 40px;
    background: #0b0e11;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.wh-footer__grid {
    display: grid;
    grid-template-columns: repeat(var(--wh-cols), minmax(0, 1fr));
    gap: var(--wh-gap);
    margin-bottom: 48px;
}

.wh-footer__brand-block {
    grid-column: span 12;
}

.wh-footer__grid > div:not(.wh-footer__brand-block) {
    grid-column: span 6;
}

@media (min-width: 768px) {
    .wh-footer__brand-block {
        grid-column: span 4;
    }

    .wh-footer__grid > div:not(.wh-footer__brand-block) {
        grid-column: span 2;
    }
}

.wh-footer__brand {
    margin-bottom: 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--wh-white);
}

.wh-footer__brand-block p {
    margin: 0;
    max-width: 28em;
    line-height: 1.65;
}

.wh-footer h4 {
    margin: 0 0 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wh-white);
}

.wh-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wh-footer a:hover {
    color: var(--wh-white);
}

.wh-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
}

.wh-footer__legal {
    display: flex;
    gap: 20px;
}

/* —— Motion: reveal / lift helpers —— */
.wh-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.wh-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered entrance for hero copy and section children.
   backwards fill only: once played, elements fall back to normal styles so
   hover transforms on cards keep working. */
@keyframes wh-stagger-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

.wh-hero__copy.wh-stagger > *,
.wh-reveal.is-visible .wh-stagger > * {
    animation-name: wh-stagger-in;
    animation-duration: 480ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: backwards;
}

.wh-stagger > *:nth-child(1) {
    animation-delay: 60ms;
}

.wh-stagger > *:nth-child(2) {
    animation-delay: 130ms;
}

.wh-stagger > *:nth-child(3) {
    animation-delay: 200ms;
}

.wh-stagger > *:nth-child(4) {
    animation-delay: 270ms;
}

.wh-stagger > *:nth-child(5) {
    animation-delay: 340ms;
}

.wh-stagger > *:nth-child(6) {
    animation-delay: 410ms;
}

.wh-stagger > *:nth-child(n + 7) {
    animation-delay: 480ms;
}

.wh-mock__nav-item,
.wh-mock__metric,
.wh-mock__panel {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 320ms ease-out, transform 320ms ease-out;
}

.wh-mock.is-ready .wh-mock__nav-item,
.wh-mock.is-ready .wh-mock__metric,
.wh-mock.is-ready .wh-mock__panel {
    opacity: 1;
    transform: translateY(0);
}

.wh-mock.is-ready .wh-mock__nav-item:nth-child(1),
.wh-mock.is-ready .wh-mock__metric:nth-child(1),
.wh-mock.is-ready .wh-mock__panel:nth-child(2) {
    transition-delay: 40ms;
}

.wh-mock.is-ready .wh-mock__nav-item:nth-child(2),
.wh-mock.is-ready .wh-mock__metric:nth-child(2),
.wh-mock.is-ready .wh-mock__panel:nth-child(3) {
    transition-delay: 80ms;
}

.wh-mock.is-ready .wh-mock__nav-item:nth-child(3),
.wh-mock.is-ready .wh-mock__metric:nth-child(3),
.wh-mock.is-ready .wh-mock__panel:nth-child(4) {
    transition-delay: 120ms;
}

.wh-mock.is-ready .wh-mock__nav-item:nth-child(4) {
    transition-delay: 160ms;
}

.wh-mock.is-ready .wh-mock__nav-item:nth-child(5) {
    transition-delay: 200ms;
}

@media (max-width: 959px) {
    .wh-case:hover {
        transform: none;
    }

    .wh-case:hover .wh-case__media img {
        transform: none;
    }

    .wh-solution:hover {
        transform: none;
    }

    .wh-solution:hover .wh-solution__media img {
        transform: none;
    }
}

/* —— Compare table —— */
.wh-compare {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 0;
    border-top: 1px solid var(--wh-line);
    border-bottom: 1px solid var(--wh-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.wh-compare__table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: var(--wh-fs-small);
}

.wh-compare__table th,
.wh-compare__table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--wh-line);
    line-height: 1.55;
}

.wh-compare__table thead th {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--wh-text);
    background: var(--wh-bg);
}

.wh-compare__table th:nth-child(2),
.wh-compare__table td:nth-child(2) {
    color: var(--wh-text);
    font-weight: 600;
    background: color-mix(in srgb, var(--wh-text) 3%, var(--wh-surface));
}

.wh-compare__table tbody th {
    font-weight: 600;
    color: var(--wh-text);
    white-space: nowrap;
}

.wh-compare__table tbody tr:last-child th,
.wh-compare__table tbody tr:last-child td {
    border-bottom: 0;
}

.wh-compare__table td:nth-child(3) {
    color: var(--wh-muted);
    font-weight: 500;
}

.wh-section--dark .wh-compare {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

#compare.wh-section--dark {
    background: var(--wh-dark, #0f1419) !important;
    background-image: none !important;
}

#compare.wh-section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--wh-dark, #0f1419);
    z-index: 0;
}

#compare.wh-section--dark > .wh-wrap {
    position: relative;
    z-index: 1;
}

.wh-section--dark .wh-compare__table thead th {
    background: rgba(255, 255, 255, 0.06);
    color: var(--wh-text);
}

.wh-section--dark .wh-compare__table th:nth-child(2),
.wh-section--dark .wh-compare__table td:nth-child(2) {
    background: rgba(255, 255, 255, 0.08);
    color: var(--wh-text);
}

.wh-section--dark .wh-compare__table tbody th {
    color: var(--wh-text);
}

@media (max-width: 959px) {
    .wh-compare__table th:first-child,
    .wh-compare__table td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
    }

    .wh-section--dark .wh-compare__table thead th:first-child {
        background: #1a1e23;
    }

    .wh-section--dark .wh-compare__table tbody th {
        background: #0f1419;
    }
}

/* —— Floating side CTA —— */
.wh-float-cta {
    display: none;
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 80;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    padding: 18px 12px;
    border: 0;
    border-radius: 0;
    background: var(--wh-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: none;
    transform: translateY(-50%);
    transition: background var(--wh-ease), transform var(--wh-ease);
}

/* .wh-page a { color: inherit } 特異性較高，需覆寫 */
.wh-page a.wh-float-cta,
.wh-page a.wh-float-cta:hover,
.wh-page a.wh-float-cta:focus-visible {
    color: var(--wh-white);
}

.wh-float-cta:hover,
.wh-float-cta:focus-visible {
    background: var(--wh-primary-dark);
}

.wh-float-cta:focus-visible {
    outline: 2px solid var(--wh-text);
    outline-offset: 2px;
}

@media (min-width: 960px) {
    .wh-float-cta {
        display: inline-flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wh-btn,
    .wh-faq__answer,
    .wh-mobile-nav,
    .wh-reveal,
    .wh-mock,
    .wh-mock__nav-item,
    .wh-mock__metric,
    .wh-mock__panel,
    .wh-case,
    .wh-case__media img,
    .wh-solution__media img,
    .wh-fmock,
    .wh-stagger > * {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }

    .wh-float-cta {
        transition: none !important;
        animation: none !important;
    }

    .wh-reveal,
    .wh-mock,
    .wh-mock__nav-item,
    .wh-mock__metric,
    .wh-mock__panel {
        opacity: 1;
    }

    .wh-btn--primary:hover,
    .wh-btn--light:hover,
    .wh-btn--ghost:hover,
    .wh-btn--primary:active,
    .wh-btn--light:active,
    .wh-btn--ghost:active {
        transform: none;
        box-shadow: var(--wh-shadow-sm);
    }

    .wh-kpi.wh-reveal.is-visible .wh-kpi__item {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
