/* ─────────────────────────────────────────────────────────────
   ASCDM · landing page · modern professional refresh
   Palette anchored in the new logo blue (#005C8A)
   ───────────────────────────────────────────────────────────── */

:root {
    color-scheme: light;

    /* core palette */
    --ink: #0b1726; /* near-black with blue undertone */
    --ink-soft: #3b475a;
    --ink-mute: #6a7588;
    --hair: #e4e7ed; /* hairline border */
    --hair-soft: #eef1f5;
    --paper: #ffffff;
    --paper-tint: #f6f8fb; /* section alt */
    --paper-warm: #f1f4f8;

    /* brand */
    --brand: #005c8a; /* logo blue */
    --brand-deep: #003e5e;
    --brand-soft: #e5f0f6;
    --accent: #c77a1f; /* restrained amber for data highlights */
    --accent-soft: #f7ebd9;
    --good: #1f7a55;

    /* type */
    --font-sans:
        "Manrope", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei",
        system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-tc:
        "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui,
        sans-serif;
    --font-display:
        "Manrope", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --shadow-sm:
        0 1px 0 rgba(11, 23, 38, 0.04), 0 1px 2px rgba(11, 23, 38, 0.04);
    --shadow-md:
        0 12px 28px -12px rgba(11, 23, 38, 0.16),
        0 2px 6px rgba(11, 23, 38, 0.04);
    --shadow-lg:
        0 30px 60px -24px rgba(11, 23, 38, 0.28),
        0 8px 18px -8px rgba(11, 23, 38, 0.12);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 18px;

    --maxw: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-feature-settings: "ss01", "cv11";
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ───────── Header ───────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 28px;
    align-items: center;
    padding: 14px clamp(20px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--hair);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
    color: var(--ink);
}

.brand-logo {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 92, 138, 0.18);
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-family: var(--font-tc);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: var(--ink);
}

.brand-text small {
    margin-top: 2px;
    color: var(--ink-mute);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 26px;
    font-family: var(--font-tc);
    font-size: 0.92rem;
    font-weight: 500;
}

.nav-links a {
    position: relative;
    color: var(--ink-soft);
    padding: 6px 0;
    transition: color 0.18s ease;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--brand);
    transition: right 0.22s ease;
}

.nav-links a:hover::after {
    right: 0;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-tc);
    font-size: 0.88rem;
    font-weight: 600;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}
.header-cta:hover {
    background: var(--brand);
}

/* ───────── Buttons ───────── */

.primary-cta,
.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-family: var(--font-tc);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    transition:
        transform 0.16s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
    white-space: nowrap;
}

.primary-cta {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 26px -10px rgba(0, 92, 138, 0.55);
}
.primary-cta:hover {
    background: var(--brand-deep);
    transform: translateY(-1px);
}

.primary-cta--invert {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.4);
}
.primary-cta--invert:hover {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.secondary-cta {
    background: #fff;
    border: 1px solid var(--ink);
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(11, 23, 38, 0.04);
}
.secondary-cta:hover {
    background: var(--ink);
    color: #fff;
}

/* ───────── Eyebrows / Section heading ───────── */

.eyebrow {
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.eyebrow .num {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    background: var(--brand-soft);
    color: var(--brand-deep);
}
.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(0, 92, 138, 0.15);
}
.eyebrow--light {
    color: rgba(255, 255, 255, 0.86);
}
.eyebrow--light .num {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-tc);
    letter-spacing: -0.005em;
    text-wrap: balance;
}

.section {
    padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
    max-width: 880px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-heading h2,
.reporting-content h2,
.final-cta h2 {
    margin-bottom: 18px;
    color: var(--ink);
    font-size: clamp(1.9rem, 3.4vw, 2.55rem);
    line-height: 1.18;
    font-weight: 800;
}
.section-lede {
    max-width: 60ch;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.7;
}

.section-heading--light h2 {
    color: #fff;
}
.section-heading--light .section-lede {
    color: rgba(255, 255, 255, 0.78);
}

/* ───────── Hero ───────── */

.hero {
    position: relative;
    padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px)
        clamp(72px, 8vw, 110px);
    background:
        radial-gradient(
            900px 500px at 88% -10%,
            rgba(0, 92, 138, 0.08),
            transparent 70%
        ),
        radial-gradient(
            700px 480px at -10% 110%,
            rgba(199, 122, 31, 0.07),
            transparent 70%
        ),
        var(--paper);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        to right,
        rgba(11, 23, 38, 0.04) 1px,
        transparent 1px
    );
    background-size: 88px 100%;
    pointer-events: none;
    mask-image: linear-gradient(
        180deg,
        transparent 0%,
        #000 30%,
        #000 90%,
        transparent 100%
    );
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
}

.hero-content {
    position: relative;
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(2.4rem, 3.8vw, 4rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0.014em;
    color: var(--ink);
}
.hero h1 em {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -0.012em;
    padding: 0 0.04em;
    position: relative;
    background: linear-gradient(
        180deg,
        transparent 70%,
        rgba(0, 92, 138, 0.16) 70%
    );
}

.hero-copy {
    max-width: 56ch;
    margin: 0 0 32px;
    color: var(--ink-soft);
    font-size: 1.1rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 56px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--hair);
}
.hero-stats > div {
    padding: 4px 22px 4px 0;
}
.hero-stats > div + div {
    padding-left: 22px;
    border-left: 1px solid var(--hair);
}
.hero-stats dt {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 8px;
}
.hero-stats dd {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.stat-num {
    font-family: var(--font-tc);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.stat-unit {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-mute);
}

/* hero visual cluster */

.hero-visual {
    position: relative;
    min-height: 520px;
}

.hero-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    background: var(--ink);
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 40%;
}
.hero-photo-frame {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(11, 23, 38, 0) 60%,
        rgba(11, 23, 38, 0.32) 100%
    );
}

.hero-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-md);
    font-family: var(--font-sans);
}

.hero-card--metric {
    left: -28px;
    top: 38px;
    width: 270px;
}
.hero-card--list {
    right: -22px;
    bottom: 28px;
    width: 304px;
}

.hero-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.hero-card-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.hero-card-delta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--good);
}
.hero-card-tag {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--ink-mute);
}

.sparkline {
    display: block;
    width: 100%;
    height: 56px;
}
.hero-card-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--ink-mute);
}

.hero-card--list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.hero-card--list li {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    align-items: center;
    gap: 10px;
    font-family: var(--font-tc);
    font-size: 0.84rem;
    color: var(--ink);
}
.hero-card--list .rt {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-mute);
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot--done {
    background: var(--good);
}
.dot--prog {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(199, 122, 31, 0.18);
}
.dot--queue {
    background: transparent;
    border: 1.5px solid var(--ink-mute);
}

/* ───────── Trust bar ───────── */

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 22px clamp(20px, 5vw, 72px);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
}
.trust-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.trust-bar ul {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(18px, 3vw, 40px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.trust-bar li {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: -0.005em;
}

/* ───────── Problem section ───────── */

.problem-section {
    background: var(--paper-tint);
    border-bottom: 1px solid var(--hair);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.problem-grid article {
    position: relative;
    padding: 28px 24px 26px;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.problem-grid article:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 92, 138, 0.3);
}

.card-num {
    display: block;
    margin-bottom: 28px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--brand);
}
.card-num::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 1px;
    background: var(--brand);
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 3px;
}

.problem-grid h3,
.service-card h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ink);
}
.problem-grid p,
.service-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ───────── Services ───────── */

.services-section {
    background: var(--paper);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.service-card {
    position: relative;
    padding: 26px 24px 28px;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 92, 138, 0.3);
}
.service-card--wide {
    grid-column: span 4;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 36px;
    background: var(--paper-warm);
    border-color: var(--hair);
}
.service-card--wide .service-card-head {
    width: 100%;
}
.service-card--wide h3 {
    font-size: 1.25rem;
    flex: 0 0 220px;
}
.service-card--wide > p {
    flex: 1 1 320px;
    max-width: 56ch;
}

.service-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 5px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.service-id {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--ink-mute);
}

.service-bullets {
    list-style: none;
    margin: 8px 0 0;
    padding: 12px 0 0;
    border-top: 1px dashed var(--hair);
    display: grid;
    gap: 6px;
}

.service-card--wide .service-bullets {
    margin: 0;
    padding: 0;
}

.service-bullets li {
    position: relative;
    padding-left: 14px;
    font-family: var(--font-tc);
    font-size: 0.88rem;
    color: var(--ink-soft);
}
.service-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 1px;
    background: var(--brand);
}
.service-bullets--row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    align-items: start;
}
.service-bullets--row li {
    align-self: start;
}

/* ───────── Process ───────── */

.process-section {
    background: var(--paper-tint);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
}

.process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
    max-width: var(--maxw);
    margin: 0 auto;
}

.process-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    overflow: hidden;
}
.process-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 22px;
    align-items: start;
    padding: 22px 26px;
}
.process-list li + li {
    border-top: 1px solid var(--hair-soft);
}

.process-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
}

.process-body h3 {
    margin: 4px 0 6px;
    font-size: 1.08rem;
    font-weight: 700;
}
.process-body p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

.process-media {
    position: sticky;
    top: 92px;
}
.process-media figure {
    margin: 0;
    border: 1px solid var(--hair);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-md);
}
.process-media img {
    width: 100%;
    display: block;
}
.process-media figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-top: 1px solid var(--hair);
    background: var(--paper-tint);
    font-family: var(--font-tc);
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.cap-key {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
}

/* ───────── Working pattern (dark) ───────── */

.example-section {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.example-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            800px 400px at 90% 0%,
            rgba(0, 92, 138, 0.45),
            transparent 70%
        ),
        radial-gradient(
            700px 400px at 10% 100%,
            rgba(199, 122, 31, 0.18),
            transparent 70%
        );
    pointer-events: none;
}

.example-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    max-width: var(--maxw);
    margin: 0 auto;
}
.example-grid article {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}
.example-grid article:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}
.ex-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 0.86rem;
    font-weight: 600;
    color: #fff;
}
.example-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ───────── Reporting ───────── */

.reporting-section {
    background: var(--paper);
}

.reporting-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
}

.reporting-content .eyebrow,
.reporting-content h2 {
    text-align: left;
}

.reporting-content h2 {
    text-align: left;
    margin-bottom: 18px;
    font-size: clamp(1.9rem, 3.4vw, 2.55rem);
    line-height: 1.2;
    font-weight: 800;
}

.reporting-content .section-lede {
    margin: 0 0 28px;
    text-align: left;
    max-width: none;
}

.metric-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--hair);
}
.metric-list li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--hair);
}
.metric-key {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand);
    text-align: center;
}
.metric-text {
    font-family: var(--font-tc);
    font-size: 1rem;
    color: var(--ink);
}

.reporting-media {
    position: relative;
}
.reporting-media figure {
    margin: 0;
    border: 1px solid var(--hair);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.reporting-media img {
    width: 100%;
    display: block;
}

.reporting-kpis {
    position: absolute;
    left: -24px;
    bottom: -32px;
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow-md);
}
.kpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 16px;
}
.kpi + .kpi {
    border-left: 1px solid var(--hair);
}
.kpi-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.kpi-value {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.015em;
}
.kpi-value small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-mute);
    margin-left: 2px;
}
.kpi-delta {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
}
.kpi-delta.up {
    color: var(--good);
}

/* ───────── Final CTA ───────── */

.final-cta {
    position: relative;
    padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}
.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            700px 380px at 80% 110%,
            rgba(0, 92, 138, 0.55),
            transparent 70%
        ),
        radial-gradient(
            600px 360px at 0% 0%,
            rgba(199, 122, 31, 0.18),
            transparent 70%
        );
    pointer-events: none;
}
.final-cta-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, auto);
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
}
.final-cta h2 {
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    margin-bottom: 16px;
}
.final-cta p {
    max-width: 60ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.75;
}
.final-cta-text a[href^="mailto:"] {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.final-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.final-meta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.06em;
}

/* ───────── Footer ───────── */

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 28px clamp(20px, 5vw, 72px);
    border-top: 1px solid var(--hair);
    background: var(--paper);
    color: var(--ink-soft);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-brand img {
    border-radius: 6px;
}
.footer-brand strong {
    display: block;
    font-family: var(--font-tc);
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 700;
}
.footer-brand small {
    display: block;
    font-size: 0.75rem;
    color: var(--ink-mute);
}
.footer-meta {
    display: flex;
    align-items: center;
    gap: 22px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-mute);
}
.footer-meta a {
    color: var(--brand);
}

/* ───────── Responsive ───────── */

@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .hero-visual {
        min-height: 0;
        max-width: 560px;
        margin: 0 auto;
    }
    .hero-card--metric {
        left: -16px;
        top: 24px;
    }
    .hero-card--list {
        right: -12px;
        bottom: 18px;
    }

    .problem-grid,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-card--wide {
        grid-column: span 2;
        flex-direction: column;
        gap: 12px;
    }
    .service-card--wide h3,
    .service-card--wide > p {
        flex: initial;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
    .process-media {
        position: static;
        max-width: 720px;
        margin: 0 auto;
    }

    .example-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reporting-grid {
        grid-template-columns: 1fr;
    }
    .reporting-media {
        order: -1;
        max-width: 720px;
        margin: 0 auto;
    }
    .reporting-kpis {
        left: 12px;
        bottom: -24px;
        right: auto;
    }

    .final-cta-inner {
        grid-template-columns: 1fr;
    }
    .final-cta-actions {
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .site-header {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 12px 18px;
    }
    .nav-links {
        display: none;
    }
    .brand-text small {
        display: none;
    }

    .hero {
        padding-top: 56px;
        padding-bottom: 64px;
    }
    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.1;
    }
    .hero-copy {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .primary-cta,
    .secondary-cta {
        justify-content: center;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 16px;
    }
    .hero-stats > div {
        padding: 12px 0 0;
    }
    .hero-stats > div + div {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--hair-soft);
    }

    .hero-visual {
        max-width: 100%;
    }
    .hero-card--metric {
        left: -8px;
        top: 16px;
        width: 220px;
    }
    .hero-card--list {
        right: -6px;
        bottom: 12px;
        width: min(280px, 80%);
    }

    .section {
        padding: 64px 18px;
    }
    .section-heading {
        margin-bottom: 36px;
        text-align: left;
    }
    .section-heading h2 {
        font-size: 1.7rem;
    }
    .section-lede {
        text-align: left;
        margin: 0;
    }

    .problem-grid,
    .service-grid,
    .example-grid {
        grid-template-columns: 1fr;
    }
    .service-card--wide {
        grid-column: span 1;
        gap: 12px;
    }
    .service-card--wide h3,
    .service-card--wide > p {
        flex: initial;
    }

    .process-list li {
        grid-template-columns: 56px 1fr;
        gap: 16px;
        padding: 18px 18px;
    }
    .process-marker {
        width: 44px;
        height: 44px;
        font-size: 0.82rem;
    }

    .reporting-content h2 {
        font-size: 1.7rem;
    }
    .reporting-kpis {
        position: static;
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .kpi {
        padding: 6px 10px;
    }

    .final-cta {
        padding: 64px 18px;
    }
    .final-cta h2 {
        font-size: 1.8rem;
    }
    .final-cta-actions {
        width: 100%;
    }
    .primary-cta--invert {
        width: 100%;
        justify-content: center;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ─────────────────────────────────────────────────────────────
   Extended capabilities (加值能力) row
   ───────────────────────────────────────────────────────────── */

.section-heading--inline {
    margin-top: 0;
    text-align: left;
}

.section-subtitle {
    margin: 8px 0 12px;
    font-size: 1.5rem;
    line-height: 1.25;
    color: var(--ink);
    font-weight: 700;
}

.extended-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.extended-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--hair);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.extended-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}

.ext-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    text-transform: uppercase;
}

.extended-card h3 {
    font-size: 1.05rem;
    margin: 6px 0 2px;
    color: var(--ink);
    line-height: 1.3;
}

.extended-card p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   Case study section (homepage anchor)
   ───────────────────────────────────────────────────────────── */

.case-study-section {
    background:
        radial-gradient(
            120% 100% at 100% 0%,
            rgba(0, 92, 138, 0.07),
            transparent 55%
        ),
        var(--paper-tint);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.case-card {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.case-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.case-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 600;
}

.case-card h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--ink);
    line-height: 1.3;
}

.case-card > p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

.case-meta {
    list-style: none;
    margin: 8px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--hair);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-meta li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--ink-mute);
}

.case-meta li strong {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.case-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.case-cta .secondary-cta {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
}

.case-cta .secondary-cta:hover {
    background: var(--ink);
    color: var(--paper);
}

/* ─────────────────────────────────────────────────────────────
   Footer nav (links row)
   ───────────────────────────────────────────────────────────── */

.footer-nav {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.92rem;
    border-bottom: 1px solid transparent;
    transition:
        color 0.18s ease,
        border-color 0.18s ease;
}

.footer-nav a:hover {
    color: var(--brand);
    border-bottom-color: var(--brand);
}

/* ─────────────────────────────────────────────────────────────
   Responsive: extended + case grids
   ───────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
    .extended-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .extended-grid {
        grid-template-columns: 1fr;
    }
    .case-grid {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────────────────────
   Case Study sub-page (/case-study/)
   ───────────────────────────────────────────────────────────── */

.cs-hero {
    padding: clamp(80px, 12vw, 140px) clamp(20px, 4vw, 56px)
        clamp(60px, 8vw, 100px);
    background:
        radial-gradient(
            120% 100% at 100% 0%,
            rgba(0, 92, 138, 0.18),
            transparent 55%
        ),
        radial-gradient(
            100% 100% at 0% 100%,
            rgba(199, 122, 31, 0.12),
            transparent 60%
        ),
        var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.cs-hero-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: end;
}

.cs-hero .eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.cs-hero h1 {
    margin: 16px 0 18px;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--paper);
    max-width: 760px;
}

.cs-hero h1 em {
    font-style: italic;
    color: var(--accent-soft);
}

.cs-hero .lede {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
    line-height: 1.65;
}

.cs-hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
    max-width: 520px;
}

.cs-hero-meta dt {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}

.cs-hero-meta dd {
    margin: 0;
    color: var(--paper);
    font-size: 0.95rem;
    font-weight: 600;
}

.cs-hero-aside {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(8px);
}

.cs-hero-aside h3 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--accent-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cs-hero-aside ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-hero-aside ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--paper);
}

.cs-hero-aside ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex: 0 0 6px;
}

.cs-section {
    padding: clamp(60px, 8vw, 96px) clamp(20px, 4vw, 56px);
    max-width: var(--maxw);
    margin: 0 auto;
}

.cs-section.alt {
    background: var(--paper-tint);
    max-width: none;
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
}

.cs-section.alt-inner {
    max-width: var(--maxw);
    margin: 0 auto;
}

.cs-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin: 8px 0 16px;
    color: var(--ink);
    font-weight: 800;
}

.cs-section .lede {
    font-size: 1.02rem;
    color: var(--ink-soft);
    max-width: 720px;
    line-height: 1.7;
}

.cs-scope-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.cs-scope-grid .item {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-top: 3px solid var(--brand);
    padding: 18px 16px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cs-scope-grid .item strong {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.3;
}

.cs-scope-grid .item small {
    color: var(--ink-mute);
    font-size: 0.78rem;
    line-height: 1.5;
}

.cs-engine {
    margin: 28px auto 0;
    width: 100%;
    max-width: 880px;
    aspect-ratio: 16 / 9;
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.cs-engine svg {
    width: 100%;
    height: 100%;
}

.cs-deliverables {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cs-deliverable {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    padding: 24px;
}

.cs-deliverable h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--ink);
}

.cs-deliverable p {
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0 0 12px;
}

.cs-deliverable ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.cs-deliverable li {
    font-size: 0.85rem;
    color: var(--ink-mute);
    padding-left: 16px;
    position: relative;
}

.cs-deliverable li::before {
    content: "／";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.cs-cadence {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.cs-cadence .col {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    padding: 22px;
}

.cs-cadence .col h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--ink);
}

.cs-cadence .col .rhythm {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.cs-cadence .col ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.cs-cadence .col li::before {
    content: "▪ ";
    color: var(--brand);
    font-weight: 700;
    margin-right: 4px;
}

.cs-outcomes {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.cs-outcome {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius);
    padding: 24px 20px;
}

.cs-outcome:nth-child(2) {
    border-left-color: var(--accent);
}

.cs-outcome:nth-child(3) {
    border-left-color: var(--good);
}

.cs-outcome .label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: var(--brand);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.cs-outcome:nth-child(2) .label {
    color: var(--accent);
}

.cs-outcome:nth-child(3) .label {
    color: var(--good);
}

.cs-outcome h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: var(--ink);
}

.cs-outcome p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.cs-cta {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-lg);
    padding: 48px clamp(28px, 5vw, 64px);
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
}

.cs-cta h2 {
    color: var(--paper);
    margin: 0;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.cs-cta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.65;
    margin: 12px 0 0;
}

.cs-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

@media (max-width: 1180px) {
    .cs-hero-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .cs-scope-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .cs-cadence,
    .cs-outcomes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cs-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .cs-scope-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cs-deliverables {
        grid-template-columns: 1fr;
    }
    .cs-cadence,
    .cs-outcomes {
        grid-template-columns: 1fr;
    }
    .cs-hero-meta {
        grid-template-columns: 1fr;
    }
}
