
        :root {
            /* 深色沉穩：墨黑 / 深咖啡 / 暖灰，加一個低彩度的黃銅點綴 */
            --black: #0B0A09;
            --surface: #14120F;
            --surface-2: #1A1815;
            --surface-hover: #201D18;
            --border: rgba(245, 240, 230, 0.08);
            --border-active: rgba(79, 154, 142, 0.45);
            --accent: #5FA396;
            --accent-dim: rgba(95, 163, 150, 0.08);
            --accent-glow: rgba(95, 163, 150, 0.14);
            --on-accent: #0B0A09;
            --text: #DDD8CE;
            --text-dim: #9C9686;
            --text-bright: #F5F2EA;
            --f-display: 'Fraunces', 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;
            --f-ui: 'Instrument Sans', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        html { background: var(--black); }

        body {
            background-color: var(--black);
            background-image:
                radial-gradient(900px circle at 12% -8%, rgba(95, 163, 150, 0.06), transparent 55%),
                radial-gradient(700px circle at 100% 18%, rgba(177, 139, 87, 0.035), transparent 50%),
                radial-gradient(800px circle at 8% 80%, rgba(95, 163, 150, 0.035), transparent 55%);
            background-attachment: fixed;
            color: var(--text);
            overflow-x: hidden;
            font-family: 'Noto Sans TC', var(--f-ui);
            font-weight: 300;
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }

        /* ── Image Quality Optimization ── */
        img {
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        /* ── Scroll Progress Bar ── */
        #scroll-progress {
            position: fixed; top: 0; left: 0; width: 0%; height: 2px;
            background: linear-gradient(90deg, #3F7A70, var(--accent), #8FBFB4);
            box-shadow: 0 0 12px var(--accent);
            z-index: 9999; transition: width 0.08s ease-out;
        }

        /* ── Hero High-DPI Canvas ── */
        #hero-canvas {
            position: absolute; inset: 0; width: 100%; height: 100%;
            pointer-events: none; z-index: 1; opacity: 0.75; display: none;
        }

        /* ── Custom Cursor ── */
        #cursor-dot, #cursor-follower {
            pointer-events: none; position: fixed; border-radius: 50%;
            z-index: 99999; transition: opacity 0.3s ease-in-out;
            transform: translate(-50%, -50%);
        }
        #cursor-dot { width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
        #cursor-follower {
            width: 32px; height: 32px; border: 1px solid rgba(95, 163, 150, 0.4);
            transition: transform 0.15s ease-out, width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
        }
        @media (max-width: 1024px) { #cursor-dot, #cursor-follower { display: none !important; } }

        /* ── Scroll Reveal Animation ── */
        .reveal {
            opacity: 0; transform: translateY(32px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }
        .reveal.active { opacity: 1; transform: translateY(0); }

        /* ── Staggered Reveal ──
           Each card below already carries .reveal individually, so the
           IntersectionObserver toggles .active on all the ones that enter
           the viewport together in one batch. Without a delay they'd pop in
           as one flat block; nth-child staggering makes them cascade. */
        .service-card:nth-child(1) { transition-delay: 0s; }
        .service-card:nth-child(2) { transition-delay: .08s; }
        .service-card:nth-child(3) { transition-delay: .16s; }
        .service-card:nth-child(4) { transition-delay: .24s; }
        .service-card:nth-child(5) { transition-delay: .32s; }
        .service-card:nth-child(6) { transition-delay: .40s; }

        .stat-card:nth-child(1) { transition-delay: 0s; }
        .stat-card:nth-child(2) { transition-delay: .07s; }
        .stat-card:nth-child(3) { transition-delay: .14s; }
        .stat-card:nth-child(4) { transition-delay: .21s; }

        .tech-item:nth-child(1) { transition-delay: 0s; }
        .tech-item:nth-child(2) { transition-delay: .05s; }
        .tech-item:nth-child(3) { transition-delay: .1s; }
        .tech-item:nth-child(4) { transition-delay: .15s; }
        .tech-item:nth-child(5) { transition-delay: .2s; }
        .tech-item:nth-child(6) { transition-delay: .25s; }

        .process-flow-card:nth-child(1) { transition-delay: 0s; }
        .process-flow-card:nth-child(2) { transition-delay: .07s; }
        .process-flow-card:nth-child(3) { transition-delay: .14s; }
        .process-flow-card:nth-child(4) { transition-delay: .21s; }
        .process-flow-card:nth-child(5) { transition-delay: .28s; }

        .price-item:nth-child(1) { transition-delay: 0s; }
        .price-item:nth-child(2) { transition-delay: .05s; }
        .price-item:nth-child(3) { transition-delay: .1s; }
        .price-item:nth-child(4) { transition-delay: .15s; }
        .price-item:nth-child(5) { transition-delay: .2s; }
        .price-item:nth-child(6) { transition-delay: .25s; }
        .price-item:nth-child(7) { transition-delay: .3s; }
        .price-item:nth-child(8) { transition-delay: .35s; }

        .plan-card:nth-child(1) { transition-delay: 0s; }
        .plan-card:nth-child(2) { transition-delay: .08s; }
        .plan-card:nth-child(3) { transition-delay: .16s; }
        .plan-card:nth-child(4) { transition-delay: .24s; }
        .plan-card:nth-child(5) { transition-delay: .32s; }

        .work-item:nth-child(1) { transition-delay: 0s; }
        .work-item:nth-child(2) { transition-delay: .06s; }
        .work-item:nth-child(3) { transition-delay: .12s; }
        .work-item:nth-child(4) { transition-delay: .18s; }
        .work-item:nth-child(5) { transition-delay: .24s; }
        .work-item:nth-child(n+6) { transition-delay: .3s; }

        /* ── Typography ── */
        .font-display { font-family: var(--f-ui); font-weight: 800; letter-spacing: 0.04em; }
        .font-ui { font-family: var(--f-ui); font-weight: 600; }
        .font-mono { font-family: var(--f-ui); }

        /* ── Noise grain overlay ── */
        body::before {
            content: ''; position: fixed; inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
            opacity: 0.035; pointer-events: none; z-index: 9998;
        }

        /* ── Nav ── */
        nav {
            position: fixed; top: 0; left: 0; right: 0; z-index: 50;
            background: rgba(11, 10, 9, 0.85); backdrop-filter: blur(20px) saturate(1.5);
            border-bottom: 1px solid var(--border); transition: all 0.3s ease;
        }
        .nav-inner {
            max-width: 1400px; margin: 0 auto; padding: 0 40px; height: 68px;
            display: flex; align-items: center; justify-content: space-between;
        }
        .nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
        .nav-logo-img {
            width: 38px; height: 38px; border-radius: 4px; border: 1px solid rgba(95, 163, 150, 0.3);
            overflow: hidden; transition: all 0.3s; box-shadow: 0 0 12px rgba(95, 163, 150, 0.1);
        }
        .nav-logo:hover .nav-logo-img { border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
        .nav-logo img { width: 100%; height: 100%; object-fit: cover; }
        .nav-logo-name { font-family: var(--f-ui); font-weight: 600; font-size: 17px; font-weight: 700; letter-spacing: 0.05em; color: var(--text-bright); }
        .nav-logo-sub { font-family: var(--f-ui); font-weight: 600; font-weight: 600; font-size: 12px; color: rgba(95, 163, 150, 0.85); margin-top: 2px; letter-spacing: 0.05em; }

        .nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
        .nav-links :is(button, a) {
            background: none; border: none; cursor: pointer; font-family: var(--f-ui); font-weight: 600;
            font-size: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
            color: var(--text-dim); transition: color 0.2s; padding: 8px 0; position: relative;
        }
        .nav-links :is(button, a)::after {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
            background: var(--accent); transform: scaleX(0); box-shadow: 0 0 8px var(--accent);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .nav-links :is(button, a):hover { color: var(--text-bright); }
        .nav-links :is(button, a):hover::after, .nav-links :is(button, a).active::after { transform: scaleX(1); }
        .nav-links :is(button, a).active { color: var(--accent); }

        .nav-cta {
            font-family: var(--f-ui); font-weight: 600; font-size: 13px; font-weight: 700;
            letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent);
            background: rgba(95, 163, 150, 0.05); border: 1px solid rgba(95, 163, 150, 0.35);
            padding: 10px 22px; cursor: pointer; border-radius: 2px; transition: all 0.3s ease;
        }
        .nav-cta:hover { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 24px var(--accent-glow); }

        /* Mobile Nav */
        .hamburger {
            display: none; background: none; border: 1px solid var(--border-active);
            padding: 8px 14px; cursor: pointer; font-family: var(--f-ui); font-weight: 600; font-weight: 700;
            font-size: 13px; color: var(--accent); letter-spacing: 0.05em; border-radius: 2px;
        }
        #mobile-menu {
            position: fixed; inset: 0; z-index: 60; background: rgba(11, 10, 9, 0.96); backdrop-filter: blur(24px);
            display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
            transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
        }
        #mobile-menu.open { transform: translateX(0); }
        .mobile-close { position: absolute; top: 24px; right: 32px; background: none; border: none; cursor: pointer; font-size: 28px; color: var(--accent); }
        .mobile-nav-btn { background: none; border: none; cursor: pointer; font-family: var(--f-ui); font-weight: 800; font-size: 42px; letter-spacing: 0.08em; color: var(--text-dim); transition: color 0.2s; }
        .mobile-nav-btn:hover { color: var(--accent); }

        /* ── Page system ──
           Split into two classes on purpose: .showing flips display so the
           element exists in flow, then .active (added a frame later by JS)
           animates opacity/transform. Toggling display + opacity in the same
           class would skip the transition entirely — the browser has no
           "before" frame to animate from. */
        main { padding-top: 68px; min-height: 100vh; }
        .page { overflow-x: clip; display: none; opacity: 0; transform: translateY(16px); transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1), transform 0.55s cubic-bezier(0.23, 1, 0.32, 1); }
        .page.showing { display: block; }
        .page.showing.active { opacity: 1; transform: translateY(0); }

        /* ── Shared layout ── */
        .container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
        .section-pad { padding: 110px 0; }

        .section-eyebrow {
            font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 13px; letter-spacing: 0.05em;
            text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
        }
        .section-eyebrow::before { content: ''; width: 12px; height: 1px; background: var(--accent); }
        .section-title { font-family: var(--f-ui); font-weight: 800; font-size: clamp(54px, 7.5vw, 92px); line-height: 0.95; letter-spacing: 0.03em; color: var(--text-bright); }

        /* ── Magnetic & Hardware Accelerated Physics ── */
        .magnetic {
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: transform;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        .tilt-card {
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
            transform-style: preserve-3d;
            will-change: transform;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        /* ── HOME ── */
        #page-home .hero {
            min-height: calc(100vh - 68px); display: flex; flex-direction: column; align-items: center;
            justify-content: center; text-align: center; padding: 60px 40px; position: relative; overflow: hidden;
        }

        .hero-logo-wrap { position: relative; margin-bottom: 48px; z-index: 2; }
        .hero-logo-ring { position: absolute; inset: -20px; border-radius: 50%; border: 1px solid rgba(95, 163, 150, 0.12); animation: pulseRing 4s infinite ease-in-out; }
        .hero-logo-ring-2 { position: absolute; inset: -40px; border-radius: 50%; border: 1px solid rgba(95, 163, 150, 0.05); }
        @keyframes pulseRing { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.05); opacity: 1; } }

        .hero-logo-frame {
            width: 190px; height: 190px; border: 1px solid rgba(95, 163, 150, 0.25); border-radius: 4px;
            overflow: hidden; position: relative; box-shadow: 0 0 30px rgba(95, 163, 150, 0.08); transition: all 0.5s ease;
            backface-visibility: hidden; transform: translateZ(0);
        }
        .hero-logo-frame:hover { border-color: var(--accent); box-shadow: 0 0 40px var(--accent-glow); }
        .hero-logo-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.95; transition: opacity 0.6s, transform 4s ease-out; }
        .hero-logo-frame:hover img { opacity: 1; transform: scale(1.06); }

        .hero-logo-frame::before, .hero-logo-frame::after {
            content: ''; position: absolute; width: 12px; height: 12px; border-color: var(--accent); border-style: solid; opacity: 0.9;
        }
        .hero-logo-frame::before { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
        .hero-logo-frame::after  { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

        .hero-badge {
            font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 12px; letter-spacing: 0.05em;
            text-transform: uppercase; color: var(--accent); border: 1px solid rgba(95, 163, 150, 0.3);
            background: rgba(95, 163, 150, 0.05); padding: 6px 18px; margin-bottom: 28px;
            display: inline-flex; align-items: center; gap: 8px; border-radius: 30px; z-index: 2;
        }
        .hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2s infinite; }

        .hero-h1 {
            font-family: var(--f-ui); font-weight: 800; font-size: clamp(46px, 11vw, 136px);
            line-height: 1.02; letter-spacing: 0.01em; color: var(--text-bright); margin-bottom: 20px;
            text-shadow: 0 0 30px rgba(0, 0, 0, 0.8); z-index: 2;
        }
        .hero-h1 .accent { color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); font-size: 0.5em; font-weight: 600; letter-spacing: 0.04em; margin-left: 0.12em; vertical-align: 0.42em; }

        .hero-sub {
            font-size: clamp(16px, 1.8vw, 20px); font-weight: 300; color: var(--text-dim);
            max-width: 620px; line-height: 1.8; margin: 20px auto 48px; z-index: 2;
        }
        .hero-sub strong { color: var(--text-bright); font-weight: 500; }

        .hero-btns { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; z-index: 2; }
        .btn-primary {
            font-family: var(--f-ui); font-weight: 600; font-size: 14px; font-weight: 700;
            letter-spacing: 0.05em; text-transform: uppercase; background: var(--accent); color: var(--on-accent);
            border: none; padding: 16px 42px; cursor: pointer; border-radius: 2px; transition: all 0.3s ease;
            box-shadow: 0 0 20px var(--accent-glow);
        }
        .btn-primary:hover { box-shadow: 0 0 40px var(--accent-glow); }

        .btn-secondary {
            font-family: var(--f-ui); font-weight: 600; font-size: 14px; font-weight: 600;
            letter-spacing: 0.05em; text-transform: uppercase; background: rgba(255, 255, 255, 0.02); color: var(--text);
            border: 1px solid var(--border); padding: 16px 42px; cursor: pointer; border-radius: 2px; transition: all 0.3s ease;
        }
        .btn-secondary:hover { border-color: rgba(255, 255, 255, 0.25); color: var(--text-bright); background: rgba(255, 255, 255, 0.05); }

        /* Metrics Stat Counters */
        .stats-grid {
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 80px; width: 100%;
        }
        .stat-card {
            background: var(--surface); border: 1px solid var(--border); padding: 32px 24px;
            border-radius: 4px; text-align: center; position: relative; overflow: hidden;
        }
        .stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); opacity: 0.5; }
        .stat-number {
            font-family: var(--f-ui); font-weight: 800; font-size: 56px; color: var(--text-bright);
            line-height: 1; margin-bottom: 6px; display: flex; justify-content: center; align-items: baseline; gap: 4px;
        }
        .stat-number .unit { font-size: 24px; color: var(--accent); font-family: var(--f-ui); }
        .stat-label { font-family: var(--f-ui); font-weight: 600; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }

        /* Infinite Marquee Section */
        .marquee-wrap {
            width: 100%; overflow: hidden; padding: 32px 0; border-y: 1px solid var(--border);
            background: rgba(10, 11, 15, 0.5); margin-top: 60px; display: flex; position: relative;
        }
        .marquee-content { display: flex; gap: 40px; white-space: nowrap; animation: marquee 25s linear infinite; }
        @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .marquee-item { font-family: var(--f-ui); font-weight: 600; font-weight: 600; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); display: flex; align-items: center; gap: 16px; }
        .marquee-item span { color: var(--accent); }

        /* ── ABOUT ── */
        .about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }

        .about-quote {
            border-left: 3px solid var(--accent); background: rgba(95, 163, 150, 0.03);
            padding: 24px 28px; margin: 36px 0; border-radius: 0 4px 4px 0;
        }
        .about-quote p { font-size: 17px; font-weight: 400; color: var(--text-bright); line-height: 1.8; }

        .tech-stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
        .tech-item { background: var(--surface); border: 1px solid var(--border); padding: 16px 18px; border-radius: 4px; }
        .tech-title { font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 12px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 4px; }
        .tech-desc { font-size: 13px; color: var(--text-bright); font-weight: 500; }

        .about-features { background: var(--surface); border: 1px solid var(--border); padding: 44px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        .about-features h4, .about-features > h2 { font-family: var(--f-ui); font-weight: 600; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 32px; }
        .feature-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
        .feature-item:last-child { border-bottom: none; padding-bottom: 0; }
        .feature-item h5, .feature-item h3 { font-family: var(--f-ui); font-weight: 600; font-size: 16px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-bright); margin-bottom: 8px; }
        .feature-item p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

        /* Process Flow Section */
        .process-flow { margin-top: 80px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
        .process-flow-card { background: var(--surface); border: 1px solid var(--border); padding: 28px 20px; border-radius: 4px; position: relative; }
        .process-flow-num { font-family: var(--f-ui); font-weight: 800; font-size: 32px; color: var(--accent); opacity: 0.6; line-height: 1; margin-bottom: 12px; }
        .process-flow-title { font-family: var(--f-ui); font-weight: 600; font-size: 15px; font-weight: 700; color: var(--text-bright); margin-bottom: 8px; }
        .process-flow-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

        /* ── SERVICES ── */
        .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .service-card.service-card--featured { grid-column: span 3; }
        .service-card--featured .service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
        .service-card--featured .service-icon svg { width: 40px; height: 40px; }
        @media (max-width: 700px) { .service-card--featured .service-list { grid-template-columns: 1fr; } }
        @media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .service-card--featured { grid-column: span 2; grid-template-columns: 1fr; } }
        @media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .service-card--featured { grid-column: span 1; } }
        .service-card {
            background: var(--surface); padding: 48px 40px; border: 1px solid var(--border);
            border-radius: 4px; transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
        }
        .service-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
            background: var(--accent); transform: scaleX(0); transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .service-card:hover { background: var(--surface-hover); border-color: rgba(95, 163, 150, 0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
        .service-card:hover::before { transform: scaleX(1); }

        .service-icon { color: var(--accent); margin-bottom: 28px; }
        .service-module-tag { font-family: var(--f-ui); font-weight: 600; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--border); padding: 4px 10px; display: inline-block; margin-bottom: 20px; border-radius: 2px; }
        .service-name { font-family: var(--f-ui); font-weight: 800; font-size: 38px; letter-spacing: 0.04em; color: var(--text-bright); margin-bottom: 16px; line-height: 1.05; }
        .service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
        .service-tag { font-size: 13px; color: var(--accent); background: rgba(95, 163, 150, 0.06); border: 1px solid rgba(95, 163, 150, 0.2); padding: 3px 10px; font-family: var(--f-ui); font-weight: 600; letter-spacing: 0.05em; border-radius: 2px; }
        .service-desc { font-size: 15px; color: var(--text-dim); line-height: 1.8; margin-bottom: 28px; }
        .service-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; border-top: 1px solid var(--border); padding-top: 20px; }
        .service-list li { font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 10px; }
        .service-list li::before { content: '◈'; color: var(--accent); font-size: 12px; }

        /* Service Comparison Table */
        .matrix-table-wrap { margin-top: 80px; overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 32px; }
        .matrix-table { width: 100%; border-collapse: collapse; text-align: left; }
        .matrix-table th, .matrix-table td { padding: 18px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
        .matrix-table th { font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: var(--black); }
        .matrix-table tr:hover { background: rgba(255,255,255,0.01); }

        .cta-banner { background: var(--surface); border: 1px solid var(--border); padding: 64px 40px; text-align: center; margin-top: 60px; border-radius: 4px; position: relative; overflow: hidden; }
        .cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(95, 163, 150, 0.05) 0%, transparent 70%); pointer-events: none; }
        .cta-banner p { color: var(--text-dim); font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
        .cta-banner h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 300; color: var(--text); max-width: 640px; margin: 0 auto 36px; line-height: 1.8; }
        .cta-banner h3 span { color: var(--accent); font-weight: 500; }
        .btn-ghost { background: none; border: none; cursor: pointer; font-family: var(--f-ui); font-weight: 600; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); border-bottom: 2px solid rgba(95, 163, 150, 0.4); padding-bottom: 6px; transition: all 0.25s; }
        .btn-ghost:hover { border-color: var(--accent); text-shadow: 0 0 12px var(--accent-glow); }

        /* ── WORKS / PORTFOLIO WITH FILTER ── */
        .works-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; margin-bottom: 32px; }
        .works-filter-btn {
            background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); font-family: var(--f-ui); font-weight: 600;
            font-size: 13px; font-weight: 600; letter-spacing: 0.05em; padding: 8px 18px; border-radius: 2px; cursor: pointer; transition: all 0.25s;
        }
        .works-filter-btn:hover, .works-filter-btn.active { color: var(--accent); border-color: rgba(95, 163, 150, 0.4); background: rgba(95, 163, 150, 0.06); box-shadow: 0 0 12px var(--accent-glow); }

        .works-list { display: flex; flex-direction: column; gap: 16px; }
        .work-item {
            background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
            display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 32px;
            padding: 36px 40px; transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .work-item.hidden { display: none !important; }
        .work-item.fade-in { animation: fadeIn 0.4s ease forwards; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .work-item:hover { border-color: rgba(95, 163, 150, 0.3); background: var(--surface-hover); transform: translateX(6px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
        .work-item:hover .work-cover { border-color: rgba(95, 163, 150, 0.45); }

        /* Abstract cover: a small monogram tile per case instead of a bare
           faint number floating in the row — same teal-on-dark language as
           the rest of the site, no invented photography. */
        .work-cover {
            width: 220px; height: 88px; border-radius: 6px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            position: relative; overflow: hidden; transition: border-color 0.3s ease;
            background:
                radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.10), transparent 55%),
                linear-gradient(135deg, rgba(95, 163, 150, 0.16), rgba(95, 163, 150, 0.03));
            border: 1px solid var(--border);
        }
        .work-cover::before, .work-cover::after {
            content: ''; position: absolute; width: 9px; height: 9px;
            border-color: var(--accent); border-style: solid; opacity: 0.5;
        }
        .work-cover::before { top: 6px; left: 6px; border-width: 1.5px 0 0 1.5px; }
        .work-cover::after  { bottom: 6px; right: 6px; border-width: 0 1.5px 1.5px 0; }

        /* Website screenshot covers (real homepage captures, 2026-10-05) */
        .work-cover--img { background: var(--surface-2); }
        .work-cover--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
        .work-item:hover .work-cover--img img { transform: scale(1.05); }
        .work-cover--img::before, .work-cover--img::after { z-index: 2; }
        .work-cover--img .work-num { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 12px; letter-spacing: 0.1em; padding: 3px 7px; border-radius: 3px; background: rgba(11, 10, 9, 0.72); color: var(--text-bright); }
        .work-num { font-family: var(--f-ui); font-weight: 800; font-size: 36px; color: rgba(255, 255, 255, 0.85); line-height: 1; letter-spacing: 0.04em; position: relative; z-index: 1; }
        .work-info { min-width: 0; }
        .work-eyebrow { font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
        .work-title { font-family: var(--f-ui); font-weight: 800; font-size: 32px; letter-spacing: 0.04em; color: var(--text-bright); margin-bottom: 8px; line-height: 1; }
        .work-desc { font-size: 15px; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; }
        .work-tags { display: flex; gap: 8px; flex-wrap: wrap; }
        .work-tag { font-size: 12px; color: var(--text-dim); background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 3px 10px; font-family: var(--f-ui); font-weight: 600; letter-spacing: 0.05em; border-radius: 2px; }

        .work-link {
            font-family: var(--f-ui); font-weight: 600; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent);
            background: rgba(95, 163, 150, 0.05); border: 1px solid rgba(95, 163, 150, 0.3); padding: 12px 24px; cursor: pointer; text-decoration: none; transition: all 0.25s;
            white-space: nowrap; flex-shrink: 0; border-radius: 2px;
        }
        .work-link:hover { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 20px var(--accent-glow); }

        /* ── FAQ ACCORDION ── */
        .faq-section { margin-top: 80px; }
        .faq-title { font-family: var(--f-ui); font-weight: 800; font-size: 44px; color: var(--text-bright); margin-bottom: 24px; letter-spacing: 0.03em; }
        .faq-list { display: flex; flex-direction: column; gap: 12px; }
        .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: border-color 0.3s; }
        .faq-item:hover { border-color: rgba(95, 163, 150, 0.3); }
        .faq-question { padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--f-ui); font-weight: 600; font-size: 16px; font-weight: 700; color: var(--text-bright); }
        .faq-icon { font-size: 20px; color: var(--accent); transition: transform 0.3s ease; }
        .faq-answer { max-height: 0; overflow: hidden; padding: 0 28px; font-size: 14px; color: var(--text-dim); line-height: 1.8; transition: max-height 0.35s ease, padding 0.35s ease; }
        .faq-item.open .faq-answer { max-height: 200px; padding: 0 28px 22px 28px; }
        .faq-item.open .faq-icon { transform: rotate(45deg); }

        /* ── INTERACTIVE FORM ── */
        .contact-grid { display: grid; grid-template-columns: 1.8fr 1.2fr; gap: 48px; }
        .form-box { background: var(--surface); border: 1px solid var(--border); padding: 48px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        .form-box h4, .form-box h2 { font-family: var(--f-ui); font-weight: 600; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 32px; }

        .form-group { margin-bottom: 28px; }
        .form-label { display: block; font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-bright); margin-bottom: 10px; }
        .form-label span { color: var(--accent); }

        .form-chips { display: flex; flex-wrap: wrap; gap: 10px; }
        .form-chip {
            background: rgba(255,255,255,0.02); border: 1px solid var(--border); color: var(--text-dim); font-size: 13px; padding: 8px 16px; border-radius: 2px;
            cursor: pointer; transition: all 0.2s; font-family: var(--f-ui);
        }
        .form-chip:hover, .form-chip.selected { border-color: var(--accent); color: var(--text-bright); background: rgba(95, 163, 150, 0.08); box-shadow: 0 0 12px var(--accent-glow); }
        .form-chip:focus-visible, .faq-question:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

        .form-input, .form-textarea {
            width: 100%; background: var(--black); border: 1px solid var(--border); color: var(--text-bright); padding: 14px 18px; font-size: 14px;
            font-family: var(--f-ui); border-radius: 2px; transition: border-color 0.25s;
        }
        .form-input:focus, .form-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }

        .btn-submit {
            width: 100%; font-family: var(--f-ui); font-weight: 600; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
            background: var(--accent); color: var(--on-accent); border: none; padding: 16px; cursor: pointer; border-radius: 2px; transition: all 0.3s;
            box-shadow: 0 0 20px var(--accent-glow); margin-top: 10px;
        }
        .btn-submit:hover { box-shadow: 0 0 40px var(--accent-glow); }

        .contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
        .contact-info-box { background: var(--surface); border: 1px solid var(--border); padding: 40px; border-radius: 4px; }
        .contact-info-item { margin-bottom: 24px; }
        .contact-info-item:last-child { margin-bottom: 0; }
        .contact-info-item .label { font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
        .contact-info-item a { font-family: var(--f-ui); font-weight: 600; font-weight: 500; font-size: 15px; color: var(--text-bright); text-decoration: none; transition: color 0.2s; }
        .contact-info-item a:hover { color: var(--accent); }

        /* Modal */
        #form-modal {
            display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(11, 10, 9, 0.85); backdrop-filter: blur(16px);
            align-items: center; justify-content: center; padding: 20px;
        }
        #form-modal.open { display: flex; }
        .modal-content { background: var(--surface); border: 1px solid var(--accent); padding: 48px; border-radius: 4px; max-width: 480px; text-align: center; box-shadow: 0 0 50px var(--accent-glow); }
        .modal-icon { font-size: 48px; color: var(--accent); margin-bottom: 16px; }
        .modal-title { font-family: var(--f-ui); font-weight: 800; font-size: 36px; color: var(--text-bright); margin-bottom: 12px; }
        .modal-desc { font-size: 15px; color: var(--text-dim); line-height: 1.8; margin-bottom: 28px; }

        /* ── FOOTER ── */
        footer { padding: 60px 40px; border-top: 1px solid var(--border); background: var(--surface); }
        .footer-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
        .footer-nav { display: flex; gap: 32px; }
        .footer-nav :is(button, a) {
            background: none; border: none; cursor: pointer; font-family: var(--f-ui); font-weight: 600; font-size: 13px; font-weight: 600;
            letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); transition: color 0.2s;
        }
        .footer-nav :is(button, a):hover { color: var(--accent); }
        .footer-copy { font-family: var(--f-ui); font-weight: 600; font-size: 13px; color: var(--text-dim); letter-spacing: 0.05em; }
        .footer-status { font-family: var(--f-ui); font-weight: 600; font-weight: 600; font-size: 13px; color: var(--accent); letter-spacing: 0.05em; opacity: 0.85; display: flex; align-items: center; gap: 8px; }
        .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; box-shadow: 0 0 6px var(--accent); }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

        /* ── PRICING ── */
        .pricing-tabs { display: flex; gap: 2px; margin-bottom: 56px; background: var(--border); padding: 2px; border-radius: 4px; }
        .pricing-tab {
            flex: 1; padding: 18px 24px; cursor: pointer; background: var(--surface); border: none; font-family: var(--f-ui); font-weight: 600;
            font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); text-align: center; transition: all 0.3s;
        }
        .pricing-tab:hover { color: var(--text-bright); }
        .pricing-tab.active { background: var(--surface-hover); color: var(--accent); box-shadow: inset 0 -2px 0 0 var(--accent); }
        .pricing-panel { display: none; }
        .pricing-panel.active { display: block; }

        .price-list { display: flex; flex-direction: column; gap: 12px; }
        .price-item {
            background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 32px 40px;
            display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 32px; transition: all 0.3s;
        }
        .price-item:hover { border-color: rgba(95, 163, 150, 0.25); background: var(--surface-hover); }
        .price-item-left { display: flex; gap: 24px; align-items: flex-start; }
        .price-item-icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--accent); opacity: 0.85; margin-top: 2px; }
        .price-item-name { font-family: var(--f-ui); font-weight: 600; font-size: 16px; font-weight: 700; color: var(--text-bright); margin-bottom: 12px; letter-spacing: 0.05em; }
        .price-tiers { display: flex; flex-direction: column; gap: 8px; }
        .price-tier { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
        .price-tier .amt { font-family: var(--f-ui); font-size: 15px; color: var(--accent); margin-right: 10px; font-weight: 700; }
        .price-item-badge { font-family: var(--f-ui); font-weight: 600; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--border); padding: 4px 12px; white-space: nowrap; flex-shrink: 0; border-radius: 2px; }

        .plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
        .plan-card { background: var(--surface); border: 1px solid var(--border); padding: 48px; border-radius: 4px; transition: all 0.3s; position: relative; overflow: hidden; }
        .plan-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.4s; }
        .plan-card:hover { border-color: rgba(95, 163, 150, 0.3); }
        .plan-card:hover::after { transform: scaleX(1); }
        .plan-eyebrow { font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
        .plan-name { font-family: var(--f-ui); font-weight: 800; font-size: 36px; letter-spacing: 0.05em; color: var(--text-bright); margin-bottom: 6px; }
        .plan-subtitle { font-size: 18px; color: var(--accent); font-family: var(--f-ui); font-weight: 700; margin-bottom: 32px; }
        .plan-items { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
        .plan-items li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); line-height: 1.6; }
        .plan-items li::before { content: '—'; color: var(--accent); opacity: 0.8; flex-shrink: 0; }
        .plan-items li strong { color: var(--text-bright); font-weight: 500; }
        .plan-footer { border-top: 1px solid var(--border); padding-top: 24px; font-family: var(--f-ui); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; color: var(--text-dim); }

        .pricing-note { margin-top: 48px; padding: 36px 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
        .pricing-note p { font-size: 15px; color: var(--text-dim); line-height: 1.8; }
        .pricing-note p span { color: var(--accent); font-weight: 500; }

        /* ── ARTICLES ── */
        .articles-list { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
        .article-card {
            background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
            padding: 36px 40px; transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1); cursor: pointer;
        }
        .article-card:hover { border-color: rgba(95, 163, 150, 0.3); background: var(--surface-hover); transform: translateX(4px); }
        .article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--f-ui); font-weight: 600; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
        .article-meta span { display: inline-flex; align-items: center; gap: 6px; }
        .article-title { font-family: var(--f-ui); font-weight: 800; font-size: 32px; color: var(--text-bright); margin-bottom: 10px; letter-spacing: 0.03em; line-height: 1.1; }
        .article-excerpt { font-size: 15px; color: var(--text-dim); line-height: 1.8; margin-bottom: 20px; max-width: 720px; }
        .article-readmore { font-family: var(--f-ui); font-weight: 600; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }

        .article-body { max-width: 740px; margin-top: 48px; }
        .article-body p { font-size: 16px; color: var(--text); line-height: 2; margin-bottom: 26px; }
        .article-body h3 { font-family: var(--f-ui); font-weight: 800; font-size: 30px; color: var(--text-bright); margin: 52px 0 20px; letter-spacing: 0.03em; }
        .article-body ul { margin: 0 0 26px 22px; display: flex; flex-direction: column; gap: 10px; }
        .article-body li { font-size: 15px; color: var(--text); line-height: 1.8; }
        .article-body strong { color: var(--text-bright); font-weight: 600; }

        @media (max-width: 768px) {
            .article-card { padding: 24px; }
        }

        /* ── Ambient depth ──
           A quiet resting shadow on the main surface cards so panels read as
           floating slightly above the page even before hover, instead of
           looking flat until a mouse arrives. */
        .stat-card, .tech-item, .process-flow-card, .price-item, .plan-card,
        .work-item, .service-card, .about-features, .form-box,
        .contact-info-box, .matrix-table-wrap, .faq-item, .cta-banner, .article-card {
            box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
        }

        @media (max-width: 1024px) {
            .about-grid, .contact-grid, .services-grid, .plan-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .process-flow { grid-template-columns: 1fr; }
            .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .container { padding: 0 20px; }
            .section-pad { padding: 72px 0; }
            .nav-inner { padding: 0 20px; }
            .nav-links, .nav-cta { display: none; }
            .hamburger { display: block; }
            .about-list { grid-template-columns: 1fr; }
            footer { padding: 48px 20px; }
            .footer-nav { flex-wrap: wrap; gap: 14px 24px; }
            .footer-inner { flex-direction: column; align-items: flex-start; }
            .hero-logo-frame { width: 150px; height: 150px; }
            .hero-logo-ring { inset: -12px; } .hero-logo-ring-2 { inset: -24px; }
            .cta-banner { padding: 40px 20px; }
            .form-box, .contact-info-box { padding: 32px 20px; }
            .price-item { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
            .plan-card { padding: 32px 20px; }
            .pricing-tabs { flex-direction: column; }
            .pricing-note { flex-direction: column; }
            .stats-grid { grid-template-columns: 1fr; }
            .tech-stack-grid { grid-template-columns: 1fr; }
            .work-item { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
            .work-item .work-cover { width: 56px; height: 56px; }
            .work-item .work-cover--img { width: 100%; height: auto; aspect-ratio: 5 / 2; }
            .work-item .work-num { font-size: 26px; }
            .work-link { width: 100%; text-align: center; }
        }

        /* ── SEO TOOL ── */
        #page-seo { padding-top: 0; }
        .seo-tool-header { position: relative; padding: 48px 40px 40px; background: var(--surface); }
        .seo-tool-header .section-eyebrow { margin-bottom: 12px; }
        .seo-tool-header .section-title { font-size: clamp(36px, 5vw, 64px); }
        .seo-tool-header p { font-size: 15px; color: var(--text-dim); line-height: 1.8; margin-top: 16px; max-width: 640px; }

        .seo-tool-frame-wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px 110px; }
        .seo-tool-frame {
            position: relative; border-radius: 16px; overflow: hidden;
            border: 1px solid var(--border-active); background: var(--surface-2);
            box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 40px rgba(95,163,150,0.05);
        }
        .seo-tool-frame-bar {
            display: flex; align-items: center; gap: 8px; padding: 14px 18px;
            background: var(--surface-2); border-bottom: 1px solid var(--border);
        }
        .seo-tool-frame-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0.35; }
        .seo-tool-frame-label {
            margin-left: 8px; font-family: var(--f-ui);
            font-size: 12px; color: var(--text-dim); letter-spacing: 0.04em; flex: 1;
        }
        .seo-tool-frame-open {
            font-family: var(--f-ui); font-size: 12px; color: var(--accent);
            text-decoration: none; border: 1px solid var(--border); border-radius: 20px; padding: 5px 12px;
            transition: border-color 0.25s ease, color 0.25s ease; white-space: nowrap;
        }
        .seo-tool-frame-open:hover { border-color: var(--accent); color: var(--text-bright); }
        .seo-tool-iframe-inner { position: relative; width: 100%; background: var(--surface); }
        body.on-seo .nav-cta { display: none; }
        .seo-tool-iframe-inner iframe {
            width: 100%; height: 70vh; display: block; border: none; position: relative; z-index: 1;
            opacity: 0; transition: opacity 0.5s ease;
        }
        .seo-tool-iframe-inner.loaded iframe { opacity: 1; }
        .seo-tool-loading {
            position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
            font-family: var(--f-ui); font-size: 13px; color: var(--text-dim);
            letter-spacing: 0.04em; transition: opacity 0.4s ease;
        }
        .seo-tool-iframe-inner.loaded .seo-tool-loading { opacity: 0; pointer-events: none; }
        .seo-tool-spinner {
            width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border);
            border-top-color: var(--accent); animation: seoSpin 0.8s linear infinite;
        }
        @keyframes seoSpin { to { transform: rotate(360deg); } }
        @media (max-width: 768px) {
            .seo-tool-header { padding: 32px 20px 28px; }
            .seo-tool-frame-wrap { padding: 0 20px 64px; }
            .seo-tool-frame-label { display: none; }
        }
    
        /* Monogram Logo Mark — geometric Y nested in an open ring, echoes the hero ring motif */
        .logo-mark {
            width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
            background: radial-gradient(circle at 50% 45%, rgba(95,163,150,0.16), rgba(95,163,150,0) 70%);
        }
        .logo-mark svg { display: block; }
        .logo-mark--hero svg { width: 60%; height: 60%; }
        .logo-mark--nav svg { width: 72%; height: 72%; }

        /* Hero 3D monogram — pure CSS 3D, built lazily by JS; the flat SVG stays as the fallback */
        .logo-mark--hero { position: relative; }
        .logo3d-scene { position: absolute; left: 19%; top: 19%; width: 62%; height: 62%; perspective: 700px; pointer-events: none; }
        .logo3d-obj { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; opacity: 0; transition: opacity .8s ease; will-change: transform; }
        .logo3d-layer, .logo-mark--hero .logo3d-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
        .logo-mark--hero.is-3d .logo3d-obj { opacity: 1; }
        .logo-mark--hero.is-3d > svg:first-child { opacity: 0; transition: opacity .8s ease; }

        /* Home Core Services Preview */
        .home-services-grid {
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
        }
        .home-service-card { padding: 32px 28px; }
        .home-service-card .service-icon svg { width: 30px; height: 30px; }
        .home-service-name {
            font-family: var(--f-ui); font-weight: 700; font-size: 18px;
            color: var(--text-bright); margin-bottom: 10px; line-height: 1.3;
        }
        .home-service-desc { font-size: 14px; line-height: 1.65; color: var(--text-dim); }
        .home-services-more { text-align: center; margin-top: 40px; }
        @media (max-width: 900px) { .home-services-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 600px) { .home-services-grid { grid-template-columns: 1fr; } }

/* Page Header Glow — subtle parallax-driven depth behind each page's title */
.container.section-pad { position: relative; }
.page-header-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    width: 520px;
    height: 420px;
    margin-left: -260px;
    background: radial-gradient(circle, rgba(95, 163, 150, 0.09), rgba(95, 163, 150, 0) 70%);
    pointer-events: none;
    z-index: 0;
}
.page-header-glow ~ * { position: relative; z-index: 1; }

.plan-card--wide { grid-column: span 2; }
.plan-card--wide .plan-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
@media (max-width: 700px) { .plan-card--wide .plan-items { grid-template-columns: 1fr; } }

/* Featured Cases — Bento Grid */
.bento-card--img { background: var(--surface-2); }
.bento-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 0; transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
.bento-card--img:hover .bento-bg { transform: scale(1.04); }
.bento-card--img::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(11, 10, 9, 0.97) 0%, rgba(11, 10, 9, 0.84) 40%, rgba(11, 10, 9, 0.38) 100%); }
.bento-card--img > :not(.bento-bg) { position: relative; z-index: 2; }
.bento-card--img > .bento-num, .bento-card--img > .bento-badge { position: absolute; }
.bento-card--img:hover { background: var(--surface-2); }
.shot-figure { max-width: 960px; margin: 40px 0 8px; }
.shot-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--border-active); border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.shot-figure figcaption { margin-top: 12px; font-size: 12px; letter-spacing: 0.06em; color: var(--text-dim); }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 20px;
    margin-top: 48px;
}
.bento-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(245, 240, 230, 0.02);
    transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease;
}
.bento-card:hover { border-color: rgba(95, 163, 150, 0.35); background: rgba(95, 163, 150, 0.04); }
.bento-card--large { grid-column: span 2; grid-row: span 2; }
.bento-card--wide { grid-column: span 2; grid-row: span 1; }
.bento-num {
    position: absolute; top: 20px; left: 26px; font-family: var(--f-ui);
    font-weight: 800; font-size: 13px; color: var(--text-dim); opacity: 0.4; letter-spacing: 0.05em;
}
.bento-card:not(.bento-card--large) .bento-num { display: none; }
.bento-badge {
    position: absolute; top: 18px; right: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--accent); border: 1px solid rgba(95, 163, 150, 0.3);
    background: rgba(95, 163, 150, 0.08); padding: 4px 10px; border-radius: 20px;
}
.bento-eyebrow { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.bento-title { font-family: var(--f-ui); font-weight: 700; color: var(--text-bright); margin-bottom: 8px; line-height: 1.3; }
.bento-card--large .bento-title { font-size: 26px; }
.bento-card--wide .bento-title { font-size: 19px; }
.bento-card:not(.bento-card--large):not(.bento-card--wide) .bento-title { font-size: 17px; }
.bento-desc {
    font-size: 13px; line-height: 1.65; color: var(--text-dim); margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bento-card--large .bento-desc { -webkit-line-clamp: 3; font-size: 14px; }
.bento-link {
    font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; padding: 0; cursor: pointer; width: fit-content; font-family: inherit;
}
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card--large, .bento-card--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-card--large, .bento-card--wide, .bento-card { grid-column: span 1; min-height: 200px; }
}

/* ── Page Loader ── */
#page-loader {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    background-color: var(--black);
    background-image:
        radial-gradient(600px circle at 50% 42%, rgba(95, 163, 150, 0.10), transparent 60%),
        radial-gradient(500px circle at 80% 90%, rgba(177, 139, 87, 0.04), transparent 55%);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.7s;
}
#page-loader.is-done { opacity: 0; transform: scale(1.03); visibility: hidden; pointer-events: none; }
html.is-loading, html.is-loading body { overflow: hidden; }
.loader-mark { position: relative; width: 112px; height: 112px; display: grid; place-items: center; }
.loader-mark::before {
    content: ''; position: absolute; inset: -18px; border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 163, 150, 0.22), transparent 68%);
    opacity: 0; animation: loaderGlow 2.4s ease-in-out 0.6s infinite;
}
.loader-mark svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.loader-draw { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.loader-ring { animation: loaderDraw 1s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards; }
.loader-y1 { animation: loaderDraw 0.45s cubic-bezier(0.65, 0, 0.35, 1) 0.75s forwards; }
.loader-y2 { animation: loaderDraw 0.45s cubic-bezier(0.65, 0, 0.35, 1) 0.95s forwards; }
.loader-y3 { animation: loaderDraw 0.4s cubic-bezier(0.65, 0, 0.35, 1) 1.15s forwards; }
.loader-text { text-align: center; opacity: 0; transform: translateY(8px); animation: loaderRise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards; }
.loader-name { font-family: var(--f-ui); font-weight: 700; font-size: 18px; letter-spacing: 0.05em;  color: var(--text-bright); }
.loader-sub { margin-top: 6px; font-family: var(--f-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.05em; color: rgba(95, 163, 150, 0.85); }
.loader-bar { position: relative; width: 120px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(245, 240, 230, 0.08); opacity: 0; animation: loaderRise 0.6s ease 1.1s forwards; }
.loader-bar::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
    background: linear-gradient(90deg, transparent, var(--accent), #8FBFB4, transparent);
    box-shadow: 0 0 10px var(--accent); animation: loaderSweep 1.2s ease-in-out infinite;
}
@keyframes loaderDraw { to { stroke-dashoffset: 0; } }
@keyframes loaderRise { to { opacity: 1; transform: translateY(0); } }
@keyframes loaderGlow { 0%, 100% { opacity: 0.25; transform: scale(0.94); } 50% { opacity: 0.9; transform: scale(1.06); } }
@keyframes loaderSweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) {
    .loader-draw { stroke-dashoffset: 0; animation: none; }
    .loader-text, .loader-bar { opacity: 1; transform: none; animation: none; }
    .loader-mark::before, .loader-bar::after { animation: none; }
    #page-loader, #page-loader.is-done { transition-duration: 0.2s; transform: none; }
}
    
#page-loader{display:none!important}

/* ── Theme toggle (dark = default brand look, light = opt-in) ── */
:root { color-scheme: dark; --on-accent: #0B0A09; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
    background: transparent; color: var(--accent); border: 1px solid var(--border-active); border-radius: 2px; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { background: var(--accent-dim); border-color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, fill 0.3s ease, stroke 0.3s ease !important;
}

:root[data-theme="light"] {
    color-scheme: light;
    --black: #F6F3EC;
    --surface: #FFFFFF;
    --surface-2: #F1EDE3;
    --surface-hover: #ECE7DA;
    --border: rgba(40, 34, 24, 0.12);
    --border-active: rgba(47, 122, 109, 0.5);
    --accent: #2F7A6D;
    --accent-dim: rgba(47, 122, 109, 0.08);
    --accent-glow: rgba(47, 122, 109, 0.16);
    --text: #3A362E;
    --text-dim: #6B655A;
    --text-bright: #14110D;
    --on-accent: #FFFFFF;
}
[data-theme="light"] nav { background: rgba(246, 243, 236, 0.88); }
[data-theme="light"] #mobile-menu { background: rgba(246, 243, 236, 0.97); }
[data-theme="light"] #form-modal { background: rgba(20, 17, 13, 0.55); }
[data-theme="light"] .nav-logo-sub, [data-theme="light"] .loader-sub { color: rgba(47, 122, 109, 0.95); }
[data-theme="light"] .hero-h1 { text-shadow: none; }
[data-theme="light"] .btn-secondary { background: rgba(0, 0, 0, 0.02); }
[data-theme="light"] .btn-secondary:hover { border-color: rgba(0, 0, 0, 0.3); background: rgba(0, 0, 0, 0.05); }
[data-theme="light"] .work-tag, [data-theme="light"] .form-chip { background: rgba(0, 0, 0, 0.03); }
[data-theme="light"] .form-chip:hover, [data-theme="light"] .form-chip.selected { background: rgba(47, 122, 109, 0.1); }
[data-theme="light"] .matrix-table tr:hover { background: rgba(0, 0, 0, 0.03); }
[data-theme="light"] .marquee-wrap { background: rgba(40, 34, 24, 0.04); }
[data-theme="light"] .loader-bar { background: rgba(40, 34, 24, 0.1); }
[data-theme="light"] .stat-card, [data-theme="light"] .tech-item, [data-theme="light"] .process-flow-card,
[data-theme="light"] .price-item, [data-theme="light"] .plan-card, [data-theme="light"] .work-item,
[data-theme="light"] .service-card, [data-theme="light"] .about-features, [data-theme="light"] .form-box,
[data-theme="light"] .contact-info-box, [data-theme="light"] .matrix-table-wrap, [data-theme="light"] .faq-item,
[data-theme="light"] .cta-banner, [data-theme="light"] .article-card { box-shadow: 0 4px 18px rgba(40, 34, 24, 0.07); }
[data-theme="light"] .service-card:hover, [data-theme="light"] .work-item:hover { box-shadow: 0 10px 28px rgba(40, 34, 24, 0.12); }
[data-theme="light"] .seo-tool-frame { box-shadow: 0 20px 50px rgba(40, 34, 24, 0.15); }
[data-theme="light"] .shot-figure img { box-shadow: 0 16px 40px rgba(40, 34, 24, 0.18); }
/* Cards that sit on top of a dark photo overlay keep the light-on-dark text colours */
[data-theme="light"] .bento-card--img,
[data-theme="light"] .work-cover--img {
    --text: #DDD8CE; --text-dim: #B9B3A3; --text-bright: #F5F2EA; --accent: #5FA396;
}
/* Logo strokes: the white ring would vanish on a light background */
[data-theme="light"] linearGradient[id^="ringGrad"] stop:nth-child(1) { stop-color: #4A453B; }
[data-theme="light"] linearGradient[id^="ringGrad"] stop:nth-child(2) { stop-color: #2F2B24; }
[data-theme="light"] linearGradient[id^="ringGrad"] stop:nth-child(3) { stop-color: #14110D; }
[data-theme="light"] linearGradient[id^="yGrad"] stop:nth-child(1) { stop-color: #4FA596; }
[data-theme="light"] linearGradient[id^="yGrad"] stop:nth-child(2) { stop-color: #2F7A6D; }
[data-theme="light"] linearGradient[id^="yGrad"] stop:nth-child(3) { stop-color: #1F5A4F; }
@media (max-width: 900px) { .nav-right { gap: 8px; } .theme-toggle { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: none !important; } }

/* ── Audit batch 1: layout / touch targets / a11y ── */
/* .section-pad's `padding: Npx 0` shorthand wiped .container's side gutters on every sub-page
   below ~1320px; restore them without changing the >=1320px layout. */
@media (max-width: 1319px) { .container.section-pad { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 768px)  { .container.section-pad { padding-left: 20px; padding-right: 20px; } }
/* The featured services card used `grid-column: span 3` with higher specificity than the
   responsive rules, creating 3 implicit columns inside the 1-column mobile/tablet grid. */
@media (max-width: 1024px) { .services-grid .service-card.service-card--featured { grid-column: 1 / -1; } }
/* 44px minimum touch targets on phones/tablets */
@media (max-width: 768px), (pointer: coarse) {
  .bento-link, .btn-ghost, .works-filter-btn, .form-chip { min-height: 44px; display: inline-flex; align-items: center; }
  .bento-link { padding-block: 10px; }
  .works-filter-btn, .form-chip { justify-content: center; }
}
/* contact-page text links: 44px touch area on phones */
@media (max-width: 768px), (pointer: coarse) { .contact-info-item a { display: inline-block; padding: 14px 0; } .contact-info-item { margin-bottom: 8px; } }
[data-theme="light"] .pricing-tab.active { color: #25675b; }
/* ── Batch 2: LINE + contact CTA ── */
.btn-line { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 20px; background: #06C755; color: #08130c; border-radius: 2px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; transition: filter .2s, box-shadow .2s; box-sizing: border-box; }
.btn-line:hover { filter: brightness(1.08); box-shadow: 0 0 24px rgba(6, 199, 85, 0.35); }
.btn-line:focus-visible, .line-float:focus-visible { outline: 2px solid var(--text-bright); outline-offset: 3px; }
.contact-cta-box { align-self: start; }
.contact-cta-lead { font-size: 15px; line-height: 1.8; color: var(--text-dim); margin-bottom: 20px; }
.contact-cta-divider { display: flex; align-items: center; gap: 14px; margin: 32px 0 24px; color: var(--text-dim); font-size: 13px; letter-spacing: 0.05em; }
.contact-cta-divider::before, .contact-cta-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.contact-cta-form { width: 100%; display: block; text-decoration: none; text-align: center; box-sizing: border-box; }
.line-float { display: none; }
@media (max-width: 1024px) {
  .line-float { display: inline-flex; align-items: center; gap: 8px; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 55; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: #06C755; color: #08130c; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
  footer { padding-bottom: 96px; }
}
body.on-seo .line-float { display: none; }

/* ═══════════════════════════════════════════════════════════
   REDESIGN — 深色沉穩（墨黑 / 深咖啡 / 暖灰 + 黃銅）
   ═══════════════════════════════════════════════════════════ */
body { background-image: none; font-family: var(--f-ui); font-weight: 400; }
#hero-canvas, .page-header-glow, #cursor-dot, #cursor-follower { display: none !important; }
#scroll-progress { background: var(--accent); box-shadow: none; height: 2px; }
::selection { background: rgba(95, 163, 150, 0.35); color: var(--text-bright); }

/* Serif display type: Chinese headings in Noto Serif TC, Latin/numbers in Fraunces */
.section-title, .service-name, .work-title, .faq-title, .modal-title, .plan-name, .article-title,
.article-body h3, .process-flow-num, .work-num, .font-display {
    font-family: var(--f-display); font-weight: 600; letter-spacing: 0.01em;
}
.section-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.15; }
.service-name { font-size: 30px; } .plan-name { font-size: 30px; } .faq-title { font-size: 36px; }
.work-title { font-size: 28px; } .article-title { font-size: 28px; } .modal-title { font-size: 30px; }
.price-tier .amt, .plan-subtitle { font-family: var(--f-ui); font-variant-numeric: tabular-nums; }

/* Quiet labels: no wide tracking, no forced uppercase */
.section-eyebrow, .hero-badge, .service-module-tag, .tech-title, .about-features h4, .about-features > h2, .form-box h4, .form-box h2, .form-label,
.work-eyebrow, .plan-eyebrow, .article-meta, .nav-links :is(button, a), .nav-cta, .btn-primary, .btn-secondary {
    text-transform: none; letter-spacing: 0.04em;
}
.section-eyebrow { font-size: 14px; font-weight: 500; }
.nav-links :is(button, a) { font-size: 15px; font-weight: 500; }
.nav-links :is(button, a)::after { box-shadow: none; height: 1px; }

/* Nav */
nav { background: rgba(11, 10, 9, 0.9); }
.nav-cta { border-radius: 2px; background: transparent; border: 1px solid rgba(95, 163, 150, 0.55); font-size: 14px; font-weight: 600; }
.nav-cta:hover { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.theme-toggle { border-radius: 2px; }

/* Buttons: warm, solid, no glow */
.btn-primary { border-radius: 2px; box-shadow: none; padding: 15px 34px; font-size: 15px; font-weight: 600; }
.btn-primary:hover { background: #7DBFB1; box-shadow: none; }
.btn-secondary { border-radius: 2px; padding: 15px 34px; font-size: 15px; font-weight: 500; background: transparent; border-color: rgba(234, 227, 214, 0.22); }
.btn-secondary:hover { border-color: var(--accent); color: var(--text-bright); background: rgba(95, 163, 150, 0.08); }

/* Cards on other pages: warm coffee surfaces, softer corners, no glow */
.service-card, .plan-card, .price-item, .work-item, .faq-item, .form-box, .contact-info-box, .article-card,
.about-features, .tech-item, .process-flow-card, .cta-banner, .matrix-table-wrap { border-radius: 2px; }
.service-card:hover, .plan-card:hover, .work-item:hover, .article-card:hover { box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7); }
.status-dot, .hero-badge-dot { box-shadow: none; animation: none; }

/* The arch mark */
.rh-mark { display: inline-grid; place-items: center; color: var(--accent); }
.rh-mark svg { width: 100%; height: 100%; display: block; }
.rh-mark--sm { width: 18px; height: 18px; }

/* ── Home hero ── */
.rh-hero {
    max-width: 1320px; margin: 0 auto; padding: 72px 40px 72px; min-height: 0;
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); gap: 56px; align-items: center;
}
.rh-kicker { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--accent); font-weight: 500; letter-spacing: 0.04em; margin-bottom: 28px; }
.rh-h1 {
    font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 3.55vw, 52px); line-height: 1.3; white-space: nowrap;
    letter-spacing: 0.01em; color: var(--text-bright); margin-bottom: 26px;
}
.rh-h1 em { font-style: normal; color: var(--accent); }
.rh-sub { font-size: 18px; line-height: 1.85; color: var(--text); max-width: 29em; margin-bottom: 36px; }
.rh-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.rh-promises { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 26px; border-top: 1px solid var(--border); }
.rh-promises li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--text-dim); }
.rh-promises li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Hero: arch-topped windows onto real work */
.rh-art { position: relative; width: 100%; aspect-ratio: 1.4 / 1; }
.rh-dome {
    position: absolute; display: block; overflow: hidden; background: var(--surface-2);
    border: 1px solid rgba(234, 227, 214, 0.14); text-decoration: none;
    box-shadow: 0 36px 60px -36px rgba(0, 0, 0, 0.85);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.rh-dome img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: auto; transform: none; backface-visibility: visible; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.rh-dome:hover { transform: translateY(-4px); }
.rh-dome:hover img { transform: scale(1.03); }
.rh-dome:focus-visible, .rh-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.rh-dome--a { top: 0; right: 0; width: 86%; aspect-ratio: 2.5 / 1; border-radius: 0; z-index: 1; }
.rh-dome--a::after { content: none; }
.rh-dome--b { top: 31%; left: 0; width: 62%; aspect-ratio: 2.5 / 1; border-radius: 0; z-index: 2; }
.rh-dome--c { bottom: 0; right: 2%; width: 46%; aspect-ratio: 2.5 / 1; border-radius: 0; z-index: 3; }
.rh-art::before {
    content: ''; position: absolute; top: -12px; right: -12px; width: calc(86% + 24px); aspect-ratio: 2.5 / 1;
    border: 1px solid rgba(95, 163, 150, 0.4); border-radius: 0; pointer-events: none;
}
.rh-cap {
    position: absolute; left: 14px; bottom: 12px; z-index: 2; padding: 5px 12px; border-radius: 2px;
    background: rgba(11, 10, 9, 0.86); color: #F3EDE0; font-size: 13px; line-height: 1.4; white-space: nowrap;
}
.rh-cap b { color: #8CD2C2; font-weight: 600; margin-right: 6px; }

/* ── Sections ── */
.rh-section { max-width: 1320px; margin: 0 auto; padding: 88px 40px; }
.rh-band { background: var(--surface); border-top: 1px solid var(--border); }
.rh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.rh-h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; color: var(--text-bright); letter-spacing: 0.01em; }
.rh-more { background: none; border: none; cursor: pointer; padding: 6px 0; font-family: var(--f-ui); font-size: 15px; font-weight: 500; color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(95, 163, 150, 0.35); transition: color 0.2s, border-color 0.2s; }
.rh-more:hover { color: #8CD2C2; border-color: #8CD2C2; }
.rh-lede { max-width: 46em; font-size: 15px; line-height: 1.8; color: var(--text-dim); margin-bottom: 44px; }

.rh-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
.rh-case { display: flex; flex-direction: column; }
.rh-case-img {
    display: block; overflow: hidden; background: var(--surface-2); border: 1px solid rgba(234, 227, 214, 0.12);
    aspect-ratio: 2.5 / 1; border-radius: 0; margin-bottom: 26px;
    box-shadow: 0 30px 50px -34px rgba(0, 0, 0, 0.85);
}
.rh-case-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: none; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.rh-case:hover .rh-case-img img { transform: scale(1.03); }
.rh-case-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.rh-pill { font-size: 12.5px; font-weight: 600; color: var(--accent); border: 1px solid rgba(95, 163, 150, 0.45); border-radius: 2px; padding: 1px 10px; }
.rh-case-title { font-family: var(--f-display); font-weight: 600; font-size: 28px; line-height: 1.25; color: var(--text-bright); margin-bottom: 10px; }
.rh-case-desc { font-size: 15.5px; line-height: 1.8; color: var(--text); max-width: 36em; margin-bottom: 14px; }
.rh-case--demo .rh-case-img { aspect-ratio: 2.5 / 1; }
.rh-case--demo .rh-case-title { font-size: 22px; }

.rh-services { list-style: none; border-top: 1px solid var(--border); margin-top: 28px; }
.rh-services li { border-bottom: 1px solid var(--border); }
.rh-services button {
    width: 100%; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) 32px; align-items: center; gap: 24px;
    padding: 30px 4px; background: none; border: none; cursor: pointer; text-align: left; color: inherit; font-family: var(--f-ui);
    transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}
.rh-svc-name { font-family: var(--f-display); font-weight: 600; font-size: 26px; color: var(--text-bright); letter-spacing: 0.01em; }
.rh-svc-desc { font-size: 16px; color: var(--text); line-height: 1.7; }
.rh-svc-arrow { color: var(--accent); font-size: 20px; justify-self: end; transition: transform 0.3s; }
.rh-services button:hover { padding-left: 16px; background: rgba(95, 163, 150, 0.05); }
.rh-services button:hover .rh-svc-arrow { transform: translateX(6px); }
.rh-services button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

@media (max-width: 1024px) {
    .rh-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 48px 32px 56px; }
    .rh-hero-copy { display: contents; }
    .rh-kicker { order: 1; } .rh-h1 { order: 2; } .rh-sub { order: 3; }
    .rh-btns { order: 4; margin-bottom: 44px; }
    .rh-art { order: 5; max-width: 640px; width: 100%; margin-bottom: 40px; }
    .rh-promises { order: 6; }
    .rh-section { padding: 72px 32px; }
}
@media (max-width: 768px) {
    .rh-hero { padding: 36px 20px 48px; }
    .rh-btns { margin-bottom: 36px; }
    .rh-art { margin-bottom: 32px; }
    .rh-kicker { font-size: 14px; margin-bottom: 20px; }
    .rh-h1 { font-size: 30px; margin-bottom: 18px; white-space: normal; }
    .rh-sub { font-size: 16.5px; margin-bottom: 28px; }
    .rh-btns { margin-bottom: 28px; }
    .rh-btns button { flex: 1 1 150px; padding: 15px 20px; }
    .rh-promises { padding-top: 20px; }
    .rh-section { padding: 56px 20px; }
    .rh-cases { grid-template-columns: 1fr; gap: 44px; }
    .rh-case-img { margin-bottom: 20px; }
    .rh-services button { grid-template-columns: 1fr 24px; gap: 6px 12px; padding: 24px 2px; }
    .rh-svc-name { grid-column: 1; font-size: 23px; }
    .rh-svc-desc { grid-column: 1; grid-row: 2; font-size: 15px; }
    .rh-svc-arrow { grid-column: 2; grid-row: 1 / span 2; }
    .rh-cap { font-size: 12px; padding: 4px 10px; left: 10px; bottom: 9px; }
}

/* Light theme keeps the same warmth */
[data-theme="light"] nav { background: rgba(246, 243, 236, 0.9); }
[data-theme="light"] .rh-more { color: #25675b; border-color: rgba(37, 103, 91, 0.35); }
[data-theme="light"] .rh-pill, [data-theme="light"] .rh-kicker, [data-theme="light"] .rh-h1 em { color: #25675b; }
[data-theme="light"] .rh-pill { border-color: rgba(37, 103, 91, 0.4); }
[data-theme="light"] .rh-band { background: #EFE9DC; }
[data-theme="light"] .rh-dome, [data-theme="light"] .rh-case-img { box-shadow: 0 24px 40px -28px rgba(40, 30, 15, 0.45); }
@media (prefers-reduced-motion: reduce) { .rh-dome, .rh-dome img, .rh-case-img img { transition: none; } }

.line-float { border-radius: 4px !important; }

/* ═══════════════════════════════════════════════════════════
   TECH + GLASS  — 網格底、環境光、毛玻璃面板、瀏覽器視窗框
   ═══════════════════════════════════════════════════════════ */
:root {
    --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.025) 100%);
    --glass-border: rgba(255, 255, 255, 0.13);
    --glass-edge: rgba(255, 255, 255, 0.28);
    --glass-shadow: 0 28px 50px -28px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    --f-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
html { background: #070909; }
body { background-color: #070909; }

/* Ambient light + engineering grid, fixed behind everything */
body::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(900px 620px at 8% -6%, rgba(95, 163, 150, 0.34), transparent 62%),
        radial-gradient(800px 600px at 96% 22%, rgba(70, 130, 190, 0.28), transparent 60%),
        radial-gradient(900px 700px at 40% 108%, rgba(95, 163, 150, 0.20), transparent 62%);
    animation: ambientDrift 26s ease-in-out infinite alternate;
}
body::after {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(150, 210, 200, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 210, 200, 0.055) 1px, transparent 1px);
    background-size: 64px 64px; background-position: -1px -1px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 85%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 85%);
}
@keyframes ambientDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2%, 2%, 0) scale(1.06); } }
main, footer { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* Glass surface (shared) */
nav, .rh-cap, .rh-promises, .rh-case, .rh-services, .rh-bar, .btn-secondary, .nav-cta, .theme-toggle, .hamburger,
.service-card, .plan-card, .price-item, .work-item, .faq-item, .form-box, .contact-info-box, .article-card,
.about-features, .tech-item, .process-flow-card, .cta-banner, .matrix-table-wrap, .pricing-note, .shot-figure {
    -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}
.rh-promises, .rh-case, .rh-services,
.service-card, .plan-card, .price-item, .work-item, .faq-item, .form-box, .contact-info-box, .article-card,
.about-features, .tech-item, .process-flow-card, .cta-banner, .matrix-table-wrap {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-top-color: var(--glass-edge);
    box-shadow: var(--glass-shadow);
}
nav { background: rgba(10, 14, 14, 0.55); border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.btn-secondary, .nav-cta, .theme-toggle { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.18); }
.btn-secondary:hover, .nav-cta:hover { background: rgba(95, 163, 150, 0.22); border-color: rgba(95, 163, 150, 0.6); color: var(--text-bright); }
.btn-primary { background: linear-gradient(180deg, #7CC0B2 0%, #5FA396 100%); color: #06100E; border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px -12px rgba(95, 163, 150, 0.7); }
.btn-primary:hover { background: linear-gradient(180deg, #8CD2C2 0%, #6DB3A6 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 30px -12px rgba(95, 163, 150, 0.85); }
.service-card:hover, .plan-card:hover, .work-item:hover, .article-card:hover, .rh-case:hover { border-color: rgba(95, 163, 150, 0.45); border-top-color: rgba(140, 210, 194, 0.7); }
.matrix-table-wrap th { background: rgba(255, 255, 255, 0.04); }

/* Hero: a glass slab behind the browser windows, with HUD corner ticks */
.rh-art::before {
    top: -26px; right: -26px; bottom: -26px; left: -26px; width: auto; aspect-ratio: auto; border-radius: 0; z-index: 0;
    background:
        linear-gradient(#8CD2C2, #8CD2C2) 0 0 / 16px 1px no-repeat, linear-gradient(#8CD2C2, #8CD2C2) 0 0 / 1px 16px no-repeat,
        linear-gradient(#8CD2C2, #8CD2C2) 100% 0 / 16px 1px no-repeat, linear-gradient(#8CD2C2, #8CD2C2) 100% 0 / 1px 16px no-repeat,
        linear-gradient(#8CD2C2, #8CD2C2) 0 100% / 16px 1px no-repeat, linear-gradient(#8CD2C2, #8CD2C2) 0 100% / 1px 16px no-repeat,
        linear-gradient(#8CD2C2, #8CD2C2) 100% 100% / 16px 1px no-repeat, linear-gradient(#8CD2C2, #8CD2C2) 100% 100% / 1px 16px no-repeat,
        var(--glass-bg);
    border: 1px solid var(--glass-border); border-top-color: var(--glass-edge); box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
}
.rh-dome { display: flex; flex-direction: column; background: rgba(12, 18, 18, 0.7); border: 1px solid rgba(255, 255, 255, 0.16); border-top-color: rgba(255, 255, 255, 0.3); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.9); aspect-ratio: auto !important; }
.rh-dome img { height: auto; aspect-ratio: 2.5 / 1; flex: none; }
.rh-bar { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; flex: none; background: rgba(255, 255, 255, 0.07); border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.rh-bar i { width: 6px; height: 6px; background: rgba(255, 255, 255, 0.35); display: block; }
.rh-bar i:first-child { background: #5FA396; }
.rh-cap { background: rgba(8, 12, 12, 0.55); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 2px; bottom: 10px; }
.rh-dome--a { z-index: 1; } .rh-dome--b { z-index: 2; } .rh-dome--c { z-index: 3; }
.rh-promises { padding: 14px 20px; border-top-width: 1px; gap: 8px 28px; font-family: var(--f-ui); }
.rh-kicker { font-family: var(--f-ui); }

/* Case cards: glass cards, screenshot framed like a browser window */
.rh-case { padding: 12px; border-radius: 2px; }
.rh-case-img { margin-bottom: 18px; border-color: rgba(255, 255, 255, 0.14); box-shadow: none; position: relative; }
.rh-case-img::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 20px; z-index: 1; background: rgba(8, 12, 12, 0.72); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.rh-case-img::after { content: ''; position: absolute; left: 10px; top: 7px; width: 6px; height: 6px; z-index: 2; background: #5FA396; box-shadow: 12px 0 0 rgba(255, 255, 255, 0.35), 24px 0 0 rgba(255, 255, 255, 0.35); }
.rh-case-img img { margin-top: 0; }
.rh-case-body { padding: 0 8px 8px; }
.rh-pill { border-radius: 2px; background: rgba(95, 163, 150, 0.12); }

/* Services: one glass panel, mono index numbers */
.rh-band { background: transparent; border-top: 0; }
.rh-services { margin-top: 28px; padding: 0 28px; border-top-color: var(--glass-edge); }
.rh-services li:last-child { border-bottom: 0; }
.rh-services button { grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.4fr) 32px; }
.rh-idx { font-family: var(--f-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.08em; }
.rh-services button:hover { background: rgba(95, 163, 150, 0.08); }

/* Hairline accents */
.rh-head::after { content: ''; flex-basis: 100%; height: 1px; margin-top: 18px; background: linear-gradient(90deg, rgba(95, 163, 150, 0.7), rgba(255, 255, 255, 0.08) 45%, transparent); }
.rh-head { margin-bottom: 26px; }

@media (max-width: 768px) {
    .rh-art::before { top: -14px; right: -10px; bottom: -14px; left: -10px; }
    .rh-case { padding: 10px; }
    .rh-services { padding: 0 16px; }
    .rh-services button { grid-template-columns: 34px 1fr 24px; }
    .rh-idx { grid-column: 1; grid-row: 1; }
    .rh-svc-name { grid-column: 2; }
    .rh-svc-desc { grid-column: 2; grid-row: 2; }
    .rh-svc-arrow { grid-column: 3; grid-row: 1 / span 2; }
}

/* Light theme: frosted white glass over a pale grid */
[data-theme="light"] html, html[data-theme="light"] { background: #EEF1EF; }
[data-theme="light"] body { background-color: #EEF1EF; }
[data-theme="light"] body::before { background: radial-gradient(900px 620px at 8% -6%, rgba(95, 163, 150, 0.22), transparent 62%), radial-gradient(800px 600px at 96% 22%, rgba(120, 160, 200, 0.18), transparent 60%); }
[data-theme="light"] body::after { background-image: linear-gradient(rgba(30, 80, 70, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 80, 70, 0.07) 1px, transparent 1px); }
[data-theme="light"] { --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5)); --glass-border: rgba(20, 50, 45, 0.12); --glass-edge: rgba(255, 255, 255, 0.95); --glass-shadow: 0 20px 40px -26px rgba(20, 50, 45, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
[data-theme="light"] nav { background: rgba(246, 249, 248, 0.6); }
[data-theme="light"] .btn-secondary, [data-theme="light"] .nav-cta, [data-theme="light"] .theme-toggle { background: rgba(255, 255, 255, 0.6); border-color: rgba(20, 50, 45, 0.2); }
[data-theme="light"] .btn-primary { background: #2F7A6D; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
[data-theme="light"] .rh-cap { color: #F5F2EA; }
[data-theme="light"] .rh-art::before { border-color: rgba(20, 50, 45, 0.14); }
[data-theme="light"] .rh-band { background: transparent; }
@media (prefers-reduced-motion: reduce) { .rh-dome { transition: none; } }

/* Light sources behind the glass so the blur has something to refract */
.rh-art::after {
    content: ''; position: absolute; z-index: -1; pointer-events: none; inset: -220px;
    background:
        radial-gradient(ellipse 26% 24% at 30% 32%, rgba(95, 163, 150, 0.50), transparent 100%),
        radial-gradient(ellipse 28% 26% at 72% 72%, rgba(70, 130, 190, 0.40), transparent 100%),
        radial-gradient(ellipse 18% 16% at 62% 24%, rgba(140, 210, 194, 0.26), transparent 100%);
}
.rh-art::before { background-color: rgba(255, 255, 255, 0.02); }
.rh-promises { background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); }
.rh-case, .rh-services { position: relative; }
.rh-case::before, .rh-services::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(140, 210, 194, 0.65), transparent); pointer-events: none; }

/* ═══════════════════════════════════════════════════════════
   主流調整（Glassmorphism 2.0）：玻璃只留在浮層與首屏，
   資料密集區改實色；模糊降低；提供退路、高對比、手機降級
   ═══════════════════════════════════════════════════════════ */
:root { --solid-bg: #0F1514; --solid-bg-2: #131A19; --blur: 14px; }
[data-theme="light"] { --solid-bg: #FFFFFF; --solid-bg-2: #F6F9F8; }

/* 玻璃：導覽列、首屏、精選案例、承諾列（≤4 層同屏）— 模糊降到 14px */
nav, .rh-cap, .rh-promises, .rh-case, .rh-services, .rh-bar, .btn-secondary, .nav-cta, .theme-toggle, .hamburger {
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.rh-art::before { -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }

/* 資料密集區 → 實色卡片，保留亮邊與細節，不做模糊 */
.service-card, .plan-card, .price-item, .work-item, .faq-item, .form-box, .contact-info-box, .article-card,
.about-features, .tech-item, .process-flow-card, .cta-banner, .matrix-table-wrap, .pricing-note, .shot-figure {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(145deg, var(--solid-bg-2), var(--solid-bg));
    border: 1px solid var(--glass-border); border-top-color: var(--glass-edge);
    box-shadow: var(--glass-shadow);
}
.matrix-table-wrap th { background: var(--solid-bg-2); }

/* 文字對比：玻璃底多壓一點深色 */
.rh-promises { background: linear-gradient(145deg, rgba(14, 20, 20, 0.62), rgba(14, 20, 20, 0.40)); }
.rh-case, .rh-services { background: linear-gradient(145deg, rgba(14, 20, 20, 0.55), rgba(14, 20, 20, 0.34)); }
[data-theme="light"] .rh-promises, [data-theme="light"] .rh-case, [data-theme="light"] .rh-services { background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62)); }

/* 瀏覽器不支援 backdrop-filter → 實色退路 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    nav { background: var(--solid-bg); }
    .rh-art::before { background-color: var(--solid-bg-2); }
    .rh-promises, .rh-case, .rh-services, .rh-cap, .rh-bar { background: var(--solid-bg-2); }
    .btn-secondary, .nav-cta, .theme-toggle, .hamburger { background: var(--solid-bg-2); }
}

/* 高對比偏好 → 關閉模糊、實色、邊框加強 */
@media (prefers-contrast: more) {
    nav, .rh-cap, .rh-promises, .rh-case, .rh-services, .rh-bar, .btn-secondary, .nav-cta, .theme-toggle, .hamburger, .rh-art::before {
        -webkit-backdrop-filter: none; backdrop-filter: none;
    }
    nav, .rh-promises, .rh-case, .rh-services, .rh-cap, .rh-bar, .rh-art::before { background: var(--solid-bg); }
    .rh-promises, .rh-case, .rh-services, .rh-dome, .service-card, .plan-card, .price-item, .work-item, .faq-item, .form-box, .contact-info-box, .article-card, .about-features, .tech-item, .process-flow-card, .cta-banner, .matrix-table-wrap {
        border-color: rgba(255, 255, 255, 0.55);
    }
    [data-theme="light"] .rh-promises, [data-theme="light"] .rh-case, [data-theme="light"] .rh-services { border-color: rgba(0, 0, 0, 0.6); }
    body::before, body::after { opacity: 0.35; }
}

/* 手機降級：更小模糊、更少玻璃層、環境光不動 */
@media (max-width: 768px) {
    nav, .btn-secondary, .nav-cta, .theme-toggle, .hamburger, .rh-promises { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
    .rh-art::before { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
    .rh-cap, .rh-bar, .rh-case, .rh-services { -webkit-backdrop-filter: none; backdrop-filter: none; }
    .rh-case, .rh-services { background: linear-gradient(145deg, var(--solid-bg-2), var(--solid-bg)); }
    body::before { animation: none; }
}

/* ── 懸浮：LINE / Threads / Instagram ──
   桌機：三顆方形按鈕直排；手機/平板：原本的 LINE 膠囊按鈕在最下面，Threads、IG 疊在它上方 ── */
.social-float { display: flex; flex-direction: column; gap: 8px; position: fixed; right: 16px; bottom: calc(16px + 52px + 8px + env(safe-area-inset-bottom, 0px)); z-index: 55; }
.social-float .sf-line { display: none; }
@media (min-width: 1025px) {
    .social-float { right: 20px; bottom: 24px; }
    .social-float .sf-line { display: grid; }
    body.on-seo .social-float { display: none; }
}
body.on-seo .social-float { display: none; }
@media (min-width: 0px) {
    .sf { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 2px; text-decoration: none; color: var(--text-bright);
        background: rgba(14, 20, 20, 0.62); border: 1px solid rgba(255, 255, 255, 0.16); border-top-color: rgba(255, 255, 255, 0.3);
        -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
        box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.8); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
    .sf:hover, .sf:focus-visible { transform: translateX(-3px); border-color: rgba(95, 163, 150, 0.6); background: rgba(95, 163, 150, 0.22); }
    .sf:focus-visible { outline: 2px solid var(--text-bright); outline-offset: 3px; }
    .sf-line { background: #06C755; color: #08130c; border-color: rgba(255, 255, 255, 0.3); }
    .sf-line:hover, .sf-line:focus-visible { background: #1FD36A; border-color: rgba(255, 255, 255, 0.55); }
}
@media (hover: hover) and (min-width: 1025px) {
    .sf::after { content: attr(data-tip); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px); opacity: 0; pointer-events: none;
        white-space: nowrap; font: 600 13px/1 var(--f-ui); padding: 8px 10px; border-radius: 2px; color: var(--text-bright);
        background: rgba(10, 14, 14, 0.9); border: 1px solid rgba(255, 255, 255, 0.14); transition: opacity .18s ease, transform .18s ease; }
    .sf:hover::after, .sf:focus-visible::after { opacity: 1; transform: translateY(-50%) translateX(0); }
}
[data-theme="light"] .sf { background: rgba(255, 255, 255, 0.82); color: #14312c; border-color: rgba(20, 50, 45, 0.18); }
[data-theme="light"] .sf-line { background: #06C755; color: #08130c; }
[data-theme="light"] .sf::after { background: rgba(255, 255, 255, 0.95); color: #14312c; border-color: rgba(20, 50, 45, 0.18); }
@media (prefers-reduced-motion: reduce) { .sf, .sf::after { transition: none; } }
@media (prefers-contrast: more) { .sf { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--solid-bg); border-color: rgba(255, 255, 255, 0.6); } }

/* ── multi-page: links styled like the old buttons ── */
a.nav-link, a.nav-cta, a.btn-primary, a.btn-secondary, a.btn-ghost, a.mobile-nav-btn, a.rh-more, a.work-link, .footer-nav a, a.article-card { text-decoration: none; }
a.nav-link, a.nav-cta, a.btn-primary, a.btn-secondary, a.btn-ghost, a.rh-more, a.work-link { display: inline-flex; align-items: center; justify-content: center; }
a.mobile-nav-btn { display: block; text-align: left; }
/* 手機選單：項目變多後，矮螢幕要能捲動、字級隨高度縮小（置中改用 auto margin，避免頂端被切掉） */
#mobile-menu { overflow-y: auto; justify-content: flex-start; padding: 76px 0 32px; gap: clamp(10px, 2.6vh, 26px); }
#mobile-menu a.mobile-nav-btn:first-of-type { margin-top: auto; }
#mobile-menu a.mobile-nav-btn:last-of-type { margin-bottom: auto; }
@media (max-height: 880px) { a.mobile-nav-btn { font-size: clamp(24px, 4.3vh, 42px); } #mobile-menu { padding-top: 64px; } }
/* nav dropdown: SEO 檢測 / GEO 檢測 */
.nav-links .nav-dd { position: relative; }
.nav-links .nav-sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 168px; margin: 0; padding: 14px 0 0; list-style: none; opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; z-index: 60; }
.nav-links .nav-sub::before { content: ''; position: absolute; inset: 14px 0 0 0; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.28); z-index: -1; }
.nav-links .nav-dd:hover .nav-sub, .nav-links .nav-dd:focus-within .nav-sub { opacity: 1; visibility: visible; }
.nav-links .nav-sub li { padding: 0 6px; }
.nav-links .nav-sub li:first-child { padding-top: 6px; }
.nav-links .nav-sub li:last-child { padding-bottom: 6px; }
.nav-links .nav-sub a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 12px; border-radius: 7px; color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-links .nav-sub a small { font-size: 11px; font-weight: 400; color: var(--text-dim); }
.nav-links .nav-sub a::after { display: none; }
.nav-links .nav-sub a:hover, .nav-links .nav-sub a:focus-visible { background: var(--accent-dim); color: var(--accent); }
.nav-links .nav-sub a[aria-current="page"] { color: var(--accent); }
a.article-card { display: block; color: inherit; }
.footer-nav a { color: inherit; font: inherit; }
.rh-services li > a { display: grid; width: 100%; text-decoration: none; color: inherit; }
.page { min-height: 60vh; }
#page-geo { padding-top: 0; }

/* ── stage B: breadcrumb, service/case/region pages ── */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; font-family: var(--f-ui); font-size: 13px; color: var(--text-dim); letter-spacing: 0.04em; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text-bright); }
.breadcrumb [aria-hidden] { opacity: .5; }
.seo-tool-header .breadcrumb { margin-bottom: 20px; }
h1.section-title { margin: 0; }
.faq-item.open .faq-answer { max-height: 640px; }
.footer-privacy { margin-left: 16px; color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; white-space: nowrap; }
.footer-privacy:hover { color: var(--accent); opacity: 1; }
.sp-lede { max-width: 720px; margin-top: 28px; font-size: 17px; line-height: 1.95; color: var(--text); }
.sp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.sp-card, .sp-price, .sp-related, .sp-svc-list a { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
.sp-card { padding: 28px; }
.sp-h2 { font-family: var(--f-ui); font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; color: var(--text-bright); margin: 64px 0 20px; letter-spacing: 0.02em; }
.sp-h2--sm { font-size: 20px; margin: 0 0 14px; }
.article-body > .sp-h2:first-child { margin-top: 0; }
.article-body h2 { font-family: var(--f-ui); font-weight: 800; font-size: 30px; color: var(--text-bright); margin: 52px 0 20px; letter-spacing: 0.03em; line-height: 1.3; }
.article-body a, .sp-note a, .sp-lede a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sp-h3 { font-family: var(--f-ui); font-weight: 700; font-size: 16px; color: var(--accent); letter-spacing: 0.08em; margin: 0 0 16px; }
.sp-card .service-list { margin: 0; }
.sp-deliver { font-size: 14px; line-height: 1.8; color: var(--text); margin: 0 0 8px; }
.sp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: none; }
.sp-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
.sp-steps strong { color: var(--text-bright); font-weight: 700; }
.sp-steps p { margin: 4px 0 0; font-size: 14px; line-height: 1.8; color: var(--text-dim); }
.sp-step-n { font-family: var(--f-mono, var(--f-ui)); font-weight: 700; color: var(--accent); font-size: 14px; min-width: 28px; padding-top: 2px; }
.sp-price { padding: 8px 24px 20px; }
.sp-price table { width: 100%; border-collapse: collapse; }
.sp-price td { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text); line-height: 1.7; vertical-align: top; }
.sp-price td.sp-price-v { text-align: right; white-space: nowrap; font-family: var(--f-ui); font-weight: 700; color: var(--text-bright); padding-left: 20px; }
.sp-note { margin: 14px 0 0; font-size: 13px; color: var(--text-dim); line-height: 1.8; }
.sp-related { padding: 24px 28px; margin-top: 56px; }
.sp-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.sp-related a { color: var(--accent); text-decoration: none; font-size: 15px; }
.sp-related a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sp-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; margin: 40px 0 0; max-width: 960px; }
.sp-facts div { padding: 14px 0; border-top: 1px solid var(--border); }
.sp-facts dt { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 6px; }
.sp-facts dd { margin: 0; font-size: 15px; color: var(--text); line-height: 1.7; }
.sp-svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sp-svc-list a { display: block; padding: 22px 24px; text-decoration: none; color: inherit; }
.sp-svc-list a:hover { border-color: var(--accent); }
.sp-svc-list strong { display: block; color: var(--text-bright); font-size: 17px; margin-bottom: 6px; }
.sp-svc-list span { font-size: 14px; color: var(--text-dim); line-height: 1.8; }
.service-name a { color: inherit; text-decoration: none; }
.service-name a:hover { color: var(--accent); }
a.service-more { display: inline-block; margin-top: 18px; color: var(--accent); font-family: var(--f-ui); font-weight: 700; font-size: 14px; text-decoration: none; }
a.service-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-services { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; order: 3; padding-top: 4px; }
.footer-services a { color: var(--text-dim); font-size: 13px; text-decoration: none; }
.footer-services a:hover { color: var(--accent); }
.rh-lede a { color: var(--accent); }
.work-badge { display: inline-block; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; padding: 2px 10px; border: 1px solid var(--border-active, var(--border)); border-radius: 2px; color: var(--text-dim); background: var(--surface-2); margin-bottom: 10px; }
.work-badge--real { color: var(--accent); border-color: var(--accent); margin-bottom: 0; }
.works-note { max-width: 760px; margin: 24px 0 0; font-size: 14px; line-height: 2; color: var(--text-dim); }
.works-note .work-badge { margin: 0 4px; }
@media (max-width: 900px) { .sp-grid { grid-template-columns: 1fr; } .sp-svc-list { grid-template-columns: 1fr; } .sp-facts { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .sp-price td { display: block; padding: 10px 0 0; border: 0; } .sp-price td.sp-price-v { text-align: left; padding: 2px 0 14px; border-bottom: 1px solid var(--border); } }
