
        :root {
            --primary: #002E6E;
            --accent: #0066FF;
            --text: #1E293B;
            --subtext: #64748B;
            --border: #E2E8F0;
            --bg: #FAFBFF;
            --pill-gray: #94A3B8;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
        }

        body {
            font-family: 'Noto Sans KR', sans-serif;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.5;
            background-image: 
                linear-gradient(var(--border) 1px, transparent 1px),
                linear-gradient(90deg, var(--border) 1px, transparent 1px);
            background-size: 40px 40px;
        }

        

        .section-label {
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--accent);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .section-label::before {
            content: '';
            width: 24px;
            height: 1px;
            background: var(--accent);
        }

        
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            height: 80px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            padding: 0 5%;
            z-index: 1000;
            justify-content: space-between;
        }

        .logo {
            font-weight: 900;
            font-size: 22px;
            color: var(--primary);
            letter-spacing: -0.05em;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-mark {
            width: 32px;
            height: 32px;
            background: var(--primary);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
        }

        .nav-links {
            display: flex;
            gap: 32px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text);
            font-size: 14px;
            font-weight: 500;
            transition: color 0.2s;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        
        .hero {
            padding: 160px 5% 100px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .hero-hub {
            position: relative;
            width: 320px;
            height: 320px;
            margin-bottom: 40px;
        }

        .hub-circle {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            border: 1px solid var(--border);
        }

        .hub-circle-1 { width: 100%; height: 100%; border-style: dashed; animation: rotate 60s linear infinite; }
        .hub-circle-2 { width: 80%; height: 80%; background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
        .hub-circle-3 { width: 70%; height: 70%; border: 1px solid var(--accent); opacity: 0.3; }

        @keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

        .hero-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
        }

        .hero-content h2 {
            font-size: 28px;
            color: var(--primary);
            line-height: 1.2;
            font-weight: 800;
        }

        .hero-headline {
            font-size: 56px;
            font-weight: 900;
            color: var(--primary);
            letter-spacing: -0.03em;
            margin-bottom: 24px;
        }

        .hero-btns {
            display: flex;
            gap: 16px;
            justify-content: center;
        }

        .btn {
            padding: 16px 32px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }

        .btn-primary { background: var(--primary); color: white; border: none; }
        .btn-outline { border: 1px solid var(--primary); color: var(--primary); }
        .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

        
        .business-matrix {
            padding: 80px 5%;
            background: white;
            border-top: 1px solid var(--border);
        }

        .matrix-grid {
            display: flex;
            justify-content: center;
            margin-top: 60px;
        }

        .pill-container {
            display: flex;
            align-items: center;
        }

        .business-pill {
            width: 240px;
            height: 100px;
            border-radius: 50px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            position: relative;
            margin-left: -30px; 
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            cursor: pointer;
        }

        .business-pill:first-child { margin-left: 0; }
        .business-pill:hover { transform: translateY(-10px); z-index: 10; }

        .pill-1 { background: var(--accent); }
        .pill-2 { background: var(--pill-gray); }
        .pill-3 { background: var(--accent); }
        .pill-4 { background: var(--pill-gray); }
        .pill-5 { background: var(--accent); }

        .pill-title { font-weight: 700; font-size: 16px; }
        .pill-meta { font-size: 10px; opacity: 0.8; margin-bottom: 4px; font-family: 'Inter', sans-serif; }

        .pill-details {
            margin-top: 40px;
            text-align: center;
            font-size: 14px;
            color: var(--subtext);
            max-width: 200px;
        }

        
        .summary {
            padding: 100px 5%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .summary-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .stat-card {
            background: white;
            padding: 32px;
            border: 1px solid var(--border);
            border-radius: 2px;
        }

        .stat-value {
            font-size: 48px;
            font-weight: 900;
            color: var(--accent);
            line-height: 1;
            margin-bottom: 8px;
        }

        .stat-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
        }

        
        .portfolio {
            padding: 100px 5%;
        }

        .portfolio-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 24px;
        }

        .portfolio-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 40px;
        }

        .portfolio-more {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: 0 20px;
            border: 1px solid var(--primary);
            background: var(--primary);
            color: #fff;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 800;
            text-decoration: none;
        }

        .portfolio-more:hover {
            background: var(--accent);
            border-color: var(--accent);
        }

        .tab {
            padding: 8px 16px;
            border: 1px solid var(--border);
            border-radius: 40px;
            font-size: 13px;
            background: white;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--text);
            font-family: inherit;
        }

        .tab.active { background: var(--primary); color: white; border-color: var(--primary); }

        .portfolio-empty {
            display: none;
            grid-column: 1 / -1;
            padding: 56px 24px;
            border: 1px solid var(--border);
            background: white;
            color: var(--subtext);
            text-align: center;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .project-card {
            display: block;
            background: white;
            border: 1px solid var(--border);
            position: relative;
            overflow: hidden;
            color: inherit;
            text-decoration: none;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .project-card[hidden] { display: none; }

        .project-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 40px rgba(0, 46, 110, 0.12);
        }

        .project-image {
            width: 100%;
            height: 280px;
            object-fit: cover;
            filter: grayscale(100%);
            transition: filter 0.5s;
        }

        .project-card:hover .project-image {
            filter: grayscale(0%);
        }

        .project-info {
            padding: 24px;
        }

        .project-meta {
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            color: var(--accent);
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            gap: 12px;
        }

        .project-meta span {
            min-width: 0;
            word-break: keep-all;
        }

        .project-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
        }

        
        .certs {
            padding: 80px 5%;
            background: #f8fafc;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .certs-list {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
        }

        .cert-item {
            flex: 1;
            padding: 32px;
            border-right: 1px solid var(--border);
            text-align: center;
        }

        .cert-item:last-child { border-right: none; }

        .cert-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 24px;
            border: 1px solid var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
        }

        .cert-name {
            font-weight: 700;
            font-size: 15px;
            color: var(--primary);
        }

        
        .inquiry {
            padding: 100px 5%;
            background: var(--primary);
            color: white;
        }

        .inquiry-container {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(500px, 0.9fr) minmax(0, 1.1fr);
            gap: 80px;
            align-items: start;
        }

        .inquiry-copy {
            padding-top: 6px;
        }

        .inquiry-title {
            margin: 0 0 24px;
            max-width: 560px;
            font-size: 46px;
            font-weight: 800;
            line-height: 1.16;
            letter-spacing: -0.02em;
            word-break: keep-all;
        }

        .inquiry-title .nowrap {
            white-space: nowrap;
        }

        .inquiry-desc {
            max-width: 520px;
            margin: 0 0 40px;
            opacity: 0.72;
            font-size: 18px;
            line-height: 1.65;
            word-break: keep-all;
        }

        .inquiry-phone {
            font-size: 24px;
            font-weight: 700;
            color: var(--accent);
        }

        .inquiry-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .input-group.full { grid-column: span 2; }

        input, textarea, select {
            padding: 14px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 4px;
            color: white;
            font-family: inherit;
        }

        input:focus { border-color: var(--accent); outline: none; }

        .btn-submit {
            grid-column: span 2;
            background: var(--accent);
            color: white;
            border: none;
            padding: 18px;
            font-weight: 700;
            cursor: pointer;
            margin-top: 10px;
        }

        footer {
            padding: 40px 5%;
            background: #001a3d;
            color: rgba(255,255,255,0.5);
            font-size: 12px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            line-height: 1.7;
        }

        @media (max-width: 1024px) {
            .hero-headline { font-size: 38px; }
            .matrix-grid { flex-wrap: wrap; gap: 40px; }
            .business-pill { margin-left: 0; }
            .summary, .portfolio-grid, .inquiry-container { grid-template-columns: 1fr; }
        }

        @media (max-width: 768px) {
            nav {
                height: 64px;
                padding: 0 18px;
            }

            .logo {
                font-size: 18px;
            }

            .nav-links,
            nav .btn-group {
                display: none;
            }

            .hero {
                min-height: 760px;
                padding: 96px 18px 64px;
            }

            .hero-hub {
                width: min(78vw, 280px);
                height: min(78vw, 280px);
            }

            .hero-content h2 {
                font-size: 28px;
            }

            .hero-headline {
                width: 100%;
                margin-top: 34px;
                font-size: clamp(30px, 9vw, 42px);
                line-height: 1.16;
            }

            .hero-btns,
            footer {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }

            .btn {
                justify-content: center;
                width: 100%;
                padding: 15px 18px;
            }

            .business-matrix,
            .summary,
            .portfolio,
            .certs,
            .inquiry {
                padding: 64px 18px;
            }

            .matrix-grid,
            .summary-stats,
            .portfolio-tabs,
            .certs-list {
                gap: 14px;
            }

            .business-pill {
                width: min(100%, 280px);
                height: 82px;
            }

            .summary-stats,
            .portfolio-grid,
            .inquiry-form {
                grid-template-columns: 1fr;
            }

            .inquiry-copy {
                padding-top: 0;
            }

            .inquiry-title {
                max-width: none;
                font-size: clamp(32px, 9vw, 42px);
            }

            .inquiry-title .nowrap {
                white-space: normal;
            }

            .inquiry-desc {
                max-width: none;
                font-size: 16px;
            }

            .input-group.full,
            .btn-submit {
                grid-column: auto;
            }

            footer {
                text-align: left;
            }
        }

        @media (max-width: 480px) {
            .hero {
                min-height: 680px;
            }

            .portfolio-tabs {
                display: grid;
                grid-template-columns: 1fr 1fr;
            }
        }
    
        @media (max-width: 768px) {
            nav { padding: 0 20px; height: 72px; }
            .nav-links { display: none; }
            nav .btn-group a { padding: 9px 13px !important; font-size: 11px !important; }
            .logo { font-size: 15px; white-space: nowrap; }
            footer { gap: 12px; flex-direction: column; }
        }
    
/* Touch devices do not have a useful hover state. */
@media (max-width: 768px) {
    .portfolio .project-image,
    .portfolio-grid .project-card .project-image {
        filter: grayscale(0%) !important;
    }
}

/* Force the landing header to remain pinned on mobile browsers. */
@media (max-width: 768px) {
    html body nav.site-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        width: 100% !important;
        height: 72px !important;
        margin: 0 !important;
        z-index: 2147483000 !important;
        background: #fff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: none !important;
        -webkit-transform: none !important;
    }

    html body.admin-bar nav.site-nav {
        top: 46px !important;
    }

    html body nav.site-nav .nav-links {
        position: absolute !important;
        top: 72px !important;
    }
}
