/* Hinge — brand typeface */

/* service-common.css — F&M503 Service Subpages */
/* Auto-generated 2026-06-25. Edit here, affects all 4 service pages. */

                        
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: var(--font-sans);
            font-weight: 400; background: var(--pure); color: var(--ink);
            -webkit-font-smoothing: antialiased;
        }
        .snap-wrapper { height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
        .snap-wrapper::-webkit-scrollbar { display: none; }
        .snap-section { height: 100vh; scroll-snap-align: start; scroll-snap-stop: always; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
        .snap-section > * { position: relative; z-index: 1; }
        .side-dots { position: fixed; right: 28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 200; }
        .side-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; transition: all 0.25s ease; }
        .side-dot.active { background: rgba(255,255,255,0.9); transform: scale(1.4); }
        .side-dot.dark { background: rgba(10,10,10,0.2); }
        .side-dot.dark.active { background: rgba(10,10,10,0.65); }
        nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 64px; height: 68px; background: rgba(245,245,247,0.96); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
 
        /* ── Subpage Nav ── */
        .subpage-nav {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            display: flex; align-items: center; justify-content: space-between;
            height: 64px; padding: 0 48px;
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s ease, background 0.3s ease;
        }
        .subpage-nav.scrolled {
            border-bottom-color: var(--border);
            background: rgba(255,255,255,0.97);
        }
        .subpage-nav-brand {
            font-family: 'Hinge', var(--font-sans);
            font-size: 20px; font-weight: 400;
            letter-spacing: 2px; color: var(--ink);
            text-decoration: none;
        }
        .subpage-nav-links {
            display: flex; align-items: center; gap: 32px; list-style: none;
        }
        .subpage-nav-links a {
            font-size: 11px; font-weight: 400; letter-spacing: 1.5px;
            color: var(--ink-soft); text-decoration: none;
            text-transform: uppercase; position: relative;
            padding-bottom: 4px; transition: color 0.2s ease;
        }
        .subpage-nav-links a::after {
            content: ''; position: absolute; bottom: 0; left: 0;
            width: 0; height: 1px; background: var(--accent);
            transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .subpage-nav-links a:hover,
        .subpage-nav-links a.active {
            color: var(--ink);
        }
        .subpage-nav-links a:hover::after,
        .subpage-nav-links a.active::after {
            width: 100%;
        }
        .subpage-nav-cta {
            font-size: 10px !important; font-weight: 500 !important;
            letter-spacing: 2px !important; padding: 9px 20px !important;
            border: 1px solid var(--ink); color: var(--ink) !important;
            transition: all 0.25s ease !important; text-decoration: none;
            border-radius: 2px;
        }
        .subpage-nav-cta:hover {
            background: var(--ink) !important;
            color: var(--pure) !important;
        }
        .subpage-nav-cta::after { display: none !important; }
        .subpage-nav-toggle {
            display: none; background: none; border: none;
            cursor: pointer; width: 20px; height: 14px;
            flex-direction: column; justify-content: space-between;
            z-index: 201; padding: 0;
        }
        .subpage-nav-toggle span {
            display: block; width: 100%; height: 1px;
            background: var(--ink); transition: all 0.3s ease;
        }        .hero { position: relative; overflow: hidden; background: var(--ink); }
        .hero-bg { position: absolute; inset: 0; background: #0a0a0a; overflow: hidden; }
        .hero-bg::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 80px 80px; }
        .hero-bg::after { content: ''; position: absolute; width: 600px; height: 600px; top: -200px; right: -100px; background: radial-gradient(circle, rgba(154,159,159,0.10) 0%, transparent 70%); border-radius: 50%; }
        .hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%); z-index: 1; }
        .hero-content { position: relative; padding: 140px 64px 80px; z-index: 2; }
        .hero-label { font-size: 10px; letter-spacing: 5px; color: var(--ink-fine); text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
        .hero-label::before { content: ''; width: 24px; height: 1px; background: var(--ink-fine); }
        .hero-title { font-family: var(--font-serif); font-size: clamp(32px, 5vw, 52px); font-weight: 300; color: #fff; letter-spacing: 2px; line-height: 1.15; }
        .hero-title em { font-style: italic; color: var(--ink-fine); }
        .hero-desc { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 14px; line-height: 1.8; max-width: 600px; }
        .service-block { padding: 96px 64px; flex: 1; }
        .service-header { margin-bottom: 40px; }
        .service-badge { display: inline-block; font-size: 10px; letter-spacing: 3px; padding: 6px 16px; border: 1px solid var(--border); color: var(--ink-soft); text-transform: uppercase; margin-bottom: 16px; }
        .service-badge.highlight { border-color: var(--ink); color: var(--ink); }
        .service-title { font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 42px); font-weight: 300; color: var(--ink); margin-bottom: 8px; }
        .service-price-tag { font-size: 13px; color: var(--ink-fine); letter-spacing: 1px; margin-bottom: 12px; }
        .service-fit { display: inline-block; font-size: 10px; letter-spacing: 2px; color: var(--ink-fine); border: 1px solid var(--border); padding: 4px 12px; border-radius: 4px; margin-bottom: 20px; }
        .service-pain { font-size: 14px; color: var(--ink-soft); line-height: 2; max-width: 1100px; margin-bottom: 32px; }
        .pain-tags { display: flex; flex-wrap: wrap; gap: 10px; }
        .pain-tag { font-size: 11px; padding: 8px 18px; background: var(--white); color: var(--ink-soft); border-radius: 4px; letter-spacing: 0.5px; }
        .deliver-section { background: var(--pure); padding: 80px 64px; flex: 1; }
        .deliver-section h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 24px; }
        .deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); margin-bottom: 40px; }
        .deliver-card { background: var(--pure); padding: 32px 28px; transition: background 0.2s; }
        .deliver-card:hover { background: #f8f8f8; }
        .deliver-num { font-family: var(--font-serif); font-size: 18px; color: var(--ink-fine); margin-bottom: 10px; font-style: italic; }
        .deliver-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.5px; }
        .deliver-desc { font-size: 12px; color: var(--ink-soft); line-height: 1.9; }
        .deliver-card.has-demo { cursor: pointer; position: relative; overflow: hidden; }
        .demo-toggle { font-size: 10px; letter-spacing: 1px; color: var(--ink-fine); margin-top: 8px; display: inline-block; user-select: none; transition: color 0.15s; }
        .deliver-card.has-demo:hover .demo-toggle { color: var(--ink); }
        .card-front { transition: opacity 0.3s ease; }
        .card-back { position: absolute; inset: 0; padding: 32px 28px; background: var(--white); opacity: 0; pointer-events: none; transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; justify-content: center; overflow-y: auto; transform: translateX(16px); }
        .deliver-card.expanded .card-back { opacity: 1; pointer-events: auto; transform: translateX(0); }
        .deliver-card.expanded .card-front { opacity: 0; pointer-events: none; }
        .card-back-close { position: absolute; top: 10px; right: 14px; font-size: 13px; color: var(--ink-fine); cursor: pointer; line-height: 1; }
        .card-back-close:hover { color: var(--ink); }
        .demo-info-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
        .demo-info-desc { font-size: 11px; color: var(--ink-soft); line-height: 1.8; }
        .demo-info-meta { font-size: 10px; color: var(--ink-fine); margin-top: 10px; letter-spacing: 0.5px; }
        .card-emoji { font-size: 36px; text-align: center; margin-bottom: 8px; }
        .how-section { background: var(--pure); padding: 80px 64px; flex: 1; }
        .how-grid { display: flex; flex-direction: column; gap: 0; max-width: 1100px; margin-bottom: 40px; border-top: 1px solid var(--border); }
        .how-row { display: flex; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--border-light); gap: 32px; }
        .how-label { font-size: 11px; letter-spacing: 2px; color: var(--ink-fine); text-transform: uppercase; min-width: 120px; flex-shrink: 0; }
        .how-value { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
        .how-value em { font-style: normal; color: var(--ink-fine); font-size: 12px; }

        .block-cta { display: inline-block; padding: 12px 28px; border: 1px solid var(--ink); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: all 0.2s; }
        .block-cta:hover { background: var(--ink); color: var(--pure); }
        .cta-section { background: var(--pure); padding: 80px 64px; flex: 1; }
        .cta-title { font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 40px); font-weight: 300; color: var(--ink); margin-bottom: 12px; }
        .cta-desc { font-size: 13px; color: var(--ink-soft); margin-bottom: 32px; }
        .cta-btn { display: inline-block; padding: 16px 40px; background: var(--ink); color: var(--pure); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; transition: all 0.2s; }
        .cta-btn:hover { background: var(--ink); }
        footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 64px 32px; }
        .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
        .footer-brand { font-family: var(--font-serif); font-size: 14px; letter-spacing: 5px; color: var(--pure); }
        .footer-copy { font-size: 11px; color: rgba(245,245,247,0.25); }
        .footer-wx { font-size: 11px; color: rgba(245,245,247,0.3); }
        .footer-wx strong { color: var(--ink-fine); font-weight: 400; }
        /* ── Subpage Nav Mobile ── */
        @media (max-width: 768px) {
            .subpage-nav { padding: 0 24px; height: 56px; }
            .subpage-nav-brand { font-size: 17px; letter-spacing: 1.5px; }
            .subpage-nav-toggle { display: flex; }
            .subpage-nav-links {
                display: none; flex-direction: column; gap: 0;
                position: fixed; top: 56px; left: 0; right: 0;
                background: rgba(255,255,255,0.98);
                backdrop-filter: blur(16px);
                -webkit-backdrop-filter: blur(16px);
                padding: 12px 24px 20px;
                border-bottom: 1px solid var(--border);
                z-index: 199;
            }
            .subpage-nav-links.open { display: flex; }
            .subpage-nav-links a {
                padding: 14px 0; font-size: 13px; letter-spacing: 2px;
                border-bottom: 1px solid var(--border-light);
            }
            .subpage-nav-links a::after { display: none; }
        }

        @media (max-width: 768px) {
            nav { padding: 0 24px; }
            .nav-links { display: none; }
            .hero-content { padding: 120px 28px 64px; }
            .service-block, .deliver-section, .how-section, .cta-section { padding: 48px 24px; }
            .deliver-grid { grid-template-columns: 1fr; }
            .how-row { flex-direction: column; gap: 8px; }
            .how-label { min-width: auto; }
            footer { padding: 32px 24px 24px; }
            .side-dots { display: none; }
        }
            /* ── Footer (unified) ── */
        .footer-links {
            max-width: 400px; margin: 0 auto 20px auto;
            display: flex; flex-direction: column; align-items: center;
            gap: 4px;
        }
        .footer-links a {
            font-size: 12px; color: rgba(255,255,255,0.5);
            text-decoration: none; padding: 2px 0;
            transition: color 0.2s;
        }
        .footer-links a:hover { color: rgba(255,255,255,0.85); }
        .footer-links .footer-text {
            font-size: 12px; color: rgba(255,255,255,0.4);
            padding: 2px 0;
        }
        .footer-divider {
            width: 20px; height: 1px;
            background: rgba(255,255,255,0.1);
            margin: 8px 0;
            align-self: center;
        }
        .footer-grid, .footer-col-title { display: none; }